Bug 2005835

Summary: [DR] VRClass resource should not be editable after creation
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Pratik Surve <prsurve>
Component: odf-drAssignee: Shyamsundar <srangana>
odf-dr sub component: volume-replication-operator QA Contact: Pratik Surve <prsurve>
Status: CLOSED ERRATA Docs Contact:
Severity: unspecified    
Priority: unspecified CC: amagrawa, jespy, mrajanna, muagarwa, nberry, odf-bz-bot, rtalur
Version: 4.15   
Target Milestone: ---   
Target Release: ODF 4.15.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: No validation to block VolumeReplicationClass update operation for immutable objects Consequence: There were no webhooks added to block the user/admin from editing the VolumeReplicationClass to change the parameters,provisioner Fix: Added Webhooks to block user/admin from changing the fields of the VolumeReplicationClass once created. Result: The user/admin is not able to edit and change the immutable objects in VolumeReplicationClass once created
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-03-19 15:19:49 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:
Bug Depends On: 2207780    
Bug Blocks:    

Description Pratik Surve 2021-09-20 10:03:53 UTC
Description of problem (please be detailed as possible and provide log
snippests):

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

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 VRClass resource
3. Edit VRClass resource


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


Expected results:
VRClass resource should not be editable


Additional info:

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

Comment 4 Madhu Rajanna 2022-10-20 07:41:42 UTC
This is good to have not a must have,Based on the discussion with DR team moving this to 4.13.

Comment 21 Mudit Agarwal 2023-06-09 02:47:19 UTC
Being tracked as part of https://issues.redhat.com/browse/RHSTOR-3863

Comment 33 errata-xmlrpc 2024-03-19 15:19:49 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 (Important: Red Hat OpenShift Data Foundation 4.15.0 security, enhancement, & 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/RHSA-2024:1383