]> git.arvados.org - arvados.git/log
arvados.git
6 months ago21926: Generalize GPU support
Peter Amstutz [Tue, 28 Jan 2025 22:32:55 +0000 (17:32 -0500)]
21926: Generalize GPU support

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

6 months ago21926: Pull through more complete ROCm support
Peter Amstutz [Tue, 24 Dec 2024 03:29:04 +0000 (22:29 -0500)]
21926: Pull through more complete ROCm support

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

6 months ago21926: GPU support hack for testing.
Peter Amstutz [Tue, 24 Dec 2024 02:33:56 +0000 (21:33 -0500)]
21926: GPU support hack for testing.

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

6 months ago21926: Log information about GPUs
Peter Amstutz [Tue, 24 Dec 2024 02:18:50 +0000 (21:18 -0500)]
21926: Log information about GPUs

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

6 months ago21926: Support allocating GPUs separately or together
Peter Amstutz [Tue, 24 Dec 2024 01:54:37 +0000 (20:54 -0500)]
21926: Support allocating GPUs separately or together

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

6 months ago21926: Provide CgroupPermissions
Peter Amstutz [Wed, 18 Dec 2024 18:06:27 +0000 (13:06 -0500)]
21926: Provide CgroupPermissions

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

6 months ago21926: Initial work on ROCm support
Peter Amstutz [Wed, 18 Dec 2024 15:15:26 +0000 (10:15 -0500)]
21926: Initial work on ROCm support

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

6 months ago22314: Correctly use CrunchRunCommand and CrunchRunArgumentsList
Peter Amstutz [Tue, 17 Dec 2024 16:13:14 +0000 (11:13 -0500)]
22314: Correctly use CrunchRunCommand and CrunchRunArgumentsList

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

6 months ago22314: Fix and polish logging
Peter Amstutz [Sun, 10 Nov 2024 00:44:51 +0000 (19:44 -0500)]
22314: Fix and polish logging

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

6 months ago22314: Add basic resource accounting to crunch-dispatch-local
Peter Amstutz [Sun, 10 Nov 2024 00:34:44 +0000 (19:34 -0500)]
22314: Add basic resource accounting to crunch-dispatch-local

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

6 months agoMerge branch '21547-retryable-db-error' refs #21547
Peter Amstutz [Tue, 28 Jan 2025 14:40:58 +0000 (09:40 -0500)]
Merge branch '21547-retryable-db-error' refs #21547

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

6 months ago21547: Fix reference to db connection 21547-retryable-db-error
Peter Amstutz [Mon, 27 Jan 2025 16:56:33 +0000 (11:56 -0500)]
21547: Fix reference to db connection

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

6 months ago21547: Fix ruby syntax and add tests.
Tom Clegg [Mon, 27 Jan 2025 15:50:07 +0000 (10:50 -0500)]
21547: Fix ruby syntax and add tests.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

6 months agoMerge branch '22467-extra-fulltext-index'
Tom Clegg [Mon, 27 Jan 2025 15:25:21 +0000 (10:25 -0500)]
Merge branch '22467-extra-fulltext-index'

fixes #22467

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

6 months ago21547: Don't retry row_lock_for_priority_update deadlocks
Peter Amstutz [Sun, 26 Jan 2025 03:25:23 +0000 (22:25 -0500)]
21547: Don't retry row_lock_for_priority_update deadlocks

It seems like retrying a deadlock is counter productive -- it ties up
a request slot and holds a transaction open.  I believe returning a
500 error and having the client retry will be more robust.

This also adjusts the locking query to select and order by the primary
key (id).  This is speculative and based on a stack overflow comment
suggesting that the doing lock ordering on a field other than the
primary key causes rows to be first acquired with share locks (out of
order) and then subsequently converted to exclusive locks (in order),
and this can be avoided by using the primary key.

Since I haven't been able to determine any other reason the ordered
locking, which is specifically implemented to prevent deadlocks but
deadlocks anyway, it's worth a shot.

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

6 months ago21547: Return certain database errors as 500 for retry
Peter Amstutz [Sun, 26 Jan 2025 03:17:39 +0000 (22:17 -0500)]
21547: Return certain database errors as 500 for retry

ActiveRecord errors which are related to locking or communicating with
the database should be returned as code 500 so the client knows to
retry.

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

6 months agoMerge branch '22414-max-rails-requests'
Tom Clegg [Thu, 16 Jan 2025 16:10:43 +0000 (11:10 -0500)]
Merge branch '22414-max-rails-requests'

fixes #22414

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

6 months agoMerge branch '22435-no-migration-timeouts'
Tom Clegg [Thu, 16 Jan 2025 16:08:07 +0000 (11:08 -0500)]
Merge branch '22435-no-migration-timeouts'

fixes #22435

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

6 months ago22467: Remove unneeded search index. 22467-extra-fulltext-index
Tom Clegg [Thu, 16 Jan 2025 16:04:16 +0000 (11:04 -0500)]
22467: Remove unneeded search index.

Removed in 7f4d69cf43a7a743a491105665b3b878a3cfd11c and re-added by
20240402162733_add_output_glob_index_to_containers.rb in
dcdf385b2852acf95f41e2340d07cd68cb34e371.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

6 months ago22435: Allow database connection options to be missing. 22435-no-migration-timeouts
Tom Clegg [Wed, 15 Jan 2025 20:18:13 +0000 (15:18 -0500)]
22435: Allow database connection options to be missing.

These were silently accepted before and accidentally became mandatory
in 1b9c6f10d4f9786ac574dfaa3f7e43295c0e90f1.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

6 months ago22435: Refine shell style in new migrate commands
Brett Smith [Wed, 15 Jan 2025 15:45:20 +0000 (10:45 -0500)]
22435: Refine shell style in new migrate commands

* Prefer `env -C` over `cd` to avoid changing global state.
* Declare local variables where possible.
* Remove needless eval.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

6 months agoMerge branch '22434-spot-check-warning'
Tom Clegg [Tue, 14 Jan 2025 16:25:55 +0000 (11:25 -0500)]
Merge branch '22434-spot-check-warning'

fixes #22434

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

6 months ago22434: Reword spot check error message: "inconclusive". 22434-spot-check-warning
Tom Clegg [Mon, 13 Jan 2025 21:42:08 +0000 (16:42 -0500)]
22434: Reword spot check error message: "inconclusive".

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

6 months ago22435: URL-encode All The Strings in database connection string.
Tom Clegg [Mon, 13 Jan 2025 19:17:28 +0000 (14:17 -0500)]
22435: URL-encode All The Strings in database connection string.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

6 months ago22435: Add "migrate" command to run-tests.sh
Tom Clegg [Mon, 13 Jan 2025 19:17:12 +0000 (14:17 -0500)]
22435: Add "migrate" command to run-tests.sh

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

6 months ago22435: Disable statement timeout during db migrations.
Tom Clegg [Mon, 13 Jan 2025 19:17:08 +0000 (14:17 -0500)]
22435: Disable statement timeout during db migrations.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

6 months agoMerge branch '22411-keepstore-index-timeout'
Tom Clegg [Mon, 13 Jan 2025 16:46:11 +0000 (11:46 -0500)]
Merge branch '22411-keepstore-index-timeout'

fixes #22411

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

6 months ago22434: Fix spot check error message that lies about retrying.
Tom Clegg [Fri, 10 Jan 2025 20:11:19 +0000 (15:11 -0500)]
22434: Fix spot check error message that lies about retrying.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

6 months agoMerge branch '22431-tunnel-log-spam'
Tom Clegg [Fri, 10 Jan 2025 19:38:26 +0000 (14:38 -0500)]
Merge branch '22431-tunnel-log-spam'

fixes #22431

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

6 months ago22431: Add comments about runTunnel return value. 22431-tunnel-log-spam
Tom Clegg [Fri, 10 Jan 2025 18:42:36 +0000 (13:42 -0500)]
22431: Add comments about runTunnel return value.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

6 months agoMerge branch '22428-run-tests-targets'
Brett Smith [Fri, 10 Jan 2025 14:41:58 +0000 (09:41 -0500)]
Merge branch '22428-run-tests-targets'

Refs #22428.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months ago22431: Remove spammy/debug logs.
Tom Clegg [Thu, 9 Jan 2025 21:53:05 +0000 (16:53 -0500)]
22431: Remove spammy/debug logs.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

7 months ago22434: Reword spot check error messages to be less spooky.
Tom Clegg [Thu, 9 Jan 2025 20:41:37 +0000 (15:41 -0500)]
22434: Reword spot check error messages to be less spooky.

Also, update logic to avoid emitting confusing logs/runtime_status if
we get an interruption notice followed by an error.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

7 months ago22428: Guard target list against undefined/incorrect WORKSPACE 22428-run-tests-targets
Brett Smith [Thu, 9 Jan 2025 16:52:28 +0000 (11:52 -0500)]
22428: Guard target list against undefined/incorrect WORKSPACE

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months ago22428: Better anchor excluded test function regexp
Brett Smith [Thu, 9 Jan 2025 16:51:12 +0000 (11:51 -0500)]
22428: Better anchor excluded test function regexp

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months ago22414: Increase default MaxConcurrentRailsRequests. 22414-max-rails-requests
Tom Clegg [Thu, 9 Jan 2025 16:21:28 +0000 (11:21 -0500)]
22414: Increase default MaxConcurrentRailsRequests.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

7 months ago22411: Fix hardcoded port number in test. 22411-keepstore-index-timeout
Tom Clegg [Tue, 7 Jan 2025 19:56:17 +0000 (14:56 -0500)]
22411: Fix hardcoded port number in test.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

7 months ago22411: Update Hijack usage in websocket server.
Tom Clegg [Mon, 6 Jan 2025 20:52:28 +0000 (15:52 -0500)]
22411: Update Hijack usage in websocket server.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

7 months ago22411: Do not apply RequestTimeout to keepstore index handler.
Tom Clegg [Mon, 6 Jan 2025 16:08:55 +0000 (11:08 -0500)]
22411: Do not apply RequestTimeout to keepstore index handler.

This updates our code to account for the ResponseController pattern
(see https://tip.golang.org/doc/go1.20#http_responsecontroller):

Update prometheus client library to a newer version whose middleware
supports Unwrap.

Use http.NewResponseController(w).Hijack() instead of probing for the
Hijack() interface.

Use a explicit function call to disable the request timeout when
needed, instead of magically detecting whether the connection has been
hijacked.

(Our old way of detecting hijacking doesn't work if it's done via
ResponseController.  Since we're adding an explicit "disable timeout"
mechanism anyway, it's much simpler to just write "hijack and cancel
timeout" when needed, rather than implement a new way to detect
hijacking.)

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

7 months ago22411: Test that keepstore index is exempt from RequestTimeout.
Tom Clegg [Thu, 2 Jan 2025 22:41:31 +0000 (17:41 -0500)]
22411: Test that keepstore index is exempt from RequestTimeout.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

7 months ago22428: Make run-tests.sh target lists complete
Brett Smith [Mon, 6 Jan 2025 22:06:25 +0000 (17:06 -0500)]
22428: Make run-tests.sh target lists complete

* Remove the static target list from helpmessage.

* Move all top-level code below all function definitions so it's easier
  to follow the flow of execution.

* Automatically generate testfuncargs based on defined test functions.

* Use testfuncargs as the source of available targets.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months ago22318: Restore libgnutls28-dev to ubuntu2004 Docker image
Brett Smith [Mon, 6 Jan 2025 20:29:32 +0000 (15:29 -0500)]
22318: Restore libgnutls28-dev to ubuntu2004 Docker image

On this distro only, libgnutls28-dev is required to build pycurl. We can
build without it on every other distro. Refs #22318.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months agoMerge branch '22318-ansible-test-node'
Brett Smith [Mon, 6 Jan 2025 16:41:59 +0000 (11:41 -0500)]
Merge branch '22318-ansible-test-node'

Refs #22318. Closes #22335.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months ago22318: Add `become: yes` to privilege-nspawn-vm 22318-ansible-test-node
Brett Smith [Fri, 3 Jan 2025 21:30:26 +0000 (16:30 -0500)]
22318: Add `become: yes` to privilege-nspawn-vm

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months ago22318: Remove s3cmd from deps.go
Brett Smith [Fri, 3 Jan 2025 21:28:01 +0000 (16:28 -0500)]
22318: Remove s3cmd from deps.go

run-tests.sh already installs it in a virtualenv, which is easier and
more reliable.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months ago22318: Remove obsolete dependencies from various builds
Brett Smith [Fri, 3 Jan 2025 21:16:06 +0000 (16:16 -0500)]
22318: Remove obsolete dependencies from various builds

The rationale for all these removals is in
6a2b9dfc3813a4086c71dce9a8732789262fb27f.
This commit just removes the same dependencies from other build processes.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months agoMerge branch '22159-data-explorer-refactor'
Lisa Knox [Fri, 3 Jan 2025 15:53:16 +0000 (10:53 -0500)]
Merge branch '22159-data-explorer-refactor'

closes #22159

Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>

7 months agoMerge branch '22424-api-package-version-test'
Brett Smith [Fri, 3 Jan 2025 15:01:19 +0000 (10:01 -0500)]
Merge branch '22424-api-package-version-test'

Closes #22424, #22425.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months agoMerge branch '22407-railsapi-rubyopt'
Brett Smith [Fri, 3 Jan 2025 15:01:02 +0000 (10:01 -0500)]
Merge branch '22407-railsapi-rubyopt'

Closes #22407, #22423.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months ago22407: Disable syntax_suggest in RailsAPI 22407-railsapi-rubyopt
Brett Smith [Fri, 3 Jan 2025 14:36:00 +0000 (09:36 -0500)]
22407: Disable syntax_suggest in RailsAPI

This feature was added in Ruby 3.2. The rationale for disabling it is
the same as for the other error extension features we've disabled.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months ago22159: removed unused resources param 22159-data-explorer-refactor
Lisa Knox [Fri, 3 Jan 2025 14:06:30 +0000 (09:06 -0500)]
22159: removed unused resources param

Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>

7 months agoDowngrades additional gems to regain ruby2.7 compatibility. Refs #22422
Lucas Di Pentima [Fri, 3 Jan 2025 01:07:46 +0000 (22:07 -0300)]
Downgrades additional gems to regain ruby2.7 compatibility. Refs #22422

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

7 months agoDowngrades nokogiri to a ruby 2.7 compatible version. Refs #22422
Lucas Di Pentima [Thu, 2 Jan 2025 22:24:56 +0000 (19:24 -0300)]
Downgrades nokogiri to a ruby 2.7 compatible version. Refs #22422

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

7 months ago22424: Write dedicated tests for packageVersion schema 22424-api-package-version-test
Brett Smith [Thu, 2 Jan 2025 19:57:31 +0000 (14:57 -0500)]
22424: Write dedicated tests for packageVersion schema

This exercises the intended behavior more thoroughly, and avoids a
failure in case packages have been built in the work tree before.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months ago22407: Add test that Passenger disables exception gems
Brett Smith [Thu, 2 Jan 2025 18:51:28 +0000 (13:51 -0500)]
22407: Add test that Passenger disables exception gems

See previous commit's message for detailed rationale.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months ago22407: Disable exception extension gems for RailsAPI
Brett Smith [Thu, 2 Jan 2025 17:11:16 +0000 (12:11 -0500)]
22407: Disable exception extension gems for RailsAPI

The API server sometimes includes raw exception messages in error
responses. In production, we do not want these messages to be extended
with development information. This avoids leaking more information than
intended, keeps messages more consistent for clients, and improves
performance.

Given that we want this in production, we also want this behavior for
integration tests, so clients under test see behavior from the API
server that's as close to production as possible.

Setting RUBYOPT in Passengerfile.json is the single place that ensures
consistent behavior. If a developer ever wants these features turned
back on during API server development, they can do so by running
`passenger --envvar=RUBYOPT=`.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months ago22318: Install s3cmd in run-tests
Brett Smith [Wed, 1 Jan 2025 18:31:48 +0000 (13:31 -0500)]
22318: Install s3cmd in run-tests

This is easy to do and lets us run more tests.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months ago22318: Remove obsolete checks from run-tests
Brett Smith [Wed, 1 Jan 2025 18:17:04 +0000 (13:17 -0500)]
22318: Remove obsolete checks from run-tests

* gnutls.h: You need a TLS backend for curl, but the specific one
  doesn't matter. We already check for curl; the odds that the user
  installed one without TLS are near-zero (Debian doesn't package
  one by itself).

* libattr1: This used to be required for llfuse (required by
  services/fuse), but they have since switched to sys/xattr.h
  provided by glibc.

* graphviz: Used to be required by Workbench 1.

* pandoc: I guess this was required to generate R SDK documentation,
  but it isn't anymore.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months ago22318: Add r-cran-testthat test dependency
Brett Smith [Wed, 1 Jan 2025 18:16:35 +0000 (13:16 -0500)]
22318: Add r-cran-testthat test dependency

A test dependency, rather than a build dependency, of sdk/R.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months agoMerge branch '22422-dependencies-update'
Lucas Di Pentima [Mon, 30 Dec 2024 22:10:28 +0000 (19:10 -0300)]
Merge branch '22422-dependencies-update'

closes #22422

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

7 months ago22318: Introduce playbook to add privileges to a systemd-nspawn VM
Brett Smith [Mon, 30 Dec 2024 21:21:40 +0000 (16:21 -0500)]
22318: Introduce playbook to add privileges to a systemd-nspawn VM

See comments for explanation.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months ago22422: Upgrades RailsAPI's dependencies to the latest versions 22422-dependencies-update
Lucas Di Pentima [Mon, 30 Dec 2024 21:21:03 +0000 (18:21 -0300)]
22422: Upgrades RailsAPI's dependencies to the latest versions

Addresses some potential security issues:

* actionpack: CVE-2024-47887, CVE-2024-41128, CVE-2024-54133
* actiomailer: CVE-2024-47889
* actiontext: CVE-2024-47888
* rails-html-sanitizer: CVE-2024-53989, CVE-2024-53987, CVE-2024-53988,
  CVE-2024-53986, CVE-2024-53985

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

7 months ago22422: Upgrades github.com/golang-jwt/jwt/v4 to address CVE-2024-51744
Lucas Di Pentima [Mon, 30 Dec 2024 20:37:19 +0000 (17:37 -0300)]
22422: Upgrades github.com/golang-jwt/jwt/v4 to address CVE-2024-51744

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

7 months ago22318: Introduce playbook to build a Debian VM from scratch
Brett Smith [Mon, 30 Dec 2024 20:36:25 +0000 (15:36 -0500)]
22318: Introduce playbook to build a Debian VM from scratch

See comments for background.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months ago22422: Upgrades golang.org/x/net to address CWE-770
Lucas Di Pentima [Mon, 30 Dec 2024 20:08:10 +0000 (17:08 -0300)]
22422: Upgrades golang.org/x/net to address CWE-770

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

7 months ago22422: Upgrades golang.org/x/crypto to address CVE-2024-45337
Lucas Di Pentima [Mon, 30 Dec 2024 19:57:30 +0000 (16:57 -0300)]
22422: Upgrades golang.org/x/crypto to address CVE-2024-45337

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

7 months ago22318: Configure FUSE with user_allow_other in test environments
Brett Smith [Fri, 20 Dec 2024 16:54:28 +0000 (11:54 -0500)]
22318: Configure FUSE with user_allow_other in test environments

Since Crunch relies on it, and we run Crunch in the tests, we need it
here too.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months ago22159: replaced Resource with ProcessResource and aligned related types
Lisa Knox [Thu, 19 Dec 2024 15:57:40 +0000 (10:57 -0500)]
22159: replaced Resource with ProcessResource and aligned related types

Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>

7 months ago22159: removed unused param, aligned two identical types
Lisa Knox [Thu, 19 Dec 2024 14:27:38 +0000 (09:27 -0500)]
22159: removed unused param, aligned two identical types

Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>

7 months ago22318: Update compute_singularity to follow install documentation
Brett Smith [Wed, 18 Dec 2024 22:12:50 +0000 (17:12 -0500)]
22318: Update compute_singularity to follow install documentation

* Install from a release rather than Git, for simplicity.
* Install pkg-config as a dependency.
* Ensure `GOPATH/bin` is in $PATH.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months ago22318: Introduce install-test-env.yml
Brett Smith [Wed, 18 Dec 2024 19:41:10 +0000 (14:41 -0500)]
22318: Introduce install-test-env.yml

See introductory comments for background.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months ago22318: Add arvados_database Ansible role
Brett Smith [Wed, 18 Dec 2024 16:56:05 +0000 (11:56 -0500)]
22318: Add arvados_database Ansible role

This sets up a login role, database owned by that role, and required
pg_trgm extension. So far it has only been tested on nodes where
PostgreSQL is running on the same node, but it is not written to assume
that. It should be possible to run this role on remote servers if you
configure it with superuser connection parameters.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months ago22318: Add arvados_postgresql Ansible role
Brett Smith [Wed, 18 Dec 2024 16:51:54 +0000 (11:51 -0500)]
22318: Add arvados_postgresql Ansible role

For nodes where we want to run the database server.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months ago22318: Add version to arvados_go destdir
Brett Smith [Wed, 18 Dec 2024 16:47:46 +0000 (11:47 -0500)]
22318: Add version to arvados_go destdir

Most of our other tools are already doing this, and it makes it trivial
to check whether or not we have already installed the version we want.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months ago22318: Add become requirements to compute_singularity
Brett Smith [Wed, 18 Dec 2024 15:33:09 +0000 (10:33 -0500)]
22318: Add become requirements to compute_singularity

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months ago22318: Avoid unnecessary builds in compute_singularity
Brett Smith [Wed, 18 Dec 2024 15:32:16 +0000 (10:32 -0500)]
22318: Avoid unnecessary builds in compute_singularity

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months ago22318: Declare become requirements in arvados_docker role
Brett Smith [Wed, 18 Dec 2024 15:27:22 +0000 (10:27 -0500)]
22318: Declare become requirements in arvados_docker role

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months ago22318: Separate Ansible Docker install vs. compute configuration
Brett Smith [Wed, 18 Dec 2024 15:09:19 +0000 (10:09 -0500)]
22318: Separate Ansible Docker install vs. compute configuration

arvados_docker takes care of installing the version we want with pins,
etc. compute_docker takes care of compute node configuration and
integration.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months ago22318: Separate arvados_go role from compute_singularity
Brett Smith [Wed, 18 Dec 2024 15:08:18 +0000 (10:08 -0500)]
22318: Separate arvados_go role from compute_singularity

For build nodes that need Go but not Singularity.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months agoMerge branch '22400-spot-price-paging'
Tom Clegg [Tue, 17 Dec 2024 16:34:07 +0000 (11:34 -0500)]
Merge branch '22400-spot-price-paging'

fixes #22400

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

7 months ago22159: restored an onContextMenu that was previously removed
Lisa Knox [Tue, 17 Dec 2024 14:20:18 +0000 (09:20 -0500)]
22159: restored an onContextMenu that was previously removed

Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>

7 months ago22159: removed DataTableItem type in favor of Resource type
Lisa Knox [Mon, 16 Dec 2024 21:41:18 +0000 (16:41 -0500)]
22159: removed DataTableItem type in favor of Resource type

Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>

7 months ago22159: fixed search-results-panel-view onItemClick
Lisa Knox [Mon, 16 Dec 2024 21:28:05 +0000 (16:28 -0500)]
22159: fixed search-results-panel-view onItemClick

Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>

7 months ago22159: changed DataExplorer oncontextmenu to accept Resource instead of any
Lisa Knox [Mon, 16 Dec 2024 20:49:45 +0000 (15:49 -0500)]
22159: changed DataExplorer oncontextmenu to accept Resource instead of any

* changed type sigs in several places to account for this change
* removed unused extractKey and onContextMenu from group-details-panel
* removed unnecessary resources param in collection-content-address-panel.tsx and public-favorites-panel.tsx

Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>

7 months ago22400: Fix AWS SDK usage. 22400-spot-price-paging
Tom Clegg [Mon, 16 Dec 2024 16:50:51 +0000 (11:50 -0500)]
22400: Fix AWS SDK usage.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

7 months ago22159: refined a few type signatures
Lisa Knox [Mon, 16 Dec 2024 14:56:46 +0000 (09:56 -0500)]
22159: refined a few type signatures

Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>

7 months agoMerge branch '22349-doc-updates'
Brett Smith [Fri, 13 Dec 2024 16:32:33 +0000 (11:32 -0500)]
Merge branch '22349-doc-updates'

Refs #22349. Closes #22396, #22397.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months ago22349: Refresh health check example output 22349-doc-updates
Brett Smith [Fri, 13 Dec 2024 14:57:58 +0000 (09:57 -0500)]
22349: Refresh health check example output

No specific need but I was checking if I needed to do other updates here
so figured I might as well.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months ago22349: Include systemd's edit prompts
Brett Smith [Fri, 13 Dec 2024 14:59:46 +0000 (09:59 -0500)]
22349: Include systemd's edit prompts

I hope this makes it a little easier to follow where you need to make
the change.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months ago22349: Correct syntax for multiple units in start_service
Brett Smith [Fri, 13 Dec 2024 14:56:39 +0000 (09:56 -0500)]
22349: Correct syntax for multiple units in start_service

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months ago22349: Update RailsAPI ConfigURLs docs for standalone deployment
Brett Smith [Fri, 13 Dec 2024 14:59:16 +0000 (09:59 -0500)]
22349: Update RailsAPI ConfigURLs docs for standalone deployment

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months agoMerge branch '22232-rails-dynamic-index-limit'
Brett Smith [Thu, 12 Dec 2024 21:53:02 +0000 (16:53 -0500)]
Merge branch '22232-rails-dynamic-index-limit'

Refs #22232.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months ago22232: Explain why we don't use pg_column_size to limit database reads 22232-rails-dynamic-index-limit
Brett Smith [Thu, 12 Dec 2024 21:16:43 +0000 (16:16 -0500)]
22232: Explain why we don't use pg_column_size to limit database reads

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months ago22232: Apply database read limit logic to all "large" columns
Brett Smith [Thu, 12 Dec 2024 19:59:18 +0000 (14:59 -0500)]
22232: Apply database read limit logic to all "large" columns

We recently had another situation where a query for logs that happened
to have very large properties (changes to a large container request)
caused a DoS. Rather than hardcoding which columns should be affected by
database read limits, introspect them and use all potentially-unbounded
columns.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months agoPin googleauth more specifically for arvados-google-api-client
Brett Smith [Thu, 12 Dec 2024 16:49:34 +0000 (11:49 -0500)]
Pin googleauth more specifically for arvados-google-api-client

The usual rationale of Ruby 2.7 support. Refs #22227.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months agoMerge branch '22349-passenger-6-0-23'
Brett Smith [Thu, 12 Dec 2024 16:21:20 +0000 (11:21 -0500)]
Merge branch '22349-passenger-6-0-23'

Closes #22349, #22389, #22392.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months ago22349: Add RailsAPI to the logs dashboard 22349-passenger-6-0-23
Brett Smith [Thu, 12 Dec 2024 13:25:21 +0000 (08:25 -0500)]
22349: Add RailsAPI to the logs dashboard

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months ago22349: Compile our own Passenger agent from Rails postinst
Brett Smith [Wed, 11 Dec 2024 21:18:30 +0000 (16:18 -0500)]
22349: Compile our own Passenger agent from Rails postinst

See comments for rationale.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months agoMerge branch '22349-deploy-bundle-passenger'
Brett Smith [Wed, 11 Dec 2024 15:41:35 +0000 (10:41 -0500)]
Merge branch '22349-deploy-bundle-passenger'

Refs #22349.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

7 months ago22349: Restore conditional confdir setup in RailsAPI postinst
Brett Smith [Wed, 11 Dec 2024 15:16:31 +0000 (10:16 -0500)]
22349: Restore conditional confdir setup in RailsAPI postinst

When I originally wrote d1b63dc072d5f80ddb8e56d0919e70f8e8df73c4, I
thought `install` would not change the ownership or permissions of an
existing directory. I was mistaken. This reverts that commit to restore
the conditional logic, and adds the empty $WWW_OWNER logic to it.