# list nodes
oc get nodes
# list cluster operators and their state
oc get co
# show cluster version and error messages
oc get clusterversion
oc get clusterversion -o jsonpath='{.items[*].status}'
#
oc get mcp
oc get mcp -o jsonpath='{range .items[*]}{"\n\n"}{@.metadata.name}:{.status.conditions}'
Update stuck due to a previous partial update
# erase the pending status entry on masters
journalctl --vacuum-time=1m
# identify the MCD of the node
oc get pods -o wide -n openshift-machine-config-operator | grep machine-config-daemon
# delete the MCD of the node
oc delete pod machine-config-daemon-<id>
# Alternative, force an update by creating a /run/machine-config-daemon-force file on each failing node
touch /run/machine-config-daemon-force