Skip to content

fix(syncfiles): retain the client name when node lookup fails - #7971

Merged
dhilst merged 5 commits into
xcat2:masterfrom
VersatusHPC:fix/syncfiles-diagnostics-coverage
Oct 23, 2026
Merged

dhilst merged 5 commits into
xcat2:masterfrom
VersatusHPC:fix/syncfiles-diagnostics-coverage

Conversation

@viniciusferrao

Copy link
Copy Markdown
Member

Keep the original client hostname in the diagnostic when syncfiles cannot resolve it to a node. Continue rejecting the request without starting a copy.

Add coverage for xdcp and updatenode identity precedence and authenticated MN/SN file delivery. Keep certificate authorization, inherited user settings and copy behavior unchanged.

Keep the original client name for the rejection diagnostic. Use the resolved
node only for dispatch, without changing identity or copy-command handling.
Check the original hostname in the unresolved-node diagnostic. Keep blank and missing-client rejection covered without sending a copy request.
Drive the real xdsh and DSHCLI parser from syncfiles and updatenode. Capture only the external copy boundary and preserve inherited identity behavior.
Exercise certificate policy and real SSH copies in a disposable MN/SN/node fixture. This test is opt-in and skips in ordinary CI without XCAT_SYNCFILES_LIVE_CONFIG.
Document the restricted certificate policy, required tools and cleanup limits. Distinguish the fixture from the default certificate-free postscript path.
@viniciusferrao
viniciusferrao requested a review from dhilst October 22, 2026 02:46
@dhilst
dhilst merged commit 37117ab into xcat2:master Oct 23, 2026
4 checks passed
dhilst added a commit to VersatusHPC/xcat-core that referenced this pull request Oct 23, 2026
Clean against the master that now carries xcat-core/xcat2#7968, xcat2#7970, xcat2#7971, xcat2#7975,
xcat2#7978 and xcat2#7980. xcat2#7968 touches buildrpms.pl and release_repository.t as this
branch does, in disjoint regions -- the locking sites here, createrepo_dir,
index_repo and sign_repo_dir there -- which a review of xcat2#7968 measured before it
landed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants