Bug 2273605

Summary: [MDR][RDR] Drpolicy is in Not validated state with error msg spec: Invalid value: "object": replicationClassSelector is immutable, spec: Invalid value: "object": volumeSnapshotClassSelector is immutable
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: Pratik Surve <prsurve>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: unspecified CC: aclewett, akrai, hnallurv, kseeger, muagarwa, rgowdege, srangana
Version: 4.16Keywords: TestBlocker
Target Milestone: ---   
Target Release: ODF 4.16.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.16.0-76 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-07-17 13:18:19 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 2024-04-05 09:46:30 UTC
Description of problem (please be detailed as possible and provide log
snippests):

[RDR] Drpolicy is in the Not Validated state with error message spec: Invalid value: "object": replicationClassSelector is immutable, spec: Invalid value:  "object": volumeSnapshotClassSelector is immutable

Version of all relevant components (if applicable):

OCP version:- 4.16.0-0.nightly-2024-04-02-182836
ODF version:- 4.16.0-69
CEPH version:- ceph version 18.2.1-76.el9cp (2517f8a5ef5f5a6a22013b2fb11a591afd474668) reef (stable)
ACM version:- 2.10.0
SUBMARINER version:- v0.17.0
VOLSYNC version:- volsync-product.v0.9.0
VOLSYNC method:- destinationCopyMethod: Direct


Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?
yes

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.Deploy RDR cluster
2.Create drpolicy from UI
3.Check drpolicy status from cli


Actual results:
oc get drpolicy -A -o yaml
apiVersion: v1
items:
- apiVersion: ramendr.openshift.io/v1alpha1
  kind: DRPolicy
  metadata:
    creationTimestamp: "2024-04-05T04:40:02Z"
    generation: 1
    name: drpolicy-10m
    resourceVersion: "2308190"
    uid: 5324ce0f-8b89-4191-ab16-926205d9af7a
  spec:
    drClusters:
    - prsurve-c1
    - prsurve-vm-d
    schedulingInterval: 10m
  status:
    conditions:
    - lastTransitionTime: "2024-04-05T04:40:02Z"
      message: 'DRPolicy.ramendr.openshift.io "drpolicy-10m" is invalid: [spec: Invalid
        value: "object": replicationClassSelector is immutable, spec: Invalid value:
        "object": volumeSnapshotClassSelector is immutable]'
      observedGeneration: 1
      reason: FinalizerAddFailed
      status: "False"
      type: Validated
kind: List
metadata:
  resourceVersion: ""


Expected results:



Additional info:

Comment 17 errata-xmlrpc 2024-07-17 13:18:19 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.16.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:4591