Bug 2273605 - [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
Summary: [MDR][RDR] Drpolicy is in Not validated state with error msg spec: Invalid va...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: odf-dr
Version: 4.16
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ODF 4.16.0
Assignee: rakesh-gm
QA Contact: Pratik Surve
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-04-05 09:46 UTC by Pratik Surve
Modified: 2024-07-17 13:18 UTC (History)
7 users (show)

Fixed In Version: 4.16.0-76
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-07-17 13:18:19 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage ramen pull 233 0 None Merged Bug 2273605: DRPolicy: add default values 2024-04-08 14:14:38 UTC
Red Hat Product Errata RHSA-2024:4591 0 None None None 2024-07-17 13:18:20 UTC

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


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