resume
action does not work due to 'resume' not being a valid state for a node.
#40
Labels
bug
Something isn't working
Bug Description
The
resume
action on slurmctld/leader fails becauseresume
is an invalid state. Valid states for compute nodes are:Therefore, instead of trying to set the node state to "resume" in the action handler, we should instead set it to "idle":
slurm-charms/charms/slurmctld/src/charm.py
Line 195 in e3e0fbd
To Reproduce
tox run -e integration -- --keep-models
juju run slurmctld/leader resume nodename="juju-656d75-[15-16]"
Environment
Latest version of slurmctld-operator
Relevant log output
Additional context
Originally caught, reported, and fixed by @matheushent
The text was updated successfully, but these errors were encountered: