Skip to content

Commit 257e82a

Browse files
authored
Merge pull request #69176 from apinnick/CNV-35841-virt-runbook-updates
CNV- 35841: VirtHandlerRESTErrorsHigh update
2 parents 5681e40 + a894853 commit 257e82a

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

modules/virt-runbook-virthandlerresterrorshigh.adoc

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,28 +44,35 @@ $ export NAMESPACE="$(oc get kubevirt -A \
4444
-o custom-columns="":.metadata.namespace)"
4545
----
4646

47-
. Check the status of the `virt-handler` pod:
47+
. List the available `virt-handler` pods to identify the failing
48+
`virt-handler` pod:
4849
+
4950
[source,terminal]
5051
----
5152
$ oc get pods -n $NAMESPACE -l=kubevirt.io=virt-handler
5253
----
5354

54-
. Check the `virt-handler` logs for error messages when connecting to
55-
the API server:
55+
. Check the failing `virt-handler` pod log for API server
56+
connectivity errors:
5657
+
5758
[source,terminal]
5859
----
5960
$ oc logs -n $NAMESPACE <virt-handler>
6061
----
62+
+
63+
Example error message:
64+
+
65+
[source,json]
66+
----
67+
{"component":"virt-handler","level":"error","msg":"Can't patch node my-node","pos":"heartbeat.go:96","reason":"the server has received too many API requests and has asked us to try again later","timestamp":"2023-11-06T11:11:41.099883Z","uid":"132c50c2-8d82-4e49-8857-dc737adcd6cc"}
68+
----
6169

6270
[discrete]
6371
[id="mitigation-virthandlerresterrorshigh"]
6472
== Mitigation
6573

66-
* If the `virt-handler` cannot connect to the API server, delete the pod
67-
to force a restart:
68-
+
74+
Delete the pod to force a restart:
75+
6976
[source,terminal]
7077
----
7178
$ oc delete -n $NAMESPACE <virt-handler>

0 commit comments

Comments
 (0)