This is for fixing the bug to create volumesnapshotclass per claim in ODF 4.11 and will keep https://bugzilla.redhat.com/show_bug.cgi?id=2069367 to document the steps to create the volumesnapshotclasses manually. proving devel_ack as the fix already approved in the main branch. https://github.com/red-hat-storage/ocs-operator/pull/1730. @neha can you please provide QE_ACK for it?
Moving QE assignee to Neha, who is concerned with Managed Service.
Hi Madhu If we create volumesnapshotclass per storageclassclaim, we will get the default volumesnapshotclass only after the fix of the bug https://bugzilla.redhat.com/show_bug.cgi?id=2092417. Correct ?
Verified in version: ODF 4.11.0-113 ocs-osd-deployer.v2.0.3 OCP 4.10.21 Volumesnapshotclass will be created for each storageclassclaim. $ oc get storageclassclaim -A NAMESPACE NAME STORAGETYPE PHASE openshift-storage storageclassclaim-1cephfs sharedfilesystem Ready test-project storageclassclaim-cephfs sharedfilesystem Ready test-project storageclassclaim-rbd blockpool Failed $ oc get sc | grep storageclassclaim storageclassclaim-1cephfs openshift-storage.cephfs.csi.ceph.com Delete Immediate true 124m storageclassclaim-cephfs openshift-storage.cephfs.csi.ceph.com Delete Immediate true 4h24m storageclassclaim-rbd openshift-storage.rbd.csi.ceph.com Delete Immediate true 4h24m $ oc get storageclassclaim -A NAMESPACE NAME STORAGETYPE PHASE openshift-storage storageclassclaim-1cephfs sharedfilesystem Ready test-project storageclassclaim-cephfs sharedfilesystem Ready test-project storageclassclaim-rbd blockpool Failed $ oc get volumesnapshot -A NAMESPACE NAME READYTOUSE SOURCEPVC SOURCESNAPSHOTCONTENT RESTORESIZE SNAPSHOTCLASS SNAPSHOTCONTENT CREATIONTIME AGE test-project snapshot-test-e713e251c0324742a5aff76a16 true pvc-test-27de496e33704278a0e4f9f6eec6382 5Gi storageclassclaim-rbd snapcontent-5b517ce5-41a6-4372-ba8e-4c70008c6007 19s 20s test-project snapshot-test-fb58ae4655174a4b8c73809927 true pvc-test-af420a85bfbf4211bd2623092dcfa05 5Gi storageclassclaim-cephfs snapcontent-eb484dff-ba6a-4e01-ad02-cbccb5b55013 32m 32m Storageclassclaims "storageclassclaim-1cephfs" and "storageclassclaim-cephfs" are in failed state due to the bug #2092417. The storageclass and volumesnapshotclass were created per storageclassclaim as expected. Tested snapshot and restore. Executed the test case "tests/manage/pv_services/pvc_snapshot/test_pvc_snapshot.py" using a private branch after modifying the test case to use the storageclasses storageclassclaim-cephfs and storageclassclaim-rbd, volumesnapshotclasses storageclassclaim-cephfs and storageclassclaim-rbd and namespace test-project which are given in the above list. Test report - http://magna002.ceph.redhat.com/ocsci-jenkins/openshift-clusters/jijoy-j15-c1/jijoy-j15-c1_20220715T063938/logs/test_report_1657888920.html
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.11.0 security, enhancement, & bugfix 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-2022:6156
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days