1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/nodes-verify-failed-node-deleted.adoc
2025-12-01 22:03:12 +00:00

54 lines
2.2 KiB
Plaintext

// Module included in the following assemblies:
//
// * nodes/nodes/nodes-nodes-replace-control-plane.adoc
:_mod-docs-content-type: PROCEDURE
[id="verify-machine-deleted_{context}"]
= Verifying that the failed node was deleted
Before proceeding to create a replacement control plane node, verify that the failed node was successfully deleted.
.Procedure
. Verify that the machine was deleted by running the following command:
+
[source,terminal]
----
$ oc get machines -n openshift-machine-api -o wide
----
+
.Example output
[source,terminal]
----
NAME PHASE TYPE REGION ZONE AGE NODE PROVIDERID STATE
examplecluster-control-plane-0 Running 3h11m openshift-control-plane-0 baremetalhost:///openshift-machine-api/openshift-control-plane-0/da1ebe11-3ff2-41c5-b099-0aa41222964e externally provisioned
examplecluster-control-plane-1 Running 3h11m openshift-control-plane-1 baremetalhost:///openshift-machine-api/openshift-control-plane-1/d9f9acbc-329c-475e-8d81-03b20280a3e1 externally provisioned
examplecluster-compute-0 Running 165m openshift-compute-0 baremetalhost:///openshift-machine-api/openshift-compute-0/3d685b81-7410-4bb3-80ec-13a31858241f provisioned
examplecluster-compute-1 Running 165m openshift-compute-1 baremetalhost:///openshift-machine-api/openshift-compute-1/0fdae6eb-2066-4241-91dc-e7ea72ab13b9 provisioned
----
. Verify that the node has been deleted by running the following command:
+
[source,terminal]
----
$ oc get nodes
----
+
.Example output
[source,terminal]
----
NAME STATUS ROLES AGE VERSION
openshift-control-plane-0 Ready master 3h24m v1.33.4
openshift-control-plane-1 Ready master 3h24m v1.33.4
openshift-compute-0 Ready worker 176m v1.33.4
openshift-compute-1 Ready worker 176m v1.33.4
----
. Wait for all of the cluster Operators to complete rolling out changes.
Run the following command to monitor the progress:
+
[source,terminal]
----
$ watch oc get co
----