-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: override default PluginDir
location for when slurmd is used in configless mode
#18
Conversation
Signed-off-by: Jason C. Nucciarone <[email protected]>
Also removed '-f' flag that points to system location of slurm.conf if running slurmd in configless mode. Slurm supports "included" configuration - where configuration is stored within multiple files - but it does not support overloading configuration. This means that if we're running in configless mode and pulling slurm.conf from the slurm controller, '-f /path/to/slurm.conf' is ignored. Signed-off-by: Jason C. Nucciarone <[email protected]>
Switch part plugin from autools -> nil and embed configure parameters into the override-build section. Signed-off-by: Jason C. Nucciarone <[email protected]>
Signed-off-by: Jason C. Nucciarone <[email protected]>
Will test on a live cluster and report the results. |
Per further investigation, the issue is that we set Need to fix this before this pull request can land 🔧 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, we can fix the spool problem later.
Yep, it seems like setting Might need some fancy logic for locating slurm.conf file when in configless mode, but we'll cross that bridge 🌉 |
Description
This pull request fixes configless mode for slurmd by patching Slurm's
src/common/Makefile.am
file to set the defaultPluginDir
andsysconfig
(slurm.conf) locations to snap-specific locations under$SNAP_COMMON
.Fixes #17
Changes
src/common/Makefile.am
and patch part in snapcraft.yaml.--authinfo
to configure munge authentication when running in configless mode.-f
flag from slurmd command when running in configless mode.Misc.
Updates the Slurm version to bugfix version 23.11.7.