-
Bug
-
Resolution: Unresolved
-
Normal
-
odf-4.18
-
None
Description of problem - Provide a detailed description of the issue encountered, including logs/command-output snippets and screenshots if the issue is observed in the UI:
The OpenShift Data Foundation Multicluster Orchestrator (MCO) does not label VolumeSnapshotClass or VolumeReplicationClass resources with the ramendr.openshift.io/storageid label. The absence of this label can lead to issues with disaster recovery (DR) operations managed by Ramen, as the storageid is essential for identifying the storage clusters involved in replication.
The OCP platform infrastructure and deployment type (AWS, Bare Metal, VMware, etc. Please clarify if it is platform agnostic deployment), (IPI/UPI):
All of the mentioned
The ODF deployment type (Internal, External, Internal-Attached (LSO), Multicluster, DR, Provider, etc):
Internal Mode RDR
The version of all relevant components (OCP, ODF, RHCS, ACM whichever is applicable):
ODF MCO 4.18 and less
Is there any workaround available to the best of your knowledge?
Yes, as a temporary workaround, users can manually label the VolumeSnapshotClass and VolumeReplicationClassresources with the appropriate ramendr.openshift.io/storageid label.
Can this issue be reproduced? If so, please provide the hit rate
Yes, this issue can be consistently reproduced following the steps provided above. The hit rate is 100%.
Can this issue be reproduced from the UI?
No, It requires checking the resource metadata via the command line interface (CLI).
Steps to Reproduce:
- Deploy OpenShift Data Foundation (ODF) with Multicluster Orchestrator (MCO) and set up a DR environment using Ramen.
- Create or verify the existence of VolumeSnapshotClass and VolumeReplicationClass resources.
- Check the metadata of these resources using `oc get volumesnapshotclass -o yaml` and `oc get volumereplicationclass -o yaml`.
Observe that the ramendr.openshift.io/storageid label is missing from these resources.
Actual results:
- The VolumeSnapshotClass and VolumeReplicationClass resources are created without the ramendr.openshift.io/storageid label.
- Disaster recovery operations may fail or not behave as expected due to the missing labels, as Ramen cannot correctly identify the storage clusters for replication.
Expected results:
Yes, as a temporary workaround, users can manually label the VolumeSnapshotClass and VolumeReplicationClass resources with the appropriate ramendr.openshift.io/storageid label.
- links to