File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
cookbooks/aws-parallelcluster-slurm/libraries Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -219,11 +219,14 @@ def check_for_protected_mode(fleet_status_command) # rubocop:disable Lint/Nested
219219 "/usr/local/bin/get-compute-fleet-status.sh"
220220 )
221221
222+ total_static_node_count = get_static_node_count
223+ Chef ::Log ::info ( "Count of cluster static nodes is #{ total_static_node_count } " )
224+
222225 # Example output for sinfo
223226 # sinfo -h -o '%N %t'
224227 # queue-0-dy-compute-resource-g4dn-0-[1-10],queue-1-dy-compute-resource-g4dn-1-[1-10] idle~
225228 # queue-2-dy-compute-resource-g4dn-2-[1-10],queue-3-dy-compute-resource-g4dn-3-[1-10] idle
226- until shell_out! ( "/bin/bash -c /usr/local/bin/is_fleet_ready.sh #{ get_static_node_count } " ) . stdout . strip . empty?
229+ until shell_out! ( "/bin/bash /usr/local/bin/is_fleet_ready.sh #{ total_static_node_count } " ) . stdout . strip . empty?
227230 check_for_protected_mode ( fleet_status_command )
228231
229232 Chef ::Log . info ( "Waiting for static fleet capacity provisioning" )
You can’t perform that action at this time.
0 commit comments