mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 21:46:22 +01:00
Merge pull request #68515 from openshift-cherrypick-robot/cherry-pick-68463-to-enterprise-4.15
[enterprise-4.15] CNV- 35293: CDIMultipleDefaultVirtStorageClasses
This commit is contained in:
@@ -30,8 +30,7 @@ these operations are unlikely to succeed. You must diagnose and resolve the issu
|
||||
+
|
||||
[source,terminal]
|
||||
----
|
||||
$ oc get pods --all-namespaces -l app=containerized-data-importer \
|
||||
-o=jsonpath='{range .items[?(@.status.containerStatuses[0].restartCount>3)]}{.metadata.name}{"/"}{.metadata.namespace}{"\n"}'
|
||||
$ oc get pods --all-namespaces -l app=containerized-data-importer -o=jsonpath='{range .items[?(@.status.containerStatuses[0].restartCount>3)]}{.metadata.name}{"/"}{.metadata.namespace}{"\n"}'
|
||||
----
|
||||
|
||||
. Obtain the details of the pods:
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
// Do not edit this module. It is generated with a script.
|
||||
// Do not reuse this module. The anchor IDs do not contain a context statement.
|
||||
// Module included in the following assemblies:
|
||||
//
|
||||
// * virt/monitoring/virt-runbooks.adoc
|
||||
|
||||
:_mod-docs-content-type: REFERENCE
|
||||
[id="virt-runbook-CDIMultipleDefaultVirtStorageClasses"]
|
||||
= CDIMultipleDefaultVirtStorageClasses
|
||||
|
||||
[discrete]
|
||||
[id="meaning-cdimultipledefaultvirtstorageclasses"]
|
||||
== Meaning
|
||||
|
||||
This alert fires when more than one storage class has the annotation
|
||||
`storageclass.kubevirt.io/is-default-virt-class: "true"`.
|
||||
|
||||
[discrete]
|
||||
[id="impact-cdimultipledefaultvirtstorageclasses"]
|
||||
== Impact
|
||||
|
||||
The `storageclass.kubevirt.io/is-default-virt-class: "true"` annotation
|
||||
defines a default {VirtProductName} storage class.
|
||||
|
||||
If more than one default {VirtProductName} storage class
|
||||
is defined, a data volume with no storage class specified
|
||||
receives the most recently created default storage class.
|
||||
|
||||
[discrete]
|
||||
[id="diagnosis-cdimultipledefaultvirtstorageclasses"]
|
||||
== Diagnosis
|
||||
|
||||
Obtain a list of default {VirtProductName} storage classes by running
|
||||
the following command:
|
||||
|
||||
[source,terminal]
|
||||
----
|
||||
$ oc get sc -o jsonpath='{.items[?(@.metadata.annotations.storageclass\.kubevirt\.io/is-default-virt-class=="true")].metadata.name}'
|
||||
----
|
||||
|
||||
[discrete]
|
||||
[id="mitigation-cdimultipledefaultvirtstorageclasses"]
|
||||
== Mitigation
|
||||
|
||||
Ensure that only one default {VirtProductName} storage class
|
||||
is defined by removing the annotation from the other storage classes.
|
||||
|
||||
If you cannot resolve the issue, log in to the
|
||||
link:https://access.redhat.com[Customer Portal] and open a support case, attaching
|
||||
the artifacts gathered during the diagnosis procedure.
|
||||
@@ -10,10 +10,13 @@ You can use the procedures in these runbooks to diagnose and resolve issues that
|
||||
|
||||
{VirtProductName} alerts are displayed on the *Virtualization* -> *Overview* -> xref:../../virt/getting_started/virt-web-console-overview.adoc#overview-overview_virt-web-console-overview[*Overview* tab] in the web console.
|
||||
|
||||
|
||||
include::modules/virt-runbook-cdidataimportcronoutdated.adoc[leveloffset=+1]
|
||||
|
||||
include::modules/virt-runbook-cdidatavolumeunusualrestartcount.adoc[leveloffset=+1]
|
||||
|
||||
include::modules/virt-runbook-cdimultipledefaultvirtstorageclasses.adoc[leveloffset=+1]
|
||||
|
||||
include::modules/virt-runbook-cdinotready.adoc[leveloffset=+1]
|
||||
|
||||
include::modules/virt-runbook-cdioperatordown.adoc[leveloffset=+1]
|
||||
@@ -113,4 +116,3 @@ include::modules/virt-runbook-virtoperatorresterrorshigh.adoc[leveloffset=+1]
|
||||
include::modules/virt-runbook-virtualmachinecrcerrors.adoc[leveloffset=+1]
|
||||
|
||||
include::modules/virt-runbook-vmcannotbeevicted.adoc[leveloffset=+1]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user