@@ -27,41 +27,45 @@ severe performance degradation.
27
27
[id="diagnosis-virtualmachinecrcerrors"]
28
28
== Diagnosis
29
29
30
- . Get the volume name from a virtual machine:
30
+ . Navigate to *Observe* -> *Metrics* in the web console.
31
+ . Obtain a list of virtual machines with incorrectly configured storage classes
32
+ by running the following PromQL query:
31
33
+
32
- [source,terminal ]
34
+ [source,text ]
33
35
----
34
- $ oc get vm <vm_name> -o jsonpath='{.spec.template.spec.volumes}'
36
+ kubevirt_ssp_vm_rbd_volume{rxbounce_enabled="false", volume_mode="Block"} == 1
35
37
----
36
-
37
- . Get the storage class name from the volume:
38
38
+
39
- [source,terminal]
39
+ The output displays a list of virtual machines that use a storage
40
+ class without `rxbounce_enabled`.
41
+ +
42
+ .Example output
43
+ +
44
+ [source,text]
40
45
----
41
- $ oc get pvc <volume> -o jsonpath='{.spec.storageClassName}'
46
+ kubevirt_ssp_vm_rbd_volume{name="testvmi-gwgdqp22k7", namespace="test_ns", pv_name="testvmi-gwgdqp22k7", rxbounce_enabled="false", volume_mode="Block"} 1
42
47
----
43
48
44
- . Get the storage class configuration :
49
+ . Obtain the storage class name by running the following command :
45
50
+
46
51
[source,terminal]
47
52
----
48
- $ oc get sc <storage_class > -o yaml
53
+ $ oc get pv <pv_name > -o=jsonpath='{.spec.storageClassName}'
49
54
----
50
55
51
- . Check the storage class configuration for the `krbd:rxbounce` map option.
52
-
53
56
[discrete]
54
57
[id="mitigation-virtualmachinecrcerrors"]
55
58
== Mitigation
56
59
57
- Add the `krbd:rxbounce` map option to the storage class configuration:
60
+ Add the `krbd:rxbounce` map option to the storage class configuration to use
61
+ a bounce buffer when receiving data:
58
62
59
- [source,terminal ]
63
+ [source,yaml ]
60
64
----
61
65
apiVersion: storage.k8s.io/v1
62
66
kind: StorageClass
63
67
metadata:
64
- name: example-storage-class
68
+ name: vm-sc
65
69
parameters:
66
70
# ...
67
71
mounter: rbd
@@ -72,7 +76,7 @@ provisioner: openshift-storage.rbd.csi.ceph.com
72
76
73
77
The `krbd:rxbounce` option creates a bounce buffer to receive data. The default
74
78
behavior is for the destination buffer to receive data directly. A bounce buffer
75
- is required if the destination buffer is unstable .
79
+ is required if the stability of the destination buffer cannot be guaranteed .
76
80
77
81
If you cannot resolve the issue, log in to the
78
82
link:https://access.redhat.com[Customer Portal] and open a support case,
0 commit comments