arvados.git
4 days agoMerge branch '21764-project-picker-crash' into main. Closes #21764
Stephen Smith [Mon, 1 Jul 2024 16:09:09 +0000 (12:09 -0400)]
Merge branch '21764-project-picker-crash' into main. Closes #21764

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

4 days agoMerge branch '15814-wb2-secrets' refs #15814
Peter Amstutz [Mon, 1 Jul 2024 15:45:34 +0000 (11:45 -0400)]
Merge branch '15814-wb2-secrets' refs #15814

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

4 days ago15814: Fix runtime typecheck error 15814-wb2-secrets
Peter Amstutz [Mon, 1 Jul 2024 14:44:50 +0000 (10:44 -0400)]
15814: Fix runtime typecheck error

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

4 days agoMerge branch 'main' into 15814-wb2-secrets
Peter Amstutz [Mon, 1 Jul 2024 14:10:28 +0000 (10:10 -0400)]
Merge branch 'main' into 15814-wb2-secrets

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

4 days agoMerge branch '20640-computed-permissions-api'
Tom Clegg [Mon, 1 Jul 2024 13:57:59 +0000 (09:57 -0400)]
Merge branch '20640-computed-permissions-api'

closes #20640

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

7 days ago20640: Merge branch 'main' into 20640-computed-permissions-api 20640-computed-permissions-api
Tom Clegg [Fri, 28 Jun 2024 23:09:22 +0000 (19:09 -0400)]
20640: Merge branch 'main' into 20640-computed-permissions-api

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

7 days ago20640: Fix obfuscated asserts.
Tom Clegg [Fri, 28 Jun 2024 19:48:59 +0000 (15:48 -0400)]
20640: Fix obfuscated asserts.

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

7 days ago21764: Consolidate tree node extraction to be reused for tests, add TreePicker unit... 21764-project-picker-crash
Stephen Smith [Fri, 28 Jun 2024 15:22:30 +0000 (11:22 -0400)]
21764: Consolidate tree node extraction to be reused for tests, add TreePicker unit tests

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

7 days ago21764: Add more type safety to TreePicker
Stephen Smith [Fri, 28 Jun 2024 15:21:01 +0000 (11:21 -0400)]
21764: Add more type safety to TreePicker

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

7 days ago21764: Add better type safety to TreePicker and handle empty string name
Stephen Smith [Fri, 28 Jun 2024 15:16:27 +0000 (11:16 -0400)]
21764: Add better type safety to TreePicker and handle empty string name

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

7 days ago21764: Preload cypress in wb2 build docker and start cypress as e2e by default
Stephen Smith [Wed, 19 Jun 2024 15:48:18 +0000 (11:48 -0400)]
21764: Preload cypress in wb2 build docker and start cypress as e2e by default

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

8 days ago15814: Specifically communicate secrets cannot be displayed
Peter Amstutz [Thu, 27 Jun 2024 19:18:02 +0000 (15:18 -0400)]
15814: Specifically communicate secrets cannot be displayed

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

8 days agoAdd locales and unzip to install deps
Brett Smith [Thu, 27 Jun 2024 16:10:01 +0000 (12:10 -0400)]
Add locales and unzip to install deps

Commands from both these packages are used directly by `arvados-server install`.
No issue #.

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

8 days ago15814: Simplify conditionals
Peter Amstutz [Thu, 27 Jun 2024 15:29:31 +0000 (11:29 -0400)]
15814: Simplify conditionals

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

8 days ago15814: Fix tabs -> spaces
Peter Amstutz [Thu, 27 Jun 2024 15:26:41 +0000 (11:26 -0400)]
15814: Fix tabs -> spaces

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

10 days agoMerge branch '21933-deps-upgrade'
Lucas Di Pentima [Tue, 25 Jun 2024 20:54:28 +0000 (17:54 -0300)]
Merge branch '21933-deps-upgrade'

closes #21933

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

10 days agoMerge branch '21891-output-copying-performance'
Tom Clegg [Tue, 25 Jun 2024 20:28:13 +0000 (16:28 -0400)]
Merge branch '21891-output-copying-performance'

fixes #21891

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

10 days ago21891: Comment to explain mysterious numbers 13 and 17 in test case.
Tom Clegg [Tue, 25 Jun 2024 20:27:25 +0000 (16:27 -0400)]
21891: Comment to explain mysterious numbers 13 and 17 in test case.

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

10 days ago20640: Update docstring to clarify usage and link to list method.
Tom Clegg [Tue, 25 Jun 2024 19:25:55 +0000 (15:25 -0400)]
20640: Update docstring to clarify usage and link to list method.

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

10 days ago20640: Make test parameterization more readable.
Tom Clegg [Tue, 25 Jun 2024 17:44:43 +0000 (13:44 -0400)]
20640: Make test parameterization more readable.

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

10 days ago21933: Replaces gopkg.in/square/go-jose.v2 to address CVE-2024-28180 21933-deps-upgrade
Lucas Di Pentima [Tue, 25 Jun 2024 20:17:48 +0000 (17:17 -0300)]
21933: Replaces gopkg.in/square/go-jose.v2 to address CVE-2024-28180

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

10 days ago21933: Upgrades rails to 7.0.8.4 to address CVE-2024-28103
Lucas Di Pentima [Tue, 25 Jun 2024 19:36:17 +0000 (16:36 -0300)]
21933: Upgrades rails to 7.0.8.4 to address CVE-2024-28103

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

10 days ago21933: Upgrades github.com/hashicorp/go-retryablehttp to address CVE-2024-6104
Lucas Di Pentima [Tue, 25 Jun 2024 19:30:02 +0000 (16:30 -0300)]
21933: Upgrades github.com/hashicorp/go-retryablehttp to address CVE-2024-6104

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

10 days ago20640: Simplify 'select' munging.
Tom Clegg [Tue, 25 Jun 2024 17:44:20 +0000 (13:44 -0400)]
20640: Simplify 'select' munging.

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

10 days ago20640: Change key_fields to a Container, since order doesn't matter.
Tom Clegg [Tue, 25 Jun 2024 17:44:00 +0000 (13:44 -0400)]
20640: Change key_fields to a Container, since order doesn't matter.

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

10 days ago20640: Fix iter_computed_permissions args not being propagated.
Tom Clegg [Tue, 25 Jun 2024 15:04:24 +0000 (11:04 -0400)]
20640: Fix iter_computed_permissions args not being propagated.

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

10 days ago20640: Fix secondary sort column (use tiebreak_key, not 'uuid').
Tom Clegg [Tue, 25 Jun 2024 15:03:41 +0000 (11:03 -0400)]
20640: Fix secondary sort column (use tiebreak_key, not 'uuid').

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

10 days ago20640: Add iter_computed_permissions tests.
Tom Clegg [Tue, 25 Jun 2024 15:03:16 +0000 (11:03 -0400)]
20640: Add iter_computed_permissions tests.

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

11 days agoMerge branch '21703-collection-update-lock'
Tom Clegg [Mon, 24 Jun 2024 18:45:46 +0000 (14:45 -0400)]
Merge branch '21703-collection-update-lock'

closes #21703

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

11 days ago21703: Improve test failure reporting.
Tom Clegg [Mon, 24 Jun 2024 18:43:46 +0000 (14:43 -0400)]
21703: Improve test failure reporting.

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

11 days ago21703: Fix unlogged exception.
Tom Clegg [Mon, 24 Jun 2024 18:41:41 +0000 (14:41 -0400)]
21703: Fix unlogged exception.

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

11 days ago21891: Remove unused sdk/go/manifest package and ManifestFileReader. 21891-output-copying-performance
Tom Clegg [Mon, 24 Jun 2024 18:31:12 +0000 (14:31 -0400)]
21891: Remove unused sdk/go/manifest package and ManifestFileReader.

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

11 days ago15814: Catch error that otherwise goes unhandled
Peter Amstutz [Thu, 20 Jun 2024 21:05:17 +0000 (17:05 -0400)]
15814: Catch error that otherwise goes unhandled

Running into this with some tests, during teardown.

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

11 days ago15814: Fix request intercepts that assume certain field in response
Peter Amstutz [Thu, 20 Jun 2024 19:28:52 +0000 (15:28 -0400)]
15814: Fix request intercepts that assume certain field in response

During teardown, the intercept is still active but requests may return
404 from upstream, causing the intercept that modifies the reponse to fail.

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

11 days ago15814: Fix unit test, trying to figure out test that only fails on jenkins
Peter Amstutz [Thu, 20 Jun 2024 18:37:22 +0000 (14:37 -0400)]
15814: Fix unit test, trying to figure out test that only fails on jenkins

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

11 days ago15814: Name test user consistently
Peter Amstutz [Thu, 20 Jun 2024 00:02:12 +0000 (20:02 -0400)]
15814: Name test user consistently

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

11 days ago15814: Fix sequencing for setupDockerImage
Peter Amstutz [Wed, 19 Jun 2024 21:27:10 +0000 (17:27 -0400)]
15814: Fix sequencing for setupDockerImage

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

11 days ago15814: Remove .only
Peter Amstutz [Wed, 19 Jun 2024 21:22:41 +0000 (17:22 -0400)]
15814: Remove .only

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

11 days ago15814: Add missing file
Peter Amstutz [Wed, 19 Jun 2024 21:12:14 +0000 (17:12 -0400)]
15814: Add missing file

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

11 days ago15814: Have FAIL_FAST default false unless interactive
Peter Amstutz [Wed, 19 Jun 2024 21:03:24 +0000 (17:03 -0400)]
15814: Have FAIL_FAST default false unless interactive

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

11 days ago15814: Add e2e test for workflows with secrets
Peter Amstutz [Wed, 19 Jun 2024 20:52:23 +0000 (16:52 -0400)]
15814: Add e2e test for workflows with secrets

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

11 days ago15814: Add cypress fail fast and tweak some process tests
Peter Amstutz [Wed, 19 Jun 2024 19:51:09 +0000 (15:51 -0400)]
15814: Add cypress fail fast and tweak some process tests

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

11 days ago15814: Secret inputs now render as password inputs
Peter Amstutz [Mon, 17 Jun 2024 21:25:00 +0000 (17:25 -0400)]
15814: Secret inputs now render as password inputs

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

11 days ago15814: Now handles secret inputs properly.
Peter Amstutz [Mon, 17 Jun 2024 20:57:12 +0000 (16:57 -0400)]
15814: Now handles secret inputs properly.

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

11 days ago15814: Fix "secret store only accepts strings" error
Peter Amstutz [Mon, 17 Jun 2024 19:27:42 +0000 (15:27 -0400)]
15814: Fix "secret store only accepts strings" error

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

11 days agoMerge branch '21925-progress-bar-useeffect-fix' into main. Closes #21925
Stephen Smith [Mon, 24 Jun 2024 18:02:49 +0000 (14:02 -0400)]
Merge branch '21925-progress-bar-useeffect-fix' into main. Closes #21925

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

11 days ago20640: Add iter_computed_permissions.
Tom Clegg [Mon, 24 Jun 2024 15:41:02 +0000 (11:41 -0400)]
20640: Add iter_computed_permissions.

Add explicit key_fields argument to keyset_list_all() instead of
modifying behavior automatically based on API responses.

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

12 days ago21703: Merge branch 'main' into 21703-collection-update-lock 21703-collection-update-lock
Tom Clegg [Mon, 24 Jun 2024 02:17:39 +0000 (22:17 -0400)]
21703: Merge branch 'main' into 21703-collection-update-lock

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

12 days ago21703: Test trash_sweep for both active and inactive uuid_locks.
Tom Clegg [Sun, 23 Jun 2024 23:50:54 +0000 (19:50 -0400)]
21703: Test trash_sweep for both active and inactive uuid_locks.

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

12 days ago21891: Skip extra serialization step.
Tom Clegg [Sun, 23 Jun 2024 12:52:34 +0000 (08:52 -0400)]
21891: Skip extra serialization step.

In copy-by-reference, copy everything to one collfs, instead of
copying each subcollection to its own temporary collfs, concatenating
the manifests, and then loading that into a new collfs.

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

12 days ago21891: Use collectionfs Snapshot/Splice instead of Extract.
Tom Clegg [Sun, 23 Jun 2024 01:31:05 +0000 (21:31 -0400)]
21891: Use collectionfs Snapshot/Splice instead of Extract.

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

12 days ago21891: Use bytes.Buffer to reduce string copies.
Tom Clegg [Sun, 23 Jun 2024 13:32:38 +0000 (09:32 -0400)]
21891: Use bytes.Buffer to reduce string copies.

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

12 days ago21891: Test copier with a large collection.
Tom Clegg [Sun, 23 Jun 2024 00:48:46 +0000 (20:48 -0400)]
21891: Test copier with a large collection.

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

12 days ago21891: Update test to accept singularity 4.
Tom Clegg [Sun, 23 Jun 2024 12:52:38 +0000 (08:52 -0400)]
21891: Update test to accept singularity 4.

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

2 weeks ago21925: Add resources to fake store for progress bar unit tests 21925-progress-bar-useeffect-fix
Stephen Smith [Fri, 21 Jun 2024 20:50:52 +0000 (16:50 -0400)]
21925: Add resources to fake store for progress bar unit tests

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

2 weeks ago21925: Don't pass full resource to progress bar useEffect to stop request spam
Stephen Smith [Fri, 21 Jun 2024 18:18:30 +0000 (14:18 -0400)]
21925: Don't pass full resource to progress bar useEffect to stop request spam

* Changes progress bar fetch to accept UUID
* Split polling flag into 2 for process and project
  * Fetch method now only returns polling flag for projects
  * The previous changes for project support switched to updating isRunning
    in the fetch action where it would use the store for processes and progress
    counts for projects
  * This resulted in polling not starting if a draft process is already open
    when started since it would only update if already polling
  * This new approach uses the store (including WS updates) for processes and
    polling-based updates for projects
  * Splitting these up also allows eliminating an extra refresh when project
    polling stops while keeping a final refresh when websocket updates a process
    to stopped
* Added comments and better type guards

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

2 weeks agoMerge branch '21855-rpm-url-update'
Brett Smith [Fri, 21 Jun 2024 14:37:12 +0000 (10:37 -0400)]
Merge branch '21855-rpm-url-update'

Refs #21855.

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

2 weeks ago21891: Move string concatenations out of per-segment loop.
Tom Clegg [Fri, 21 Jun 2024 12:38:53 +0000 (08:38 -0400)]
21891: Move string concatenations out of per-segment loop.

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

2 weeks ago21891: Test Extract on a large manifest.
Tom Clegg [Fri, 21 Jun 2024 12:34:56 +0000 (08:34 -0400)]
21891: Test Extract on a large manifest.

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

2 weeks ago21855: Change RPM repo quoting in Python READMEs 21855-rpm-url-update
Brett Smith [Thu, 20 Jun 2024 21:12:56 +0000 (17:12 -0400)]
21855: Change RPM repo quoting in Python READMEs

Quote the entire here-doc rather than individual $ signs. This makes it
consistent with our web documentation and easier to maintain in the
future.

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

2 weeks ago21855: Update baseurl for RPM repository
Brett Smith [Thu, 20 Jun 2024 21:02:47 +0000 (17:02 -0400)]
21855: Update baseurl for RPM repository

This change is already made on the server side. We updated the URL to
reflect the fact that we no longer expect to publish packages for
CentOS.

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

2 weeks ago21855: Update URL path for RPMs
Brett Smith [Thu, 20 Jun 2024 21:01:54 +0000 (17:01 -0400)]
21855: Update URL path for RPMs

To match a change on the server side.

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

2 weeks ago20640: Use reject instead of select for readability.
Tom Clegg [Thu, 20 Jun 2024 20:41:23 +0000 (16:41 -0400)]
20640: Use reject instead of select for readability.

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

2 weeks ago20640: Test keyset_list_all + computed_permissions + select usage.
Tom Clegg [Thu, 20 Jun 2024 20:40:04 +0000 (16:40 -0400)]
20640: Test keyset_list_all + computed_permissions + select usage.

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

2 weeks ago21703: Skip uuid_locks table in index test.
Tom Clegg [Thu, 20 Jun 2024 17:43:46 +0000 (13:43 -0400)]
21703: Skip uuid_locks table in index test.

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

2 weeks agoMerge branch '21846-rightclick-context-menu'
Lisa Knox [Thu, 20 Jun 2024 17:23:51 +0000 (13:23 -0400)]
Merge branch '21846-rightclick-context-menu'

closes #21846

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

2 weeks agoMerge branch '21906-api-gems-dir'
Brett Smith [Tue, 18 Jun 2024 18:43:00 +0000 (14:43 -0400)]
Merge branch '21906-api-gems-dir'

Refs #21906.

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

2 weeks ago21906: Fix typo in postinst message
Brett Smith [Tue, 18 Jun 2024 18:38:32 +0000 (14:38 -0400)]
21906: Fix typo in postinst message

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

2 weeks ago21703: Delete unused entries in uuid_locks during trash sweep.
Tom Clegg [Tue, 18 Jun 2024 18:02:32 +0000 (14:02 -0400)]
21703: Delete unused entries in uuid_locks during trash sweep.

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

2 weeks ago21703: Hold row lock in uuid_locks table during collection updates.
Tom Clegg [Tue, 18 Jun 2024 18:02:05 +0000 (14:02 -0400)]
21703: Hold row lock in uuid_locks table during collection updates.

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

2 weeks ago21906: Improve Rails postinst unconfigured reporting 21906-api-gems-dir
Brett Smith [Tue, 18 Jun 2024 14:06:22 +0000 (10:06 -0400)]
21906: Improve Rails postinst unconfigured reporting

The immediate bug this is fixing is: on Red Hat, if you installed the
package before a web server, it would not install /etc/arvados (because
it didn't know who should own it), but then tell you to edit
/etc/arvados/config.yml.

This commit improves that reporting, so it gives you a more specific
reason that configuration stopped, and next steps for the administrator
to take. Admittedly, I did quite a bit of work to get there, but here we
are.

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

2 weeks ago21703: Add uuid_locks table.
Tom Clegg [Tue, 18 Jun 2024 13:47:34 +0000 (09:47 -0400)]
21703: Add uuid_locks table.

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

2 weeks ago21906: Improve WWW_OWNER handling on Red Hat systems
Brett Smith [Tue, 18 Jun 2024 11:19:15 +0000 (07:19 -0400)]
21906: Improve WWW_OWNER handling on Red Hat systems

On Red Hat systems, if you install arvados-api-server without a web
server already installed, no user account exists that we can use to set
ownership for configuration files and writable directories. In this
case, explicitly set WWW_OWNER="" and use that to gate filesystem
setup.

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

2 weeks ago21906: Correct manual gem install-dir in Rails postinst
Brett Smith [Tue, 18 Jun 2024 01:28:40 +0000 (21:28 -0400)]
21906: Correct manual gem install-dir in Rails postinst

Bundle installs to a subdirectory with the Ruby version but with patch
level = 0.

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

2 weeks ago21906: Add a test for Rails packages creating multiple gems directories
Brett Smith [Mon, 17 Jun 2024 20:48:21 +0000 (16:48 -0400)]
21906: Add a test for Rails packages creating multiple gems directories

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

2 weeks agoMerge branch 'zoe-translates/python-sdk-arv_copy-thread-exception'
Peter Amstutz [Mon, 17 Jun 2024 15:17:03 +0000 (11:17 -0400)]
Merge branch 'zoe-translates/python-sdk-arv_copy-thread-exception'

No issue #

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

2 weeks agoMerge branch '20943-trashed-role-groups' refs #20943
Peter Amstutz [Mon, 17 Jun 2024 14:49:54 +0000 (10:49 -0400)]
Merge branch '20943-trashed-role-groups' refs #20943

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

2 weeks agoIn arv-copy command, fix name error in "except" clause
Zoë Ma [Mon, 17 Jun 2024 03:30:04 +0000 (11:30 +0800)]
In arv-copy command, fix name error in "except" clause

In arv_copy.py, when getting or putting (as part of "arv-copy"
operation), the exception-handling clause had undefined names in
themselves.  This would not only throw a hard error at the user but also
prevent subsequent cleanup of the queues.

Fixed by binding the variable name to the exception.

Arvados-DCO-1.1-Signed-off-by: Zoë Ma <zoe.ma@curii.com>

3 weeks ago20943: Filter groups owned by a project should be deleted 20943-trashed-role-groups
Peter Amstutz [Fri, 14 Jun 2024 17:58:57 +0000 (13:58 -0400)]
20943: Filter groups owned by a project should be deleted

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

3 weeks ago20943: Tweak the docs a bit to discuss different trashing behaviors.
Peter Amstutz [Fri, 14 Jun 2024 17:54:00 +0000 (13:54 -0400)]
20943: Tweak the docs a bit to discuss different trashing behaviors.

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

3 weeks agoMerge branch '21832-installer-rds-support'
Lucas Di Pentima [Fri, 14 Jun 2024 15:04:11 +0000 (12:04 -0300)]
Merge branch '21832-installer-rds-support'

closes #21832

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

3 weeks ago20943: Update collection and group API documentation
Peter Amstutz [Thu, 13 Jun 2024 21:44:57 +0000 (17:44 -0400)]
20943: Update collection and group API documentation

Mainly to describe the 'trash' lifecycle of trash_at and delete_at,
but made a few other improvements along the way.

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

3 weeks ago20640: Test computed permission API through controller.
Tom Clegg [Thu, 13 Jun 2024 20:45:23 +0000 (16:45 -0400)]
20640: Test computed permission API through controller.

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

3 weeks ago20640: Add test for specific implicit permission entry.
Tom Clegg [Thu, 13 Jun 2024 19:34:28 +0000 (15:34 -0400)]
20640: Add test for specific implicit permission entry.

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

3 weeks ago20640: Add API docs for computed permissions.
Tom Clegg [Thu, 13 Jun 2024 18:45:41 +0000 (14:45 -0400)]
20640: Add API docs for computed permissions.

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

3 weeks ago20640: Fix crash on limit_database_read.
Tom Clegg [Thu, 13 Jun 2024 20:51:30 +0000 (16:51 -0400)]
20640: Fix crash on limit_database_read.

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

3 weeks ago20640: Ensure offset=0 for computed permissions API.
Tom Clegg [Thu, 13 Jun 2024 19:22:06 +0000 (15:22 -0400)]
20640: Ensure offset=0 for computed permissions API.

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

3 weeks ago20640: Ensure count=none for computed permissions API.
Tom Clegg [Thu, 13 Jun 2024 19:16:52 +0000 (15:16 -0400)]
20640: Ensure count=none for computed permissions API.

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

3 weeks ago20640: Fix keyset paging for computed permissions.
Tom Clegg [Fri, 31 May 2024 03:07:52 +0000 (23:07 -0400)]
20640: Fix keyset paging for computed permissions.

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

3 weeks ago20640: Fix test for table_name override / no searchable columns.
Tom Clegg [Thu, 30 May 2024 18:03:12 +0000 (14:03 -0400)]
20640: Fix test for table_name override / no searchable columns.

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

3 weeks ago20640: Add computed permissions API.
Tom Clegg [Thu, 30 May 2024 15:23:16 +0000 (11:23 -0400)]
20640: Add computed permissions API.

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

3 weeks ago21832: Allows to control whether RDS should be snapshotted before deletion. 21832-installer-rds-support
Lucas Di Pentima [Thu, 13 Jun 2024 20:40:17 +0000 (17:40 -0300)]
21832: Allows to control whether RDS should be snapshotted before deletion.

Also, changed the default to 'true' as this is more sensible for production
environments.

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

3 weeks ago20943: Force delete_at = trash_at for role groups
Peter Amstutz [Thu, 13 Jun 2024 15:00:36 +0000 (11:00 -0400)]
20943: Force delete_at = trash_at for role groups

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

3 weeks ago21832: Allows custom postgresql version config.
Lucas Di Pentima [Thu, 13 Jun 2024 20:02:06 +0000 (17:02 -0300)]
21832: Allows custom postgresql version config.

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

3 weeks ago21832: Allows custom backup retention period config.
Lucas Di Pentima [Thu, 13 Jun 2024 19:40:25 +0000 (16:40 -0300)]
21832: Allows custom backup retention period config.

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

3 weeks ago21832: Allows to customize the initial RDS storage allocation.
Lucas Di Pentima [Thu, 13 Jun 2024 19:21:21 +0000 (16:21 -0300)]
21832: Allows to customize the initial RDS storage allocation.

Defaults to 20% of the default max storage allocation.
Also, don't ignore changes in password, as they don't require an RDS recreation
like username does.

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

3 weeks ago21832: Filters out redacted output from terraform
Lucas Di Pentima [Tue, 11 Jun 2024 21:43:31 +0000 (18:43 -0300)]
21832: Filters out redacted output from terraform

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

3 weeks ago21832: Skips installing local Postgresql when using external service.
Lucas Di Pentima [Tue, 11 Jun 2024 19:52:23 +0000 (16:52 -0300)]
21832: Skips installing local Postgresql when using external service.

Also, makes sure that the trigram extension is enabled.

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

3 weeks ago21832: Fixes variable & output parameters naming.
Lucas Di Pentima [Tue, 11 Jun 2024 19:44:18 +0000 (16:44 -0300)]
21832: Fixes variable & output parameters naming.

The user created on RDS is not the service admin user (we don't have access
to it, actually), so we'll just use its credentials for setting up Arvados.

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

3 weeks ago21832: Enables RDS creation with multiple config params.
Lucas Di Pentima [Fri, 7 Jun 2024 23:12:08 +0000 (20:12 -0300)]
21832: Enables RDS creation with multiple config params.

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