You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the snap creates an empty file at startup time. However, a small papercut of this is that if the slurmd is transitioned into configless mode, the daemon will try to load the empty file, even if the config has been already fetched from slurmctld. This adds a manual step of having to delete the file manually.
Technically this could be solved by deleting the file if the user sets the slurm.config-server option. Though, this could cause problems for users that had an extensive config there, since it would make it harder to unroll the change in case the user wants to return to the classic behaviour. Maybe this won't be a problem; the config file is replicated between the controller and all the nodes, which should be pretty easy to do manually; but I think it would be good to think about this before implementing a solution that deletes or modifies the config file.
The text was updated successfully, but these errors were encountered:
I consider this a bug within in the snap. The install hook will seed an empty slurm.conf file when the snap is first installed. This file isn't actually required since the snap still needs some additional configuration before Slurm is ready to get "slurmy."
It would be better if we just created the file when an administrator actually sets a configuration parameter for slurm.conf rather than seed an empty file at install time. This then allows us to throw an error if the administrator sets a configuration parameter when slurmd is configured to run in configless/dynamic mode, and gives us the ability to automatically delete the file when configless mode is enabled.
NucciTheBoss
changed the title
Decide what to do about slurm.conf on slurmd in configless mode
[Bug]: Preseeded _slurm.conf_ conflicts with _slurm.conf_ retrieved from controller when in configless mode
Jun 25, 2024
NucciTheBoss
changed the title
[Bug]: Preseeded _slurm.conf_ conflicts with _slurm.conf_ retrieved from controller when in configless mode
[Bug]: Preseeded *slurm.conf* conflicts with *slurm.conf* retrieved from controller when in configless mode
Jun 25, 2024
NucciTheBoss
changed the title
[Bug]: Preseeded *slurm.conf* conflicts with *slurm.conf* retrieved from controller when in configless mode
[Bug]: Preseeded slurm.conf conflicts with slurm.conf retrieved from controller when in configless mode
Jun 25, 2024
Right now the snap creates an empty file at startup time. However, a small papercut of this is that if the slurmd is transitioned into configless mode, the daemon will try to load the empty file, even if the config has been already fetched from slurmctld. This adds a manual step of having to delete the file manually.
Technically this could be solved by deleting the file if the user sets the
slurm.config-server
option. Though, this could cause problems for users that had an extensive config there, since it would make it harder to unroll the change in case the user wants to return to the classic behaviour. Maybe this won't be a problem; the config file is replicated between the controller and all the nodes, which should be pretty easy to do manually; but I think it would be good to think about this before implementing a solution that deletes or modifies the config file.The text was updated successfully, but these errors were encountered: