-
Notifications
You must be signed in to change notification settings - Fork 7
feat!: overhaul slurmd charm API #34
feat!: overhaul slurmd charm API #34
Conversation
16d79c8
to
85e8200
Compare
b59de6b
to
4cd40df
Compare
4cd40df
to
773be3c
Compare
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.
Overall, looks good. It will be nice to more effectively manage the configuration of both nodes and partitions per site requirements. Couple of comments, so please let me know if you have any questions!
Hey @jamesbeedy 👋 Could you please update this branch with the changes that you made to both the slurmdbd and slurmctld operators? Per our discussion yesterday during the Ubuntu HPC community call, we agreed that we would add some guardrails to the actions that enable administrators to modify the partition/node/slurm configuration. We can work on that in a follow-up pull request if that's good for you? |
773be3c
to
2916b7d
Compare
* Improve the way slurmd sends slurmctld its node-config * Add an action, `node-config` to get and set unit level node-configuration * Add `partition-config` charm configuration that allows an operator to set partition configuration * Consolidate the yaml files into `charmcraft.yaml` * Remove unused code * Remove slurm-ops-manager * Replace nhc resource with nhc in build process in charmcraft.yaml * Remove dependencies on slurmdbd * rename interface slurmd -> slurmctld * update readme * remove fluentbit * replace machine.py with slurmd -C
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.
I'm ready to land this 🛬
Just some final nits, but those are things that I will commit as suggestions before merging. We can open subsequent pull requests to further refine various parts of the API, but overall I think this looks great for overhauling the Slurm charm API.
Great, lets do it. +1 from me! |
Please reference the Slurm Charms Change Summary Document for an in-depth explanation of these changes.
These changes enhance the slurmd charm by:
slurmd
sendsslurmctld
its partition and node parameter optionsnode-config
to get and set unit-level node-configurationpartition-config
charm configuration that allows an operator to setpartition configuration
charmcraft.yaml
nhc
resource with nhc in build process in charmcraft.yamlslurmdbd
Depends on https://github.com/charmed-hpc/slurmctld-operator/pull/26/files