[BUG] - shared
mount files not showing up on recent upgrade for 2024.9.1rc3
#2737
Labels
needs: triage 🚦
Someone needs to have a look at this issue and triage
type: bug 🐛
Something isn't working
Describe the bug
After the changes in #2593, a small bug was introduced concerning how the shared volume mount was being handled. Instead of mounting to
/shared/<group_name>
, an extra slash delimiter was unintentionally added due to a bug in one of the Keycloak to JupyterHub sections of the code.This led to new subpaths being included in the pod specifications as
/shared//<group_name>
. For newer deployments, this issue was not apparent and was difficult to catch unless inspecting the pod's YAML specification directly, since the subpaths and symlinks were generated correctly—albeit pointing to a double-slash folder location.However, the problem arises in existing deployments because the symlinks would have been broken. The volume mounts were not correctly mounted since those subpaths did not exist, which would most likely generate conflicting data.
Bellow you can see a comparassion of a upsgraded cluster and a fresly created one:
Here you can see the fresly instanciated EFSs from a new cluster do accept the double slashing, albeit this is wrong.
Expected behavior
shared folder should exist and contain the required user groups on upgraded nebari clusters
OS and architecture in which you are running Nebari
Linux
How to Reproduce the problem?
upgrade an existing nebari deployment to 2024.9.1rc* release
Command output
No response
Versions and dependencies used.
No response
Compute environment
None
Integrations
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: