arvados.git
2 years agoMerge branch '14018-acr-set-container-properties' into main
Peter Amstutz [Tue, 14 Sep 2021 20:08:12 +0000 (16:08 -0400)]
Merge branch '14018-acr-set-container-properties' into main

refs #14018

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

2 years agoMerge branch '18126-unpin-python-rsa' into main. Closes #18126
Lucas Di Pentima [Tue, 14 Sep 2021 14:04:43 +0000 (11:04 -0300)]
Merge branch '18126-unpin-python-rsa' into main. Closes #18126

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

2 years ago18126: Unpins python-rsa since python2 support is no longer needed.
Lucas Di Pentima [Tue, 14 Sep 2021 13:35:52 +0000 (10:35 -0300)]
18126: Unpins python-rsa since python2 support is no longer needed.

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

2 years ago14018: Add missing file. Remove debug print()
Peter Amstutz [Mon, 13 Sep 2021 16:23:37 +0000 (12:23 -0400)]
14018: Add missing file.  Remove debug print()

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

2 years agoMerge branch '17960-arv-copy-projects-doc' into main refs #17960
Peter Amstutz [Mon, 13 Sep 2021 15:47:36 +0000 (11:47 -0400)]
Merge branch '17960-arv-copy-projects-doc' into main refs #17960

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

2 years agoMerge branch '18027-boot-probe-command' into main
Tom Clegg [Mon, 13 Sep 2021 15:40:48 +0000 (11:40 -0400)]
Merge branch '18027-boot-probe-command' into main

fixes #18027

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

2 years ago17960: Fix example uuid.
Peter Amstutz [Fri, 10 Sep 2021 21:07:48 +0000 (17:07 -0400)]
17960: Fix example uuid.

Remove legacy current token screenshot.

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

2 years agoMerge branch '17857-lsf-cpus'
Tom Clegg [Fri, 10 Sep 2021 14:27:27 +0000 (10:27 -0400)]
Merge branch '17857-lsf-cpus'

refs #17857

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

2 years agoMerge branch '17995-filter-by-comparing-attrs'
Tom Clegg [Fri, 10 Sep 2021 14:25:58 +0000 (10:25 -0400)]
Merge branch '17995-filter-by-comparing-attrs'

closes #17995

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

2 years agoMerge branch '18024-no-docker-snap' into main
Peter Amstutz [Fri, 10 Sep 2021 14:21:26 +0000 (10:21 -0400)]
Merge branch '18024-no-docker-snap' into main

refs #18024

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

2 years agoReleases have default version of arvbox to pull
Peter Amstutz [Thu, 9 Sep 2021 14:26:47 +0000 (10:26 -0400)]
Releases have default version of arvbox to pull

no issue #

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

2 years agoMerge branch '18102-max-dispatch-attempts'
Tom Clegg [Thu, 9 Sep 2021 18:08:13 +0000 (14:08 -0400)]
Merge branch '18102-max-dispatch-attempts'

fixes #18102

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

2 years ago18027: Change default boot probe to `systemctl is-system-running`.
Tom Clegg [Thu, 9 Sep 2021 18:01:59 +0000 (14:01 -0400)]
18027: Change default boot probe to `systemctl is-system-running`.

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

2 years agoMerge branch '18027-unmount-fuse'
Tom Clegg [Thu, 9 Sep 2021 15:35:52 +0000 (11:35 -0400)]
Merge branch '18027-unmount-fuse'

refs #18027

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

2 years ago17857: Fix bsub args so containers can use multiple CPU cores.
Tom Clegg [Thu, 9 Sep 2021 13:24:59 +0000 (09:24 -0400)]
17857: Fix bsub args so containers can use multiple CPU cores.

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

2 years ago17960: Update arv-copy documentation about copying projects
Peter Amstutz [Wed, 8 Sep 2021 21:32:35 +0000 (17:32 -0400)]
17960: Update arv-copy documentation about copying projects

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

2 years ago18024: Add a note about snap packages
Peter Amstutz [Wed, 8 Sep 2021 20:09:00 +0000 (16:09 -0400)]
18024: Add a note about snap packages

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

2 years agoMerge branch '17989-revert-pysdk-default-timeout' into main. Closes #17989
Lucas Di Pentima [Wed, 8 Sep 2021 18:43:27 +0000 (15:43 -0300)]
Merge branch '17989-revert-pysdk-default-timeout' into main. Closes #17989

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

2 years ago17989: Reverts default PySDK timeout to 5 minutes. Updates test.
Lucas Di Pentima [Wed, 8 Sep 2021 18:20:06 +0000 (15:20 -0300)]
17989: Reverts default PySDK timeout to 5 minutes. Updates test.

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

2 years agoMerge branch '17989-pysdk-timeout' into main. Refs #17989
Lucas Di Pentima [Wed, 8 Sep 2021 13:55:22 +0000 (10:55 -0300)]
Merge branch '17989-pysdk-timeout' into main. Refs #17989

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

2 years ago17989: Reduces the manifest size limit so that it doesn't fail on extreme cases
Lucas Di Pentima [Tue, 7 Sep 2021 21:19:27 +0000 (18:19 -0300)]
17989: Reduces the manifest size limit so that it doesn't fail on extreme cases

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

2 years ago17989: Passes the given timeout value to api_from_config()
Lucas Di Pentima [Tue, 7 Sep 2021 21:11:30 +0000 (18:11 -0300)]
17989: Passes the given timeout value to api_from_config()

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

2 years ago17989: Adds test exposing the problem.
Lucas Di Pentima [Tue, 7 Sep 2021 21:10:34 +0000 (18:10 -0300)]
17989: Adds test exposing the problem.

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

2 years agoMerge branch '18112-ubuntu1804-bundler-fix'
Ward Vandewege [Tue, 7 Sep 2021 19:03:44 +0000 (15:03 -0400)]
Merge branch '18112-ubuntu1804-bundler-fix'

closes #18112

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

2 years ago18112: Merge branch 'main' into 18112-ubuntu1804-bundler-fix
Ward Vandewege [Tue, 7 Sep 2021 19:03:21 +0000 (15:03 -0400)]
18112: Merge branch 'main' into 18112-ubuntu1804-bundler-fix

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

2 years ago14018: Add ProcessProperties to documentation
Peter Amstutz [Tue, 7 Sep 2021 18:59:11 +0000 (14:59 -0400)]
14018: Add ProcessProperties to documentation

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

2 years ago18112: add a note to the upgrade log.
Ward Vandewege [Tue, 7 Sep 2021 18:48:42 +0000 (14:48 -0400)]
18112: add a note to the upgrade log.

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

2 years ago14018: Add arv:ProcessProperties to all the extension schemas.
Peter Amstutz [Tue, 7 Sep 2021 18:45:40 +0000 (14:45 -0400)]
14018: Add arv:ProcessProperties to all the extension schemas.

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

2 years ago18112: Ubuntu 18.04 comes with bundler version 1.16.1, which doesn't handle our
Ward Vandewege [Tue, 7 Sep 2021 18:06:47 +0000 (14:06 -0400)]
18112: Ubuntu 18.04 comes with bundler version 1.16.1, which doesn't handle our
current Gemfiles properly. Make our Ubuntu 18.04 distribution packages
for arvados-api-server and arvados-workbench conflict with the
ruby-bundler package to work around this issue. Our post-install scripts
install the proper version of bundler.

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

2 years agoMerge branch '18021-sort-mounts'
Tom Clegg [Tue, 7 Sep 2021 17:48:28 +0000 (13:48 -0400)]
Merge branch '18021-sort-mounts'

fixes #18021

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

2 years ago18021: Sort mounts to fix flaky test.
Tom Clegg [Tue, 7 Sep 2021 14:56:04 +0000 (10:56 -0400)]
18021: Sort mounts to fix flaky test.

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

2 years agoMerge branch '18078-reacquire-fuse-lock' into main refs #18078
Peter Amstutz [Tue, 7 Sep 2021 15:47:30 +0000 (11:47 -0400)]
Merge branch '18078-reacquire-fuse-lock' into main refs #18078

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

2 years agoMerge branch '18094-update-uuid-endpoint-removal' into main. Closes #18094
Lucas Di Pentima [Tue, 7 Sep 2021 14:00:52 +0000 (11:00 -0300)]
Merge branch '18094-update-uuid-endpoint-removal' into main. Closes #18094

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

2 years agoMerge branch '18076-user-cache-with-repository' into main. Closes #18076
Lucas Di Pentima [Tue, 7 Sep 2021 13:43:44 +0000 (10:43 -0300)]
Merge branch '18076-user-cache-with-repository' into main. Closes #18076

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

2 years ago18102: Improve logging.
Tom Clegg [Mon, 6 Sep 2021 19:48:50 +0000 (15:48 -0400)]
18102: Improve logging.

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

2 years ago18102: Avoid spamming logs in case of version mismatch.
Tom Clegg [Mon, 6 Sep 2021 19:48:13 +0000 (15:48 -0400)]
18102: Avoid spamming logs in case of version mismatch.

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

2 years ago18102: Fix flapping lock/unlock.
Tom Clegg [Tue, 7 Sep 2021 01:51:40 +0000 (21:51 -0400)]
18102: Fix flapping lock/unlock.

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

2 years ago18076: Fixes the bug by assigning a different (and random) username.
Lucas Di Pentima [Mon, 6 Sep 2021 19:41:40 +0000 (16:41 -0300)]
18076: Fixes the bug by assigning a different (and random) username.

If the renamed user does exist on the LoginCluster, it'll eventually be named
correctly, and it is a stale record, it'll get a username that gives the admin
a clue about what happened to it.

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

2 years ago18076: Expands test case exposing a related issue with users with a repository.
Lucas Di Pentima [Mon, 6 Sep 2021 19:28:42 +0000 (16:28 -0300)]
18076: Expands test case exposing a related issue with users with a repository.

The previous fix set the conflicting user's username to null but this isn't
possible when the user record is linked to a repository.

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

2 years ago18102: Fix double-unlock in scheduler.
Tom Clegg [Mon, 6 Sep 2021 18:47:03 +0000 (14:47 -0400)]
18102: Fix double-unlock in scheduler.

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

2 years ago18078: Fix tests
Peter Amstutz [Fri, 3 Sep 2021 21:22:14 +0000 (17:22 -0400)]
18078: Fix tests

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

2 years ago18094: Removes update_uuid from the R SDK.
Lucas Di Pentima [Fri, 3 Sep 2021 19:04:34 +0000 (16:04 -0300)]
18094: Removes update_uuid from the R SDK.

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

2 years agoMerge branch '17755-add-singularity-to-compute-image'
Ward Vandewege [Fri, 3 Sep 2021 18:43:11 +0000 (14:43 -0400)]
Merge branch '17755-add-singularity-to-compute-image'

closes #17755

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

2 years ago18094: Removes update_uuid code & tests from railsAPI.
Lucas Di Pentima [Fri, 3 Sep 2021 18:39:05 +0000 (15:39 -0300)]
18094: Removes update_uuid code & tests from railsAPI.

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

2 years ago18027: Kill arv-mount directly if arv-mount --unmount cannot run.
Tom Clegg [Fri, 3 Sep 2021 14:29:05 +0000 (10:29 -0400)]
18027: Kill arv-mount directly if arv-mount --unmount cannot run.

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

2 years ago18027: Fix crash when reporting error during --unmount.
Tom Clegg [Fri, 3 Sep 2021 14:26:36 +0000 (10:26 -0400)]
18027: Fix crash when reporting error during --unmount.

Traceback (most recent call last):
  File "/usr/bin/arv-mount", line 10, in <module>
    arvados_fuse.command.Mount(args).run()
  File "/usr/share/python3/dist/python3-arvados-fuse/lib/python3.7/site-packages/arvados_fuse/command.py", line 172, in run
    recursive=self.args.unmount_all)
  File "/usr/share/python3/dist/python3-arvados-fuse/lib/python3.7/site-packages/arvados_fuse/unmount.py", line 162, in unmount
    sys.stderr.write(fusermount_output)
TypeError: write() argument must be str, not bytes

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

2 years ago17755: Merge branch 'main' into 17755-add-singularity-to-compute-image
Ward Vandewege [Fri, 3 Sep 2021 14:03:20 +0000 (10:03 -0400)]
17755: Merge branch 'main' into 17755-add-singularity-to-compute-image

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

2 years ago18094: Removes update_uuid from GoSDK & controller.
Lucas Di Pentima [Fri, 3 Sep 2021 00:01:17 +0000 (21:01 -0300)]
18094: Removes update_uuid from GoSDK & controller.

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

2 years ago18094: Updates documentation, adding an upgrade note.
Lucas Di Pentima [Thu, 2 Sep 2021 20:37:21 +0000 (17:37 -0300)]
18094: Updates documentation, adding an upgrade note.

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

2 years agoMerge branch '18076-stale-cached-users-handling' into main. Closes #18076
Lucas Di Pentima [Thu, 2 Sep 2021 20:07:28 +0000 (17:07 -0300)]
Merge branch '18076-stale-cached-users-handling' into main. Closes #18076

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

2 years ago18076: Improves test.
Lucas Di Pentima [Thu, 2 Sep 2021 20:06:38 +0000 (17:06 -0300)]
18076: Improves test.

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

2 years ago18076: Fixes the bug, expands the test with additional checks.
Lucas Di Pentima [Thu, 2 Sep 2021 18:54:23 +0000 (15:54 -0300)]
18076: Fixes the bug, expands the test with additional checks.

If there's a stale cached user record that's creating the username collision,
set it to nil before retrying the update. There're two scenarios this is
covering:

1. The stale user record belongs to an existing user on LoginCluster. Its
   username was taken by other user so the new username is coming in the
   batch_update operation -- it's ok to temporarily have it set to nil.
2. The stale user record doesn't exist on LoginCluster anymore, so having
   it being reset to nil isn't harmful and avoids future collisions.

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

2 years ago18076: Adds test exposing the issue.
Lucas Di Pentima [Wed, 1 Sep 2021 20:41:01 +0000 (17:41 -0300)]
18076: Adds test exposing the issue.

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

2 years ago14018: Setting process properties WIP
Peter Amstutz [Thu, 2 Sep 2021 17:51:04 +0000 (13:51 -0400)]
14018: Setting process properties WIP

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

2 years ago14018: Setting process properties WIP
Peter Amstutz [Thu, 2 Sep 2021 17:15:52 +0000 (13:15 -0400)]
14018: Setting process properties WIP

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

2 years ago18078: Reacquire llfuse lock before populating collection directory
Peter Amstutz [Thu, 2 Sep 2021 15:20:12 +0000 (11:20 -0400)]
18078: Reacquire llfuse lock before populating collection directory

Updates the test for generating "conflict" files.

I don't have a test case for the reported bug, however this is the
only place I could find where _entries was being modified without the
lock held.  By reacquiring the lock, it should no longer be possible
to read _entries at the same time as it is being updated.

Also clean up a few "from future" bits that are no longer needed
because we're python 3 only.

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

2 years agoMerge branch '17696-gosdk-default-storage-class' into main. Closes #17696
Lucas Di Pentima [Wed, 1 Sep 2021 20:00:45 +0000 (17:00 -0300)]
Merge branch '17696-gosdk-default-storage-class' into main. Closes #17696

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

2 years ago17995: Fix merge error.
Tom Clegg [Wed, 1 Sep 2021 18:38:40 +0000 (14:38 -0400)]
17995: Fix merge error.

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

2 years ago17995: Merge branch 'main'
Tom Clegg [Wed, 1 Sep 2021 18:24:47 +0000 (14:24 -0400)]
17995: Merge branch 'main'

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

2 years ago17995: Accept boolean expressions as strings without ["...",=,true].
Tom Clegg [Wed, 1 Sep 2021 18:22:59 +0000 (14:22 -0400)]
17995: Accept boolean expressions as strings without ["...",=,true].

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

2 years agoUpdate test to accept non-empty default BsubArgumentsList.
Tom Clegg [Wed, 1 Sep 2021 13:18:29 +0000 (09:18 -0400)]
Update test to accept non-empty default BsubArgumentsList.

refs #17857

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

2 years agoUpdate default bsub arguments to save stdout/stderr in /tmp.
Tom Clegg [Tue, 31 Aug 2021 20:43:17 +0000 (16:43 -0400)]
Update default bsub arguments to save stdout/stderr in /tmp.

refs #17857

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

2 years agoFix misleading log message.
Tom Clegg [Tue, 31 Aug 2021 20:22:09 +0000 (16:22 -0400)]
Fix misleading log message.

refs #17857

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

2 years ago17696: Updates tests to check for backwards compatibility.
Lucas Di Pentima [Mon, 30 Aug 2021 20:19:11 +0000 (17:19 -0300)]
17696: Updates tests to check for backwards compatibility.

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

2 years ago17696: Moves default storage classes loading to keepclient.New().
Lucas Di Pentima [Thu, 26 Aug 2021 21:02:01 +0000 (18:02 -0300)]
17696: Moves default storage classes loading to keepclient.New().

Also adds integration test that proves that a collection and its keepclient
use the same default storage classes list.

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

2 years ago17696: Adds default storage classes config loading to KeepClient, with tests.
Lucas Di Pentima [Mon, 23 Aug 2021 16:08:35 +0000 (13:08 -0300)]
17696: Adds default storage classes config loading to KeepClient, with tests.

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

2 years ago17696: Adds ArvadosClient.ClusterConfig() to get the exported cluster's config.
Lucas Di Pentima [Fri, 20 Aug 2021 16:09:39 +0000 (13:09 -0300)]
17696: Adds ArvadosClient.ClusterConfig() to get the exported cluster's config.

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

2 years ago17995: Merge branch 'main'
Tom Clegg [Mon, 30 Aug 2021 18:02:46 +0000 (14:02 -0400)]
17995: Merge branch 'main'

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

2 years ago17995: Rephrase filter expression docs.
Tom Clegg [Mon, 30 Aug 2021 18:02:03 +0000 (14:02 -0400)]
17995: Rephrase filter expression docs.

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

2 years agoMerge branch '17217-collection-signatures' into main
Tom Clegg [Mon, 30 Aug 2021 17:29:33 +0000 (13:29 -0400)]
Merge branch '17217-collection-signatures' into main

closes #17217

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

2 years agoMerge branch '17994-filter-by-storage-classes' into main
Tom Clegg [Mon, 30 Aug 2021 17:27:03 +0000 (13:27 -0400)]
Merge branch '17994-filter-by-storage-classes' into main

closes #17994

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

2 years agoFix whitespace.
Ward Vandewege [Mon, 30 Aug 2021 14:59:33 +0000 (10:59 -0400)]
Fix whitespace.

No issue #

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

2 years ago17217: Sign locators in CollectionCreate and Update.
Tom Clegg [Mon, 30 Aug 2021 14:07:33 +0000 (10:07 -0400)]
17217: Sign locators in CollectionCreate and Update.

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

2 years ago17217: Update RailsAPI tests to not expect signatures.
Tom Clegg [Thu, 26 Aug 2021 20:02:10 +0000 (16:02 -0400)]
17217: Update RailsAPI tests to not expect signatures.

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

2 years ago17217: Test signature expiry times.
Tom Clegg [Thu, 26 Aug 2021 18:36:18 +0000 (14:36 -0400)]
17217: Test signature expiry times.

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

2 years ago17217: Skip signatures when BlobSigning=false.
Tom Clegg [Thu, 26 Aug 2021 04:10:52 +0000 (00:10 -0400)]
17217: Skip signatures when BlobSigning=false.

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

2 years agoMerge branch '17696-pysdk-default-storage-class' into main. Refs #17696
Lucas Di Pentima [Fri, 27 Aug 2021 15:22:47 +0000 (12:22 -0300)]
Merge branch '17696-pysdk-default-storage-class' into main. Refs #17696

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

2 years ago17994: Document new filtering capabilities.
Tom Clegg [Fri, 27 Aug 2021 15:18:08 +0000 (11:18 -0400)]
17994: Document new filtering capabilities.

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

2 years ago17994: Document filtering by comparing two attributes.
Tom Clegg [Fri, 27 Aug 2021 14:19:17 +0000 (10:19 -0400)]
17994: Document filtering by comparing two attributes.

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

2 years ago17994: Accept a few very specific expressions as filters.
Tom Clegg [Thu, 26 Aug 2021 20:34:42 +0000 (16:34 -0400)]
17994: Accept a few very specific expressions as filters.

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

2 years agoNeed to match the regex again
Peter Amstutz [Thu, 26 Aug 2021 22:45:56 +0000 (18:45 -0400)]
Need to match the regex again

no issue #

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

2 years agoMerge branch '15159-export-trustallcontent' into main. Closes #15159
Stephen Smith [Thu, 26 Aug 2021 16:52:20 +0000 (12:52 -0400)]
Merge branch '15159-export-trustallcontent' into main. Closes #15159

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

2 years ago17696: Updates API documentation adding storage_classes_* fields.
Lucas Di Pentima [Thu, 19 Aug 2021 22:27:12 +0000 (19:27 -0300)]
17696: Updates API documentation adding storage_classes_* fields.

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

2 years ago17696: Updates docstring on arvados.Collection class.
Lucas Di Pentima [Thu, 19 Aug 2021 21:29:19 +0000 (18:29 -0300)]
17696: Updates docstring on arvados.Collection class.

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

2 years ago17696: KeepClient uses default storage classes when none is required explicitly
Lucas Di Pentima [Thu, 19 Aug 2021 21:08:39 +0000 (18:08 -0300)]
17696: KeepClient uses default storage classes when none is required explicitly

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

2 years ago17217: Add signatures test for groups/contents.
Tom Clegg [Thu, 26 Aug 2021 04:04:30 +0000 (00:04 -0400)]
17217: Add signatures test for groups/contents.

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

2 years ago17217: Update tests, remove unused code.
Tom Clegg [Thu, 26 Aug 2021 04:04:26 +0000 (00:04 -0400)]
17217: Update tests, remove unused code.

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

2 years ago17217: Remove crufty test util funcs.
Tom Clegg [Tue, 24 Aug 2021 20:07:43 +0000 (16:07 -0400)]
17217: Remove crufty test util funcs.

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

2 years ago17217: Sign manifests in controller instead of RailsAPI.
Tom Clegg [Tue, 24 Aug 2021 20:07:34 +0000 (16:07 -0400)]
17217: Sign manifests in controller instead of RailsAPI.

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

2 years agoMerge branch '17755-singularity-race' into main refs #17755
Peter Amstutz [Wed, 25 Aug 2021 19:34:04 +0000 (15:34 -0400)]
Merge branch '17755-singularity-race' into main refs #17755

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

2 years ago17755: Fix os.Stat
Peter Amstutz [Wed, 25 Aug 2021 17:01:45 +0000 (13:01 -0400)]
17755: Fix os.Stat

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

2 years ago17755: Add ensure_unique_name to avoid collisions on creating cache collection
Peter Amstutz [Tue, 24 Aug 2021 20:46:21 +0000 (16:46 -0400)]
17755: Add ensure_unique_name to avoid collisions on creating cache collection

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

2 years agoMerge branch '17948-test-collection-tool' into main. Closes #17948
Lucas Di Pentima [Tue, 24 Aug 2021 20:18:19 +0000 (17:18 -0300)]
Merge branch '17948-test-collection-tool' into main. Closes #17948

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

2 years agoarvbox ensures workbench2 development server doesn't run with HTTPS
Peter Amstutz [Tue, 24 Aug 2021 17:51:12 +0000 (13:51 -0400)]
arvbox ensures workbench2 development server doesn't run with HTTPS

This is because it is already proxied through nginx, which is set up
with the correct certificates.

Also install 'vim-tiny' to have a way to edit files inside the container.

no issue #

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

2 years agoMerge branch '18004-cached-token-race-condition' into main. Closes #18004
Lucas Di Pentima [Tue, 24 Aug 2021 15:31:11 +0000 (12:31 -0300)]
Merge branch '18004-cached-token-race-condition' into main. Closes #18004

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

2 years ago17994: Update comment.
Tom Clegg [Tue, 24 Aug 2021 13:57:10 +0000 (09:57 -0400)]
17994: Update comment.

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

2 years ago17994: Support filtering by element/key presence in jsonb columns.
Tom Clegg [Tue, 24 Aug 2021 13:47:04 +0000 (09:47 -0400)]
17994: Support filtering by element/key presence in jsonb columns.

Remove storage_classes_* from searchable_columns so that filters with
the magic attr "any" don't try to search them.

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

2 years agoMerge branch '15430-fts-operator-removal' into main. Closes #15430
Lucas Di Pentima [Mon, 23 Aug 2021 21:47:29 +0000 (18:47 -0300)]
Merge branch '15430-fts-operator-removal' into main. Closes #15430

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

2 years ago15430: Improves upgrade notes.
Lucas Di Pentima [Mon, 23 Aug 2021 21:37:12 +0000 (18:37 -0300)]
15430: Improves upgrade notes.

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

2 years agoMerge branch '17698-keepstore-concurrent-writes'
Tom Clegg [Mon, 23 Aug 2021 18:22:35 +0000 (14:22 -0400)]
Merge branch '17698-keepstore-concurrent-writes'

closes #17698

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