Bug 2005830 - [DR] DRPolicy resource should not be editable after creation
Summary: [DR] DRPolicy resource should not be editable after creation
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: odf-dr
Version: 4.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ODF 4.13.0
Assignee: rakesh-gm
QA Contact: Sidhant Agrawal
URL:
Whiteboard:
: 2148460 2166707 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-20 09:50 UTC by Pratik Surve
Modified: 2023-08-09 17:00 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-06-21 15:22:14 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2023:3742 0 None None None 2023-06-21 15:22:53 UTC

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


Note You need to log in before you can comment on or make changes to this bug.