Bug 2244383
| Summary: | Annotate the RBD-virtualization StorageClass with `storageclass.kubevirt.io/is-default-virt-class` | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat OpenShift Data Foundation | Reporter: | Niels de Vos <ndevos> |
| Component: | ocs-operator | Assignee: | Niels de Vos <ndevos> |
| Status: | CLOSED ERRATA | QA Contact: | Amrita Mahapatra <ammahapa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.14 | CC: | edonnell, etamir, jpeimer, mparida, muagarwa, odf-bz-bot |
| Target Milestone: | --- | Keywords: | FutureFeature |
| Target Release: | ODF 4.14.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 4.14.0-154 | Doc Type: | Enhancement |
| Doc Text: |
.Automatic detection of default StorageClass for virtualization workloads
Deployments using Red Hat Virtualization platform now have the default StorageClass automatically detected.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-11-08 18:55:27 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2244409 | ||
|
Description
Niels de Vos
2023-10-16 10:08:45 UTC
Deployed odf-operator version 4.14.0-rhodf we don't have there `ocs-storagecluster-ceph-rbd-virtualization` storage class but we have `ocs-storagecluster-ceph-rbd with` with annotation and `mapOptions: krbd:rxbounce` Alex is fixing this, moving to Assigned Looks like it's fixed:
$ oc get sc ocs-storagecluster-ceph-rbd-virtualization -oyaml
allowVolumeExpansion: true
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
annotations:
description: Provides RWO and RWX Block volumes suitable for Virtual Machine disks
storageclass.kubernetes.io/is-default-class: "false"
storageclass.kubevirt.io/is-default-virt-class: "true"
creationTimestamp: "2023-10-31T11:23:05Z"
name: ocs-storagecluster-ceph-rbd-virtualization
resourceVersion: "69636"
uid: e971c94f-d0a7-4ead-8e70-fc8f3c9f0e10
parameters:
clusterID: openshift-storage
csi.storage.k8s.io/controller-expand-secret-name: rook-csi-rbd-provisioner
csi.storage.k8s.io/controller-expand-secret-namespace: openshift-storage
csi.storage.k8s.io/fstype: ext4
csi.storage.k8s.io/node-stage-secret-name: rook-csi-rbd-node
csi.storage.k8s.io/node-stage-secret-namespace: openshift-storage
csi.storage.k8s.io/provisioner-secret-name: rook-csi-rbd-provisioner
csi.storage.k8s.io/provisioner-secret-namespace: openshift-storage
imageFeatures: layering,deep-flatten,exclusive-lock,object-map,fast-diff
imageFormat: "2"
mapOptions: krbd:rxbounce
mounter: rbd
pool: ocs-storagecluster-cephblockpool
provisioner: openshift-storage.rbd.csi.ceph.com
reclaimPolicy: Delete
volumeBindingMode: Immediate
$ oc get sc ocs-storagecluster-ceph-rbd -oyaml
allowVolumeExpansion: true
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
annotations:
description: Provides RWO Filesystem volumes, and RWO and RWX Block volumes
storageclass.kubernetes.io/is-default-class: "false"
creationTimestamp: "2023-10-31T11:16:59Z"
name: ocs-storagecluster-ceph-rbd
resourceVersion: "69634"
uid: 47532e8e-c413-4022-9b3f-0dea16295db9
parameters:
clusterID: openshift-storage
csi.storage.k8s.io/controller-expand-secret-name: rook-csi-rbd-provisioner
csi.storage.k8s.io/controller-expand-secret-namespace: openshift-storage
csi.storage.k8s.io/fstype: ext4
csi.storage.k8s.io/node-stage-secret-name: rook-csi-rbd-node
csi.storage.k8s.io/node-stage-secret-namespace: openshift-storage
csi.storage.k8s.io/provisioner-secret-name: rook-csi-rbd-provisioner
csi.storage.k8s.io/provisioner-secret-namespace: openshift-storage
imageFeatures: layering,deep-flatten,exclusive-lock,object-map,fast-diff
imageFormat: "2"
pool: ocs-storagecluster-cephblockpool
provisioner: openshift-storage.rbd.csi.ceph.com
reclaimPolicy: Delete
volumeBindingMode: Immediate
Verified on ODF v4.14.0-157 $ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.14.0-rc.7 True False 6d Cluster version is 4.14.0-rc.7 $ oc get csv -n openshift-storage --show-labels NAME DISPLAY VERSION REPLACES PHASE LABELS mcg-operator.v4.14.0-rhodf NooBaa Operator 4.14.0-rhodf Succeeded operators.coreos.com/mcg-operator.openshift-storage= ocs-operator.v4.14.0-rhodf OpenShift Container Storage 4.14.0-rhodf Succeeded full_version=4.14.0-157,operatorframework.io/arch.amd64=supported,operatorframework.io/arch.ppc64le=supported,operatorframework.io/arch.s390x=supported,operators.coreos.com/ocs-operator.openshift-storage= odf-csi-addons-operator.v4.14.0-rhodf CSI Addons 4.14.0-rhodf Succeeded operators.coreos.com/odf-csi-addons-operator.openshift-storage= odf-operator.v4.14.0-rhodf OpenShift Data Foundation 4.14.0-rhodf Succeeded full_version=4.14.0-157,operatorframework.io/arch.amd64=supported,operatorframework.io/arch.ppc64le=supported,operatorframework.io/arch.s390x=supported,operators.coreos.com/odf-operator.openshift-storage= openshift-pipelines-operator-rh.v1.11.0 Red Hat OpenShift Pipelines 1.11.0 Succeeded olm.copiedFrom=openshift-operators,operatorframework.io/arch.amd64=supported,operatorframework.io/arch.arm64=supported,operatorframework.io/arch.ppc64le=supported,operatorframework.io/arch.s390x=supported Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: Red Hat OpenShift Data Foundation 4.14.0 security, enhancement & bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2023:6832 |