Brett Smith [Mon, 12 Feb 2024 03:16:55 +0000 (22:16 -0500)]
21452: Update test for new ProjectDirectory API
I ran the FUSE tests on my laptop before I ran them on Jenkins. This
test did not report failure. I don't understand why it
didn't. Unfortunately the test log runs past the end of my scrollback,
so that's a mystery lost to history.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Mon, 12 Feb 2024 02:02:19 +0000 (21:02 -0500)]
21452: Add --filters option to arv-mount
This allows users to specify arbitrary API filters to queries arv-mount
uses to build directory listings. This gives users a way to filter out
unwanted entries from a mount, similar to the filtering in Workbench.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Thu, 8 Feb 2024 17:05:44 +0000 (12:05 -0500)]
21230: Clean up venv diagnostic output
This output stopped making sense in the transition from using virtualenv
to the venv module. The module doesn't really have a version separate
from Python, so just report a boolean result. Refs #21230.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Wed, 7 Feb 2024 15:54:10 +0000 (10:54 -0500)]
21384: Update arvados-google-api-client in RailsAPI
There's no functional need for this. The main motivation is to make sure
this release and the associated stack gets thoroughly tested, to give us
more confidence it works for clients too.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Fri, 2 Feb 2024 07:26:26 +0000 (02:26 -0500)]
21417: Update arv-keepdocker for OCI-layout archives
Docker started saving image archives with this layout in version 25. Use
a more correct implementation that reads manifest.json as the archive
entry point and supports both layouts without branching.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Peter Amstutz [Thu, 1 Feb 2024 21:43:06 +0000 (16:43 -0500)]
21304: Check for nil from set_initial_username
If set_initial_username comes back as nil (this happens when calling
update_remote_user on a remote system user), don't set username in
'needupdate', in order to avoid a spurious user record update.
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Brett Smith [Mon, 29 Jan 2024 15:28:49 +0000 (10:28 -0500)]
21361: Remove CentOS 7 exceptions from Salt installer
This does leave behind some exceptions that look like they're for CentOS
7 but I believe are meant to be exceptions for Red Hat-family distros
generally. That refinement can happen as part of #21425.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Mon, 29 Jan 2024 03:10:11 +0000 (22:10 -0500)]
21361: Expand distro detection in Salt installer
The immediate motivation for this is to detect Alma/Rocky/RHEL 8.
The way we do it is by reading both the ID and ID_LIKE values from
/etc/os-release. All these have "rhel" in either ID or
ID_LIKE. Similiarly, Ubuntu has ID_LIKE=debian. We're already reading
this file anyway; now we just use more of it.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Mon, 29 Jan 2024 02:40:36 +0000 (21:40 -0500)]
21392: Package build scripts require --target
Now that we no longer support debian10, it doesn't make sense as a
default. Rather than continue updating the default at arbitrary points
in time, remove it and require the user to specify their target.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Tue, 30 Jan 2024 16:54:58 +0000 (11:54 -0500)]
21429: Remember and restore Docker service state
At least with systemd, which should cover all modern production
deployments. This makes the behavior of ensure-encrypted-partitions less
surprising in deployments where it runs in coordination with other
deployment scripts.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Stephen Smith [Tue, 23 Jan 2024 20:00:51 +0000 (15:00 -0500)]
21336: Add type checking to output data reducer instead of accepting any, fix
misalignments in payload type. Rename some properties for clarity to align with
passing in uuid in addition to output details to reducer.
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>
Tom Clegg [Wed, 17 Jan 2024 21:41:24 +0000 (16:41 -0500)]
20318: Fix arvados-login-sync and arvados-cli dependencies.
Previous requirement '~> 2.7.0.rc1' excluded the current prerelease
version '2.8.0.dev20231214204948' that the test suite deliberately
installs ahead of time, so bundler overrode that and selected the last
released published version 2.7.1 from rubygems, which is not
compatible with Ruby 3.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Brett Smith [Tue, 16 Jan 2024 16:14:02 +0000 (11:14 -0500)]
21230: Update virtualenv in fed-migrate test
I don't believe this is strictly necessary, but `python3 -m venv` is
more likely to work than `virtualenv` and better matches all our other
code. Everything else is just style updates.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Stephen Smith [Mon, 15 Jan 2024 21:44:12 +0000 (16:44 -0500)]
21353: Move url location check into waitUntil
It seems possible for window.location to be defined, then later undefined.
Moving the url location check should solve the problem by waiting for redirects
to be done.
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>
Brett Smith [Mon, 15 Jan 2024 14:52:29 +0000 (09:52 -0500)]
21230: Activate virtualenv in arvbox doc service
Generating the PySDK docs needs to actually import pdoc, not just run
it. Given this, linking pdoc in /usr/local/bin/ is probably more
confusing than helpful, so don't.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Fri, 12 Jan 2024 19:30:45 +0000 (14:30 -0500)]
21230: Fix binstubs generation in arvbox
At some point, bundle started installing binstubs in `bin/` by
default. Various pieces of arvbox assume they go in `binstubs/` and
break when they don't. Explicitly pass options to get the old behavior
where needed.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>