View on GitHub

ocp4-docs

Documentation for CentOS CI Infra initiative - OpenShift 4.4 deployment on Baremetal

Graceful Startup of an Openshift 4 Cluster

This SOP should be followed in the following scenarios:

Steps

Prequisite steps:

  1. Start the physical nodes
  1. Once the nodes have been started they must be uncordoned if appropriate
oc get nodes
NAME                       STATUS                     ROLES    AGE    VERSION
dumpty-n1.ci.centos.org    Ready,SchedulingDisabled   worker   77d    v1.18.3+6c42de8
dumpty-n2.ci.centos.org    Ready,SchedulingDisabled   worker   77d    v1.18.3+6c42de8
dumpty-n3.ci.centos.org    Ready,SchedulingDisabled   worker   77d    v1.18.3+6c42de8
dumpty-n4.ci.centos.org    Ready,SchedulingDisabled   worker   77d    v1.18.3+6c42de8
dumpty-n5.ci.centos.org    Ready,SchedulingDisabled   worker   77d    v1.18.3+6c42de8
kempty-n10.ci.centos.org   Ready,SchedulingDisabled   worker   106d   v1.18.3+6c42de8
kempty-n11.ci.centos.org   Ready,SchedulingDisabled   worker   106d   v1.18.3+6c42de8
kempty-n12.ci.centos.org   Ready,SchedulingDisabled   worker   106d   v1.18.3+6c42de8
kempty-n6.ci.centos.org    Ready,SchedulingDisabled   master   106d   v1.18.3+6c42de8
kempty-n7.ci.centos.org    Ready,SchedulingDisabled   master   106d   v1.18.3+6c42de8
kempty-n8.ci.centos.org    Ready,SchedulingDisabled   master   106d   v1.18.3+6c42de8
kempty-n9.ci.centos.org    Ready,SchedulingDisabled   worker   106d   v1.18.3+6c42de8

nodes=$(oc get nodes -o name  | sed -E "s/node\///")

for node in ${nodes[@]}; do oc adm uncordon $node; done
node/dumpty-n1.ci.centos.org uncordoned
node/dumpty-n2.ci.centos.org uncordoned
node/dumpty-n3.ci.centos.org uncordoned
node/dumpty-n4.ci.centos.org uncordoned
node/dumpty-n5.ci.centos.org uncordoned
node/kempty-n10.ci.centos.org uncordoned
node/kempty-n11.ci.centos.org uncordoned
node/kempty-n12.ci.centos.org uncordoned
node/kempty-n6.ci.centos.org uncordoned
node/kempty-n7.ci.centos.org uncordoned
node/kempty-n8.ci.centos.org uncordoned
node/kempty-n9.ci.centos.org uncordoned

oc get nodes
NAME                       STATUS   ROLES    AGE    VERSION
dumpty-n1.ci.centos.org    Ready    worker   77d    v1.18.3+6c42de8
dumpty-n2.ci.centos.org    Ready    worker   77d    v1.18.3+6c42de8
dumpty-n3.ci.centos.org    Ready    worker   77d    v1.18.3+6c42de8
dumpty-n4.ci.centos.org    Ready    worker   77d    v1.18.3+6c42de8
dumpty-n5.ci.centos.org    Ready    worker   77d    v1.18.3+6c42de8
kempty-n10.ci.centos.org   Ready    worker   106d   v1.18.3+6c42de8
kempty-n11.ci.centos.org   Ready    worker   106d   v1.18.3+6c42de8
kempty-n12.ci.centos.org   Ready    worker   106d   v1.18.3+6c42de8
kempty-n6.ci.centos.org    Ready    master   106d   v1.18.3+6c42de8
kempty-n7.ci.centos.org    Ready    master   106d   v1.18.3+6c42de8
kempty-n8.ci.centos.org    Ready    master   106d   v1.18.3+6c42de8
kempty-n9.ci.centos.org    Ready    worker   106d   v1.18.3+6c42de8

Resources