Closed jedel1043 closed 1 month ago
I think we're on the right path here with enabling support for Slurm in both snap and deb form, but I'm wondering where we can "duplicate" things between package formats such that we don't need to have as much abstraction happening in the background to manipulate things like the munge key file and Slurm configuration in the background.
Re. the Slurm configuration, we can just manipulate that with slurmutils
. For the munge key, we need to enable support for changing the key file location in mungectl
.
@NucciTheBoss Yeah, using mungectl and slurmutils on both snap and deb mode would be nice. In the meantime, I think we can just push the current abstractions and see if we can unify things later.
Right, this won't pass CI until we fix https://github.com/charmed-hpc/slurm-snap/issues/47
Right, this won't pass CI until we fix charmed-hpc/slurm-snap#47
Yeah... I think it's time for slurmhelpers
to go :disappointed:
@jedel1043 is this PR ready for another review, or are you still working on implementation the configuration management? We could follow on with that in a separate PR since we still need to implement the deb manager, and that PR will give us a better idea of how that implementation needs to shape up.
@NucciTheBoss We need to integrate slurmutils
to make CI pass 😅
Currently working on the update
operation for slurmutils.
@NucciTheBoss We need to integrate
slurmutils
to make CI pass 😅 Currently working on theupdate
operation for slurmutils.
Bout ready to go YOLO and nuke slurmhelpers
from the Slurm snap
Wow... CI passed...
This is looking great @jedel1043 :tada:
I just replied to your comment about the kebab casing for config-server
, and I'm good with keeping the individual service managers.
On second thought, it would probably be better to implement the deb manager before bumping version. That way the lib is "complete" before building it into the Slurm charms.
This PR abstracts around the base package manager used.
The objective of this is to enable switching between snap packages and deb packages in a more composable way.