Open jamesbeedy opened 1 week ago
Hmm... I thought that we were installing libpmix-dev
as part of the common packages, no? https://github.com/charmed-hpc/slurm-charms/commit/232d4c0507cc22dbf980057bccfc7fbb30b0a522. I remember seeing this commit go through while I was at OpenInfra Asia.
Either way, we can upstream ensuring that the common packages are installed on slurmctld and slurmd nodes into slurm_ops
. Would just be something like the following:
if self._service_name in ["slurmctld", "slurmd"]:
apt.add_package(["libpmix-dev", "openmpi-bin"])
yeah ...
slurmd: [openmpi-bin, libpmix-dev]
slurmctld: [mailutils, libpmix-dev]
Btw @jamesbeedy which branch are you working off of here? Is this main
or experimental
? Either way I'll ensure that slurm_ops
installs the correct packages.
Bug Description
Slurmctld and slurmd processes cannot load the pmix plugin because the charms provide slurm built with pmix support, but then don't make the libs available at runtime, so the plugin cannot load.
To Reproduce
juju bootstrap localhost juju add-model slurm-test tox -e build juju deploy ./_build/slurmd.charm --constraints "virt-type=virtual-machine cores=4 mem=4G root-disk=20G" juju deploy ./_build/slurmctld.charm --constraints "virt-type=virtual-machine cores=4 mem=4G root-disk=20G" juju relate slurmctld slurmd
Environment
lxd provider, virtual-machines
Relevant log output
Additional context
No response