Skip to content

Commit 9b04782

Browse files
committed
clarify why invalid IPs are used
1 parent 505661e commit 9b04782

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

molecule/test14/converge.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@
1414
openhpc_slurm_partitions:
1515
- name: "compute"
1616
extra_nodes:
17-
# Need to specify IPs as even with State=DOWN, if slurmctld can't lookup a host it just excludes it from the config entirely
18-
# Can't add to /etc/hosts via ansible due to Docker limitations on modifying /etc/hosts
17+
# Need to specify IPs for the non-existent State=DOWN nodes, because otherwise even in this state slurmctld will exclude a node with no lookup information from the config.
18+
# We use invalid IPs here (i.e. starting 0.) to flag the fact the nodes shouldn't exist.
19+
# Note this has to be done via slurm config rather than /etc/hosts due to Docker limitations on modifying the latter.
1920
- NodeName: fake-x,fake-y
2021
NodeAddr: 0.42.42.0,0.42.42.1
2122
State: DOWN

0 commit comments

Comments
 (0)