Description of problem (please be detailed as possible and provide log snippests): [RDR] ocs-operator should automatically set spec.network.multiClusterService.Enabled: true for RDR cluster Version of all relevant components (if applicable): OCP version:- 4.13.0-0.nightly-2023-03-28-014156 ODF version:- 4.13.0-121 CEPH version:- ceph version 17.2.5-1342.el9cp (ed07851f2c5b8d3dccadf079402f86a67cb7d3e5) quincy (stable) 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? 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? Can this issue reproduce from the UI? If this is a regression, please provide more details to justify this: Steps to Reproduce: 1. 2. 3. Actual results: When testing RDR with overlapping ip user has to manually add spec.network.multiClusterService.Enabled: true to the storage cluster Expected results: manually setup should be automated Additional info:
The relevant discussion for the BZ is happening here https://chat.google.com/room/AAAAqWkMm2s/CMVr74gcmbM
ocs-operator will never set `spec.network.multiClusterService.Enabled: true`. This is a user provided configuration. Since this needs to be set only for Regional DR, and only when overlapping CIDRs are used, we do not want to make this a default. Since multicluster-orchestrator aims to automate ODF configuration for DR, we'll try to resolve this. The fix will be in 2 parts: 1. If user sets `spec.network.multiClusterService.Enabled: true`, we will not overwrite it. This will unblock testing. 2. We will try to detect overlapping CIDRs and set this flag automatically. This is a new feature and not a simple bug fix. So, this might not make it in time for 4.13.0.
Created a separate BZ to track the bug fix: https://bugzilla.redhat.com/show_bug.cgi?id=2184773 This BZ will track development of the automation mentioned in Comment 4.
https://github.com/red-hat-storage/odf-multicluster-orchestrator/pull/160 adds a new field in MirrorPeer to allow users to enable MulticlusterService if required. We will not automate overlapping CIDR detection. UI will provide an option in multicluster console to opt-in to this feature.
Moving to 4.13.z for verification purposes