Bug 2322458

Summary: Virtualization storage class isn't created upon presence of VirtualMachine CRD
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Anton Asserzon <aasserzo>
Component: ocs-operatorAssignee: Malay Kumar parida <mparida>
Status: NEW --- QA Contact: Elad <ebenahar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.18CC: nigoyal, odf-bz-bot
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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 Anton Asserzon 2024-10-29 14:46:32 UTC
Description of problem:

When a VirtualMachine CRD is present, a new StorageClass needs to be created by ocs-operator: "ocs-storagecluster-ceph-rbd-virtualization"
As of OCS Operator v4.18.0-42.stable, this does not happen anymore

This broke cluster deployment in CNV QE for 4.18 and 4.18-dependent versions, since our CNV deployment jobs require this SC.

The workaround is to run this:
oc -n openshift-storage rollout restart deployment ocs-operator

Can this issue reproduce from the UI?
Yes, deploy ODF, deploy CNV, check StorageClasses

Steps to Reproduce:
Deploy ODF, Deploy CNV, oc get storageclass

Actual results:
ocs-storagecluster-ceph-rbd-virtualization SC is not listed

Expected results:
ocs-storagecluster-ceph-rbd-virtualization SC exists