Skip to content

Conversation

@sjpb
Copy link
Collaborator

@sjpb sjpb commented Oct 14, 2025

As reported by @JenksJ:

When mounting a cifs mount that included white space in the source path the slurm NHC (Node Health Check) fails. This resulted in all the nodes being put into drain. The slurm warning output was something like:

NHC: check_fs_mount:
/mnt/gen_epi mounted from //10.10.10.10/3.040Projects/sequencing040list
(should match //10.10.10.10/3. Projects/sequencing list)

Ansible mount in /etc/fstab formats white space as ASCII code \040 including the .
/etc/fstab (and the CIFS kernel client) does not accept pre-escaped \040 in the src path. So the replace(' ', '\040') was added to ansible/roles/nhc/templates/nhc.conf.j2 as a quick fix.

@sjpb
Copy link
Collaborator Author

sjpb commented Oct 14, 2025

New PR created as per wiki to let our CI run.

@sjpb sjpb changed the title Replace whitespace with ASCII octal \040 Replace whitespace in NHC mount checks Oct 14, 2025
@sjpb sjpb marked this pull request as ready for review October 15, 2025 08:12
@sjpb sjpb requested a review from a team as a code owner October 15, 2025 08:12
Copy link
Contributor

@wtripp180901 wtripp180901 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sjpb sjpb merged commit 0dff59b into main Oct 17, 2025
44 of 49 checks passed
@sjpb sjpb deleted the fix/NHC_fails_mount_with_space branch October 17, 2025 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants