arvados.git
2 years ago19139: Adds tests related to user creation.
Lucas Di Pentima [Thu, 14 Jul 2022 13:59:41 +0000 (10:59 -0300)]
19139: Adds tests related to user creation.

* Confirms that non-admin users cannot create user records.
* Exposes bug where user's owner_uuid fields were populated with the UUID of
  the creating admin user instead of using the system root user's UUID.

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

2 years agoMerge branch '19206-root-user-disabling-fix'. Closes #19206
Lucas Di Pentima [Thu, 14 Jul 2022 13:26:41 +0000 (10:26 -0300)]
Merge branch '19206-root-user-disabling-fix'. Closes #19206

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

2 years ago19206: Avoids disabling or setting system root user as non-admin. 19206-root-user-disabling-fix
Lucas Di Pentima [Wed, 13 Jul 2022 20:38:26 +0000 (17:38 -0300)]
19206: Avoids disabling or setting system root user as non-admin.

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

2 years ago19206: Adds test exposing the bug.
Lucas Di Pentima [Wed, 13 Jul 2022 20:21:28 +0000 (17:21 -0300)]
19206: Adds test exposing the bug.

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

2 years agoMerge branch '18858-sync-users-fixes'. Closes #18858
Lucas Di Pentima [Thu, 7 Jul 2022 18:37:22 +0000 (15:37 -0300)]
Merge branch '18858-sync-users-fixes'. Closes #18858

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

2 years ago18858: Don't treat as an error empty usernames on system users. 18858-sync-users-fixes
Lucas Di Pentima [Thu, 7 Jul 2022 17:31:24 +0000 (14:31 -0300)]
18858: Don't treat as an error empty usernames on system users.

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

2 years ago18858: Removed root & anonymous usernames from fixture to reflect reality.
Lucas Di Pentima [Thu, 7 Jul 2022 17:24:17 +0000 (14:24 -0300)]
18858: Removed root & anonymous usernames from fixture to reflect reality.

This makes tests to fail, but I think forcing usernames on common users
is problematic on federated scenarios because of username collisions
between users that exist on every cluster.

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

2 years agoMerge branch 'keep_web_api_client_upload_method' refs #19220
Peter Amstutz [Thu, 7 Jul 2022 14:57:59 +0000 (10:57 -0400)]
Merge branch 'keep_web_api_client_upload_method' refs #19220

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

2 years ago18858: Adds username case matching tests.
Lucas Di Pentima [Wed, 6 Jul 2022 21:22:55 +0000 (18:22 -0300)]
18858: Adds username case matching tests.

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

2 years ago18858: Improves test & fixes discovered bug by said improved test.
Lucas Di Pentima [Wed, 6 Jul 2022 21:02:50 +0000 (18:02 -0300)]
18858: Improves test & fixes discovered bug by said improved test.

Also, fixes update decision function to avoid unnecessary calls on
users that are already inactive but the CSV file list them with admin=true.

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

2 years ago18858: Fixes positional argument retrieval on sync-users & sync-groups.
Lucas Di Pentima [Wed, 6 Jul 2022 19:36:18 +0000 (16:36 -0300)]
18858: Fixes positional argument retrieval on sync-users & sync-groups.

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

2 years ago18858: Don't immediately exit on existing accounts with empty user IDs.
Lucas Di Pentima [Wed, 6 Jul 2022 19:03:48 +0000 (16:03 -0300)]
18858: Don't immediately exit on existing accounts with empty user IDs.

Instead, record the UUIDs and report them as an error after processing
the rest.

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

2 years agoMerge branch '16888-ctr-fed-token'
Tom Clegg [Wed, 6 Jul 2022 15:53:08 +0000 (11:53 -0400)]
Merge branch '16888-ctr-fed-token'

refs #16888

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

2 years agoMerge branch '18858-sync-users-tool'. Closes #18858
Lucas Di Pentima [Tue, 5 Jul 2022 20:24:49 +0000 (17:24 -0300)]
Merge branch '18858-sync-users-tool'. Closes #18858

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

2 years ago18858: Adds sync-users package building. 18858-sync-users-tool
Lucas Di Pentima [Mon, 4 Jul 2022 17:45:01 +0000 (14:45 -0300)]
18858: Adds sync-users package building.

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

2 years ago18858: Adds first/last name updates, with tests.
Lucas Di Pentima [Mon, 4 Jul 2022 17:40:57 +0000 (14:40 -0300)]
18858: Adds first/last name updates, with tests.

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

2 years ago18858: Expands documentation to include the new tool.
Lucas Di Pentima [Mon, 4 Jul 2022 16:39:46 +0000 (13:39 -0300)]
18858: Expands documentation to include the new tool.

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

2 years ago18858: Adds username-based test cases.
Lucas Di Pentima [Mon, 4 Jul 2022 14:29:43 +0000 (11:29 -0300)]
18858: Adds username-based test cases.

Also, fixes user fixtures and improves railsAPI's debugging logs on database
reset failures.

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

2 years ago18858: Tidies up testing code.
Lucas Di Pentima [Fri, 1 Jul 2022 18:16:30 +0000 (15:16 -0300)]
18858: Tidies up testing code.

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

2 years ago18858: Adds ability to identify users by their usernames.
Lucas Di Pentima [Fri, 1 Jul 2022 18:14:17 +0000 (15:14 -0300)]
18858: Adds ability to identify users by their usernames.

Also, adds case-insensitive matchig support for usernames, and forces it
when using emails.

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

2 years ago16888: Test unsupported federation use case. 16888-ctr-fed-token
Tom Clegg [Mon, 16 May 2022 17:30:02 +0000 (13:30 -0400)]
16888: Test unsupported federation use case.

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

2 years agoNote that Get*Tagging APIs are not supported.
Tom Clegg [Thu, 30 Jun 2022 20:14:50 +0000 (16:14 -0400)]
Note that Get*Tagging APIs are not supported.

refs #19088

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

2 years agoMerge branch '19088-s3-properties-tags'
Tom Clegg [Thu, 30 Jun 2022 20:03:52 +0000 (16:03 -0400)]
Merge branch '19088-s3-properties-tags'

closes #19088

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

2 years agoMerge branch '18870-installer' refs #18870
Peter Amstutz [Thu, 30 Jun 2022 18:06:48 +0000 (14:06 -0400)]
Merge branch '18870-installer' refs #18870

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

2 years ago18870: Add message about running diagnostics
Peter Amstutz [Thu, 30 Jun 2022 17:27:59 +0000 (13:27 -0400)]
18870: Add message about running diagnostics

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

2 years ago18870: Handle possibly undefined command line parameters
Peter Amstutz [Thu, 30 Jun 2022 17:21:26 +0000 (13:21 -0400)]
18870: Handle possibly undefined command line parameters

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

2 years ago18870: Added a bunch of comments & documentation
Peter Amstutz [Thu, 30 Jun 2022 17:11:31 +0000 (13:11 -0400)]
18870: Added a bunch of comments & documentation

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

2 years agoMerge branch '16561-listen-url'
Tom Clegg [Wed, 29 Jun 2022 17:37:15 +0000 (13:37 -0400)]
Merge branch '16561-listen-url'

closes #16561

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

2 years agoMerge branch '19205-monitor-handler-threads'
Tom Clegg [Wed, 29 Jun 2022 17:36:00 +0000 (13:36 -0400)]
Merge branch '19205-monitor-handler-threads'

closes #19205

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

2 years ago18858: Adds duplicated email check & tests.
Lucas Di Pentima [Fri, 24 Jun 2022 17:29:05 +0000 (14:29 -0300)]
18858: Adds duplicated email check & tests.

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

2 years ago18858: Fixes fixture to avoid having duplicated emails in user accounts.
Lucas Di Pentima [Fri, 24 Jun 2022 14:02:25 +0000 (11:02 -0300)]
18858: Fixes fixture to avoid having duplicated emails in user accounts.

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

2 years ago18858: Initial set of tests.
Lucas Di Pentima [Fri, 24 Jun 2022 13:08:54 +0000 (10:08 -0300)]
18858: Initial set of tests.

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

2 years ago18858: Enhances logging a bit.
Lucas Di Pentima [Thu, 23 Jun 2022 13:03:57 +0000 (10:03 -0300)]
18858: Enhances logging a bit.

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

2 years ago18858: Fixes user fixture: usernames can only be alphanums.
Lucas Di Pentima [Thu, 23 Jun 2022 12:22:53 +0000 (09:22 -0300)]
18858: Fixes user fixture: usernames can only be alphanums.

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

2 years ago18858: Fixes unlisted account deactivation logic. Improves logging.
Lucas Di Pentima [Tue, 21 Jun 2022 14:16:08 +0000 (11:16 -0300)]
18858: Fixes unlisted account deactivation logic. Improves logging.

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

2 years ago18858: Adds additional checks, improves logging.
Lucas Di Pentima [Fri, 17 Jun 2022 19:35:15 +0000 (16:35 -0300)]
18858: Adds additional checks, improves logging.

* Checks that if there's a LoginCluster federation, the current cluster
  isn't a satellite.
* Skips system users when called with -deactivate-unlisted option.

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

2 years ago18858: Avoids updating the current user. Adds unlisted user disable option.
Lucas Di Pentima [Fri, 17 Jun 2022 18:58:38 +0000 (15:58 -0300)]
18858: Avoids updating the current user. Adds unlisted user disable option.

Also, adds verbose logging.

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

2 years ago18858: Implements basic sync-users tool.
Lucas Di Pentima [Thu, 16 Jun 2022 19:07:40 +0000 (16:07 -0300)]
18858: Implements basic sync-users tool.

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

2 years ago18858: Doc site URL fix.
Lucas Di Pentima [Wed, 15 Jun 2022 13:26:54 +0000 (10:26 -0300)]
18858: Doc site URL fix.

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

2 years ago16561: Handle implicit port number in ws:// and wss:// urls.
Tom Clegg [Tue, 28 Jun 2022 19:40:26 +0000 (15:40 -0400)]
16561: Handle implicit port number in ws:// and wss:// urls.

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

2 years ago16561: Handle implicit port numbers in getListenAddress, add tests.
Tom Clegg [Tue, 28 Jun 2022 19:28:59 +0000 (15:28 -0400)]
16561: Handle implicit port numbers in getListenAddress, add tests.

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

2 years ago18870: Change the non-user oriented "FIXME" to "NOTE"
Peter Amstutz [Tue, 28 Jun 2022 16:30:04 +0000 (12:30 -0400)]
18870: Change the non-user oriented "FIXME" to "NOTE"

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

2 years ago18870: Check for 'fixme's
Peter Amstutz [Tue, 28 Jun 2022 16:28:02 +0000 (12:28 -0400)]
18870: Check for 'fixme's

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

2 years ago18870: Ensure sbin is in cron job PATH
Peter Amstutz [Mon, 27 Jun 2022 23:11:32 +0000 (19:11 -0400)]
18870: Ensure sbin is in cron job PATH

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

2 years ago18870: Improve logging of errors from login-sync
Peter Amstutz [Mon, 27 Jun 2022 23:06:59 +0000 (19:06 -0400)]
18870: Improve logging of errors from login-sync

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

2 years ago18870: Fix typo
Peter Amstutz [Mon, 27 Jun 2022 20:37:39 +0000 (16:37 -0400)]
18870: Fix typo

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

2 years ago18870: Use bash [[ ]] conditional syntax and order deploy
Peter Amstutz [Mon, 27 Jun 2022 20:29:23 +0000 (16:29 -0400)]
18870: Use bash [[ ]] conditional syntax and order deploy

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

2 years ago18870: Make sure database password is quoted in pillar
Peter Amstutz [Mon, 27 Jun 2022 20:13:21 +0000 (16:13 -0400)]
18870: Make sure database password is quoted in pillar

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

2 years ago18870: Change deploy target directory name
Peter Amstutz [Mon, 27 Jun 2022 16:58:08 +0000 (12:58 -0400)]
18870: Change deploy target directory name

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

2 years ago18870: Use correct default vm hostname
Peter Amstutz [Mon, 27 Jun 2022 14:43:14 +0000 (10:43 -0400)]
18870: Use correct default vm hostname

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

2 years ago18870: Fixing declare
Peter Amstutz [Mon, 27 Jun 2022 03:06:38 +0000 (23:06 -0400)]
18870: Fixing declare

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

2 years ago18870: Need to declare NODES as array
Peter Amstutz [Mon, 27 Jun 2022 02:57:08 +0000 (22:57 -0400)]
18870: Need to declare NODES as array

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

2 years ago18870: Fix diagnostic
Peter Amstutz [Mon, 27 Jun 2022 02:38:15 +0000 (22:38 -0400)]
18870: Fix diagnostic

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

2 years ago18870: fix
Peter Amstutz [Mon, 27 Jun 2022 02:34:35 +0000 (22:34 -0400)]
18870: fix

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

2 years ago18870: Run diagnostics
Peter Amstutz [Mon, 27 Jun 2022 02:33:27 +0000 (22:33 -0400)]
18870: Run diagnostics

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

2 years ago18870: another fix
Peter Amstutz [Mon, 27 Jun 2022 01:24:12 +0000 (21:24 -0400)]
18870: another fix

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

2 years ago18870: Fix typo
Peter Amstutz [Mon, 27 Jun 2022 01:23:24 +0000 (21:23 -0400)]
18870: Fix typo

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

2 years ago18870: Refactor sync
Peter Amstutz [Mon, 27 Jun 2022 01:22:03 +0000 (21:22 -0400)]
18870: Refactor sync

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

2 years ago18870: Deploy individual nodes
Peter Amstutz [Mon, 27 Jun 2022 00:46:41 +0000 (20:46 -0400)]
18870: Deploy individual nodes

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

2 years ago18870: Flexible branch naming
Peter Amstutz [Sun, 26 Jun 2022 23:43:26 +0000 (19:43 -0400)]
18870: Flexible branch naming

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

2 years ago18870: git stuff
Peter Amstutz [Sun, 26 Jun 2022 23:32:52 +0000 (19:32 -0400)]
18870: git stuff

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

2 years ago18870: tweaking git stuff
Peter Amstutz [Sun, 26 Jun 2022 23:29:43 +0000 (19:29 -0400)]
18870: tweaking git stuff

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

2 years ago18870: Commits stuff
Peter Amstutz [Sun, 26 Jun 2022 23:24:27 +0000 (19:24 -0400)]
18870: Commits stuff

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

2 years ago18870: Fix remote add
Peter Amstutz [Sun, 26 Jun 2022 23:13:24 +0000 (19:13 -0400)]
18870: Fix remote add

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

2 years ago18870: git add everything
Peter Amstutz [Sun, 26 Jun 2022 23:09:16 +0000 (19:09 -0400)]
18870: git add everything

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

2 years ago18870: Updating params.local
Peter Amstutz [Sun, 26 Jun 2022 23:03:54 +0000 (19:03 -0400)]
18870: Updating params.local

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

2 years ago18870: New script to help manage install
Peter Amstutz [Sun, 26 Jun 2022 22:42:03 +0000 (18:42 -0400)]
18870: New script to help manage install

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

2 years ago16561: Rearrange control flow for clarity.
Tom Clegg [Tue, 28 Jun 2022 14:39:33 +0000 (10:39 -0400)]
16561: Rearrange control flow for clarity.

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

2 years agoMerge branch '19217-silence-logs'
Tom Clegg [Tue, 28 Jun 2022 14:25:29 +0000 (10:25 -0400)]
Merge branch '19217-silence-logs'

fixes #19217

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

2 years agoAdd new method to upload files via Keep Web API keep_web_api_client_upload_method
Krzysztof Majewski [Tue, 28 Jun 2022 08:23:25 +0000 (10:23 +0200)]
Add new method to upload files via Keep Web API

Arvados-DCO-1.1-Signed-off-by: Krzysztof Majewski majewski.kielce@gmail.com

2 years ago19088: Document S3 properties-as-metadata feature.
Tom Clegg [Mon, 27 Jun 2022 19:06:31 +0000 (15:06 -0400)]
19088: Document S3 properties-as-metadata feature.

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

2 years ago19088: base64-encode non-ascii property values in response headers.
Tom Clegg [Mon, 27 Jun 2022 19:05:58 +0000 (15:05 -0400)]
19088: base64-encode non-ascii property values in response headers.

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

2 years ago19088: Export collection/project properties as bucket-level tags.
Tom Clegg [Mon, 27 Jun 2022 18:19:45 +0000 (14:19 -0400)]
19088: Export collection/project properties as bucket-level tags.

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

2 years ago19088: Export collection/project properties as x-amz-meta tags.
Tom Clegg [Mon, 27 Jun 2022 15:25:31 +0000 (11:25 -0400)]
19088: Export collection/project properties as x-amz-meta tags.

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

2 years ago19217: Silence SQL logs during database reset.
Tom Clegg [Mon, 27 Jun 2022 13:38:19 +0000 (09:38 -0400)]
19217: Silence SQL logs during database reset.

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

2 years ago16561: Document ListenURL config.
Tom Clegg [Fri, 24 Jun 2022 20:23:29 +0000 (16:23 -0400)]
16561: Document ListenURL config.

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

2 years ago19205: Fix flaky test.
Tom Clegg [Fri, 24 Jun 2022 18:08:34 +0000 (14:08 -0400)]
19205: Fix flaky test.

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

2 years agoMerge branch '18948-update-exit-code-early'
Tom Clegg [Fri, 24 Jun 2022 16:13:52 +0000 (12:13 -0400)]
Merge branch '18948-update-exit-code-early'

closes #18948

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

2 years ago19205: Remove redundant RequestTimeout implementation.
Tom Clegg [Fri, 24 Jun 2022 15:25:59 +0000 (11:25 -0400)]
19205: Remove redundant RequestTimeout implementation.

lib/controller doesn't need its own -- it uses lib/service, which uses
httpserver.HandlerWithDeadline.

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

2 years ago19205: Report longest-running active and abandoned reqs in metrics.
Tom Clegg [Fri, 24 Jun 2022 03:57:34 +0000 (23:57 -0400)]
19205: Report longest-running active and abandoned reqs in metrics.

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

2 years ago18948: Update test.
Tom Clegg [Fri, 24 Jun 2022 14:05:17 +0000 (10:05 -0400)]
18948: Update test.

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

2 years ago18948: Update container record exit_code as soon as it is known.
Tom Clegg [Thu, 23 Jun 2022 18:26:28 +0000 (14:26 -0400)]
18948: Update container record exit_code as soon as it is known.

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

2 years agoAllow multiple clusters to use loopback driver on same host.
Tom Clegg [Fri, 24 Jun 2022 05:33:11 +0000 (01:33 -0400)]
Allow multiple clusters to use loopback driver on same host.

If they don't ignore foreign UUIDs, they kill one another's processes
because A's container is never in B's queue.

refs #15370

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

2 years agoDon't wait for arvados-dispatch-cloud to come up if not enabled.
Tom Clegg [Wed, 22 Jun 2022 14:17:53 +0000 (10:17 -0400)]
Don't wait for arvados-dispatch-cloud to come up if not enabled.

Should fix workbench2 test suite.

No issue #

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

2 years agoMerge branch '19192-fix-deadlock'
Tom Clegg [Tue, 21 Jun 2022 19:31:44 +0000 (15:31 -0400)]
Merge branch '19192-fix-deadlock'

refs #19192

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

2 years ago16561: Remove unused entry from export whitelist.
Tom Clegg [Thu, 16 Jun 2022 17:51:10 +0000 (13:51 -0400)]
16561: Remove unused entry from export whitelist.

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

2 years ago16561: Replace ListenAddr with per-internal-url ListenURL.
Tom Clegg [Wed, 15 Jun 2022 18:54:28 +0000 (14:54 -0400)]
16561: Replace ListenAddr with per-internal-url ListenURL.

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

2 years ago16561: Detect ambiguous uses of ListenAddress.
Tom Clegg [Tue, 13 Jul 2021 21:18:02 +0000 (17:18 -0400)]
16561: Detect ambiguous uses of ListenAddress.

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

2 years ago16561: Add ListenAddress, explain InternalURLs/ExternalURL better.
Tom Clegg [Tue, 13 Jul 2021 20:16:36 +0000 (16:16 -0400)]
16561: Add ListenAddress, explain InternalURLs/ExternalURL better.

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

2 years ago19192: Add a few bytes to MemorySize to account for data structures.
Tom Clegg [Tue, 21 Jun 2022 03:16:30 +0000 (23:16 -0400)]
19192: Add a few bytes to MemorySize to account for data structures.

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

2 years ago19192: Fix deadlock in lookupnode.
Tom Clegg [Tue, 21 Jun 2022 01:02:06 +0000 (21:02 -0400)]
19192: Fix deadlock in lookupnode.

Readdir() was locking treenode after staleLock.

Child() was locking staleLock after treenode.

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

2 years agoPin protobuf version to <4.0.0, refs #19202
Peter Amstutz [Mon, 20 Jun 2022 18:26:22 +0000 (14:26 -0400)]
Pin protobuf version to <4.0.0, refs #19202

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

2 years agoMerge branch '19201-doc-warning-old-version'
Ward Vandewege [Fri, 17 Jun 2022 17:03:38 +0000 (13:03 -0400)]
Merge branch '19201-doc-warning-old-version'

closes #19201

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

2 years ago19201: add a liquid comment that explains what to do when changing the
Ward Vandewege [Fri, 17 Jun 2022 17:02:21 +0000 (13:02 -0400)]
19201: add a liquid comment that explains what to do when changing the
       div with id "old-version-warning"

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

2 years ago19201: add warning when users are viewing documentation for old Arvados
Ward Vandewege [Fri, 17 Jun 2022 13:55:07 +0000 (09:55 -0400)]
19201: add warning when users are viewing documentation for old Arvados
       versions.

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

2 years agoMerge branch '19193-rails-upgrade'. Closes #19193
Lucas Di Pentima [Tue, 14 Jun 2022 15:33:56 +0000 (12:33 -0300)]
Merge branch '19193-rails-upgrade'. Closes #19193

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

2 years ago19193: Pins sprockets gem to version <4.0 to avoid issues.
Lucas Di Pentima [Tue, 14 Jun 2022 13:49:50 +0000 (10:49 -0300)]
19193: Pins sprockets gem to version <4.0 to avoid issues.

This was already done on Workbench1 when upgraded to 5.2.

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

2 years ago19193: Upgrades RailsAPI & Workbench1 to address security issues.
Lucas Di Pentima [Tue, 14 Jun 2022 13:36:30 +0000 (10:36 -0300)]
19193: Upgrades RailsAPI & Workbench1 to address security issues.

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

2 years agoMerge branch '19146-can-write-manage'
Tom Clegg [Mon, 13 Jun 2022 18:30:59 +0000 (14:30 -0400)]
Merge branch '19146-can-write-manage'

refs #19146

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

2 years ago19146: Remove unneeded special case checks, explain the needed one.
Tom Clegg [Fri, 10 Jun 2022 15:44:33 +0000 (11:44 -0400)]
19146: Remove unneeded special case checks, explain the needed one.

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