File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
bootstrap/baremetal/files/usr/local/bin Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,12 @@ while systemctl is-active metal3-baremetal-operator.service; do
2525 sleep 10
2626done
2727
28+ echo " Unpause provisioning"
29+ while ! oc annotate --overwrite provisioning provisioning-configuration " provisioning.metal3.io/paused-" ; do
30+ sleep 5
31+ echo " Unpause failed, retrying"
32+ done
33+
2834echo " Unpause all baremetal hosts"
2935while ! oc annotate --overwrite -n openshift-machine-api baremetalhosts --all " baremetalhost.metal3.io/paused-" ; do
3036 sleep 5
Original file line number Diff line number Diff line change @@ -2,6 +2,10 @@ apiVersion: metal3.io/v1alpha1
22kind: Provisioning
33metadata:
44 name: provisioning-configuration
5+ annotations:
6+ # We want to pause the metal3 provisioning services until we can be sure
7+ # that all control plane nodes are ready.
8+ provisioning.metal3.io/paused: "true"
59spec:
610 provisioningInterface: "{{.Baremetal.ProvisioningNetworkInterface}}"
711 provisioningIP: "{{.Baremetal.ClusterProvisioningIP}}"
You can’t perform that action at this time.
0 commit comments