File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
cookbooks/aws-parallelcluster-slurm/libraries Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -208,12 +208,12 @@ def check_for_protected_mode(fleet_status_command) # rubocop:disable Lint/Nested
208208 fleet_status_command = Shellwords . escape (
209209 "/usr/local/bin/get-compute-fleet-status.sh"
210210 )
211- Chef ::Log . info ( "TEST LOG #{ get_static_node_count } " )
211+ Chef ::Log . info ( "Count of total Static Nodes is #{ get_static_node_count . to_i } " )
212212 # Example output for sinfo
213213 # sinfo -h -o '%N %t'
214214 # queue-0-dy-compute-resource-g4dn-0-[1-10],queue-1-dy-compute-resource-g4dn-1-[1-10] idle~
215215 # queue-2-dy-compute-resource-g4dn-2-[1-10],queue-3-dy-compute-resource-g4dn-3-[1-10] idle
216- until shell_out! ( "/bin/bash -c /usr/local/bin/is_fleet_ready.sh #{ get_static_node_count } " ) . stdout . strip . empty?
216+ until shell_out! ( "/bin/bash /usr/local/bin/is_fleet_ready.sh #{ get_static_node_count . to_i } " ) . stdout . strip . empty?
217217 check_for_protected_mode ( fleet_status_command )
218218
219219 Chef ::Log . info ( "Waiting for static fleet capacity provisioning" )
You can’t perform that action at this time.
0 commit comments