Bug 2250636

Summary: Do not create Virtualization storage class in Provider mode
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Leela Venkaiah Gangavarapu <lgangava>
Component: ocs-operatorAssignee: Leela Venkaiah Gangavarapu <lgangava>
Status: CLOSED ERRATA QA Contact: Elena Bondarenko <ebondare>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.14CC: ebenahar, muagarwa, odf-bz-bot
Target Milestone: ---   
Target Release: ODF 4.15.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: isf-provider
Fixed In Version: 4.14.1-7 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-03-19 15:29:04 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:

Description Leela Venkaiah Gangavarapu 2023-11-20 09:46:59 UTC
Description of problem (please be detailed as possible and provide log
snippests):
- ODF creates virtualization storage class when it finds kubevirt related cr

Version of all relevant components (if applicable):
- 4.14.1-6

Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?


Is there any workaround available to the best of your knowledge?
- no

Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?


Can this issue reproducible?
- deploy ODF in machine where CNV is also running


Actual results:
- provider enabled ODF contains virtualization storage class

Expected results:
- provider enabled ODF should not contain virtualization storage class

Additional info:

Comment 2 Leela Venkaiah Gangavarapu 2023-11-30 14:21:04 UTC
Should verify the absence of storageclass w/ name "ocs-storagecluster-ceph-rbd-virtualization"

Comment 3 Elena Bondarenko 2023-12-01 09:02:00 UTC
I tested with ODF full_version: 4.14.1-12. ocs-storagecluster-ceph-rbd-virtualization storageclass was not there:

oc get sc --all-namespaces
NAME                                    PROVISIONER                                    RECLAIMPOLICY   VOLUMEBINDINGMODE      ALLOWVOLUMEEXPANSION   AGE
ocs-storagecluster-ceph-rbd (default)   openshift-storage-client.rbd.csi.ceph.com      Delete          Immediate              true                   6d2h
ocs-storagecluster-ceph-rgw             openshift-storage.ceph.rook.io/bucket          Delete          Immediate              false                  6d18h
ocs-storagecluster-cephfs               openshift-storage-client.cephfs.csi.ceph.com   Delete          Immediate              true                   6d2h
openshift-storage.noobaa.io             openshift-storage.noobaa.io/obc                Delete          Immediate              false                  6d2h
thin-csi                                csi.vsphere.vmware.com                         Delete          WaitForFirstConsumer   true                   9d

Comment 7 errata-xmlrpc 2024-03-19 15:29:04 UTC
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.15.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-2024:1383