Skip to content

Commit 2d46439

Browse files
Merge pull request #29604 from aburdenthehand/cnv-9233-nmstate-master
CNV-9233 - Inclusive language for virt node names
2 parents c3a927c + 0cd5fe4 commit 2d46439

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

modules/virt-troubleshooting-incorrect-policy-config.adoc

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
You can apply changes to the node network configuration across your entire cluster by applying a node network configuration policy.
1010
If you apply an incorrect configuration, you can use the following example to troubleshoot and correct the failed node network policy.
1111

12-
In this example, a Linux bridge policy is applied to an example cluster that has three master nodes and three worker nodes.
12+
In this example, a Linux bridge policy is applied to an example cluster that has three control plane nodes (master) and three compute (worker) nodes.
1313
The policy fails to be applied because it references an incorrect interface.
1414
To find the error, investigate the available NMState resources. You can then update the policy with the correct configuration.
1515

@@ -83,19 +83,19 @@ The output shows that the policy failed on all nodes:
8383
[source,terminal]
8484
----
8585
NAME STATUS
86-
master-1.ens01-bridge-testfail FailedToConfigure
87-
master-2.ens01-bridge-testfail FailedToConfigure
88-
master-3.ens01-bridge-testfail FailedToConfigure
89-
worker-1.ens01-bridge-testfail FailedToConfigure
90-
worker-2.ens01-bridge-testfail FailedToConfigure
91-
worker-3.ens01-bridge-testfail FailedToConfigure
86+
control-plane-1.ens01-bridge-testfail FailedToConfigure
87+
control-plane-2.ens01-bridge-testfail FailedToConfigure
88+
control-plane-3.ens01-bridge-testfail FailedToConfigure
89+
compute-1.ens01-bridge-testfail FailedToConfigure
90+
compute-2.ens01-bridge-testfail FailedToConfigure
91+
compute-3.ens01-bridge-testfail FailedToConfigure
9292
----
9393

9494
. View one of the failed enactments and look at the traceback. The following command uses the output tool `jsonpath` to filter the output:
9595
+
9696
[source,terminal]
9797
----
98-
$ oc get nnce worker-1.ens01-bridge-testfail -o jsonpath='{.status.conditions[?(@.type=="Failing")].message}'
98+
$ oc get nnce compute-1.ens01-bridge-testfail -o jsonpath='{.status.conditions[?(@.type=="Failing")].message}'
9999
----
100100
+
101101
This command returns a large traceback that has been edited for brevity:
@@ -188,10 +188,10 @@ difference
188188
+
189189
The `NmstateVerificationError` lists the `desired` policy configuration, the `current` configuration of the policy on the node, and the `difference` highlighting the parameters that do not match. In this example, the `port` is included in the `difference`, which suggests that the problem is the port configuration in the policy.
190190

191-
. To ensure that the policy is configured properly, view the network configuration for one or all of the nodes by requesting the `NodeNetworkState` object. The following command returns the network configuration for the `master-1` node:
191+
. To ensure that the policy is configured properly, view the network configuration for one or all of the nodes by requesting the `NodeNetworkState` object. The following command returns the network configuration for the `control-plane-1` node:
192192
+
193193
----
194-
$ oc get nns master-1 -o yaml
194+
$ oc get nns control-plane-1 -o yaml
195195
----
196196
+
197197
The output shows that the interface name on the nodes is `ens1` but the failed policy incorrectly uses `ens01`:

0 commit comments

Comments
 (0)