Bug 2005830

Summary: [DR] DRPolicy resource should not be editable after creation
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Pratik Surve <prsurve>
Component: odf-drAssignee: rakesh-gm <rgowdege>
odf-dr sub component: ramen QA Contact: Sidhant Agrawal <sagrawal>
Status: CLOSED ERRATA Docs Contact:
Severity: unspecified    
Priority: unspecified CC: amagrawa, bniver, ekuric, gmeno, jespy, muagarwa, ocs-bugs, odf-bz-bot, rgowdege, sostapov, srangana, tmuthami
Version: 4.9   
Target Milestone: ---   
Target Release: ODF 4.13.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-21 15:22:14 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 Pratik Surve 2021-09-20 09:50:55 UTC
Description of problem (please be detailed as possible and provide log
snippests):

DRPolicy resource should not be editable after creation


Version of all relevant components (if applicable):

odf-operator.v4.9.0-138.ci

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)?
1

Can this issue reproducible?
yes

Can this issue reproduce from the UI?


If this is a regression, please provide more details to justify this:


Steps to Reproduce:
1. Deploy DR on 2 cluster
2. Create Drpolicy
3. Edit Drpolicy resource


Actual results:
Drpolicy resource is editable and users can changes values

Expected results:
Drpolicy resource should not be editable


Additional info:

Comment 6 Mudit Agarwal 2022-02-03 16:09:30 UTC
No plans of fixing this in 4.10 as well.

Comment 11 Mudit Agarwal 2022-11-15 13:12:18 UTC
Not a 4.12 blocker

Comment 13 Shyamsundar 2022-11-29 14:20:16 UTC
*** Bug 2148460 has been marked as a duplicate of this bug. ***

Comment 29 Shyamsundar 2023-02-03 12:57:08 UTC
*** Bug 2166707 has been marked as a duplicate of this bug. ***

Comment 30 Shyamsundar 2023-03-08 12:48:51 UTC
Fixed with the current 4.13 builds.

Ref:
 - https://github.com/RamenDR/ramen/pull/587

The following DRPolicy fields are immutable:
SchedulingInterval
ReplicationClassSelector
VolumeSnapshotClassSelector
DRClusters

 - https://github.com/RamenDR/ramen/pull/567

DRCluster CR objects Region and S3ProfileName are immutable.

Comment 42 errata-xmlrpc 2023-06-21 15:22:14 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 (Red Hat OpenShift Data Foundation 4.13.0 enhancement and 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/RHBA-2023:3742