charmed-hpc / slurm-charms

Juju charms for automating the Day 0 to Day 2 operations of the Slurm workload manager ⚖️🐧
Apache License 2.0
1 stars 5 forks source link

chore(slurmctld): use peer relation for ingress ip #21

Closed jamesbeedy closed 5 days ago

jamesbeedy commented 3 months ago

These changes add a peer relation for the slurmctld charm and replace using the slurmd interface to obtain the ingress_address with the new slurmctld-peer relation.

The reason for this change is that we do not want to depend on the existence of the slurmd relation in order to know our ip.

Using a peer relation we will always have resolvability so long as juju knows the ip address of the unit.