After overhauling the API of the slurmctld operator, it doesn't look like the default-partition configuration option is used any more. The configuration option only seems to be reference within the _on_config_changed(...) hook and no where else within the charm:
I tried to find references to self._stored.default_partition outside of the event handler, but it only seems to be referenced here. Should we hook this back up into slurm.conf, or am I missing something? Seems like the default partition is set to Partition=DEFAULT Default=YES and setting a new default partition using juju config slurmctld default-partition=... has no effect.
After overhauling the API of the slurmctld operator, it doesn't look like the
default-partition
configuration option is used any more. The configuration option only seems to be reference within the_on_config_changed(...)
hook and no where else within the charm:https://github.com/charmed-hpc/slurmctld-operator/blob/71a32c435285d634e72fb29d0803fde1a789c738/src/charm.py#L139-L143
I tried to find references to
self._stored.default_partition
outside of the event handler, but it only seems to be referenced here. Should we hook this back up into slurm.conf, or am I missing something? Seems like the default partition is set toPartition=DEFAULT Default=YES
and setting a new default partition usingjuju config slurmctld default-partition=...
has no effect.