We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 799b460 commit 5b77a4fCopy full SHA for 5b77a4f
data/data/bootstrap/baremetal/files/usr/local/bin/master-bmh-update.sh
@@ -24,10 +24,10 @@ done
24
# Shut down ironic containers so that the API VIP can fail over to the control
25
# plane.
26
echo "Stopping provisioning services..."
27
-systemctl stop ironic.service
28
-
29
-echo "Wait for control plane to fail over"
30
-sleep 30
+systemctl --no-block stop ironic.service
+while systemctl is-active metal3-baremetal-operator.service; do
+ sleep 10
+done
31
32
echo "Unpause all baremetal hosts"
33
oc annotate --overwrite -n openshift-machine-api baremetalhosts --all "baremetalhost.metal3.io/paused-"
0 commit comments