Azure / cyclecloud-slurm

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

8.4.1/3.0.3 login hostname not updating #156

Closed themorey closed 5 months ago

themorey commented 1 year ago

CC ver = 8.4.1 Slurm project ver = 3.0.3

ISSUE: Login nodes do not update hostname to cluster-prefix value defined in cluster when use_node_as_hostname is enabled. In same cluster the scheduler and execute node hostnames are updated as expected.

INFO:

jmorey@8fgxl000001:~$ sudo -i jetpack config hostname
8fgxl000001

jmorey@8fgxl000001:~$ sudo -i jetpack config slurm.node_prefix
jm-cryo

EXPECTED BEHAVIOR: hostname should be set to jm-cryo-login-1 not 8fgxl000001

themorey commented 1 year ago

the install.py file calls the set_hostname function for execute nodes. Should it also call it for login?

    if args.mode == "execute":
        set_hostname(settings)
        setup_slurmd(settings)
aditigaur4 commented 1 year ago

Yes we should do that. Ryan has a fix WIP for this.

ryanhamel commented 5 months ago

Closed in previous login fix, 4e28b1e83a117d046a40b81780226f6d14ca91f3