Azure / cyclecloud-slurm

Azure CycleCloud project to enable users to create, configure, and use Slurm HPC clusters.
MIT License
55 stars 42 forks source link

AccountingStorageHost should be set to the scheduler hostname #215

Closed xpillons closed 3 months ago

xpillons commented 5 months ago

Having the AccountingStorageHost set to localhost means that the sacct command can only be run where the slurmdb service is hosted. As a consequence, login node, compute node can't run sacct.

Updating the line below with the hostname of the scheduler will fix this. https://github.com/Azure/cyclecloud-slurm/blob/e877f657e0e4ff0e412804ef81073e02e25edb81/slurm/install/install.py#L243

xpillons commented 4 months ago

@aditigaur4 for reference

aditigaur4 commented 3 months ago

Hello I have fixed this in: https://github.com/Azure/cyclecloud-slurm/pull/236