Repository navigation
mgr/dashboard: tolerate nodeenv leaving no src directory behind - #72108
Merged
Merged
Conversation
nodeenv 1.11.0 (released 2026-09-26) no longer leaves the node-env/src directory behind after installing a prebuilt node. The build step runs an unpinned `pip install nodeenv`, so as of today every build with WITH_MGR_DASHBOARD_FRONTEND fails at chown: cannot access '.../node-env/src': No such file or directory ninja: build stopped: subcommand failed. (e.g. ceph-pr-pipeline build 2504). The chown is a workaround for tarball uid mapping in containers and is only needed when the src directory exists, so skip it when there is nothing to fix up. Assisted-by: Claude Fable 5 Signed-off-by: David Galloway <[email protected]>
shraddhaag
reviewed
Sep 27, 2026
shraddhaag
left a comment
Contributor
There was a problem hiding this comment.
LGTM! Facing the same error in #72105.
6 of 14 tasks
RaminNietzsche
added a commit
to RaminNietzsche/ceph
that referenced
this pull request
Sep 27, 2026
nodeenv 1.11.0 installs prebuilt node without leaving node-env/src, which breaks the dashboard chown step in Jenkins. Same fix as ceph#72108. Signed-off-by: ramin.najarbashi <[email protected]>
tchaikov
approved these changes
Sep 28, 2026
| # that lets tar set the uid to a "bad" uid outside the namespace. | ||
| # nodeenv >= 1.11.0 no longer leaves the src directory behind after a | ||
| # prebuilt node install, so tolerate it being absent | ||
| COMMAND bash -c 'test ! -e ${mgr-dashboard-nodeenv-dir}/src || chown -R `id -u`:`id -g` ${mgr-dashboard-nodeenv-dir}/src' |
Contributor
There was a problem hiding this comment.
probably after nodeenv 1.11.0 is populated to more index mirrors, we can just install nodeenv >= 1.11.0 , and drop this chown workaround. see also ekalinin/nodeenv#404
4 of 14 tasks
Contributor
|
@afreen23 @phlogistonjohn Hi Afreen and John, it'd be better if this change is review by you, but i am taking the liberty of merging this PR, as currently, the "make check" ci workflow is failing because of |
uw-sc
added a commit
to cobaltcore-dev/ceph
that referenced
this pull request
Oct 16, 2026
Backport-Id: 01a142fa-04c1-750b-8d64-fa05fea8072b Backport-PR: #30 Upstream-PRs: ceph#72108, ceph#72167
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
nodeenv 1.11.0 (released 2026-09-26 11:29 UTC) no longer leaves the
node-env/srcdirectory behind after installing a prebuilt node. The frontend build step runs an unpinnedpip install nodeenv, so every build withWITH_MGR_DASHBOARD_FRONTEND(i.e. all ofmake check/ API tests CI) started failing today:(e.g. ceph-pr-pipeline build 2504 on #72090, but any PR built after ~11:29 UTC today hits it.)
The
chownis a workaround for node-tarball uid mapping inside containers and only matters when thesrcdirectory exists — skip it when there's nothing to fix up.Checklist