Uploaded image for project: 'Data Foundation Bugs'
  1. Data Foundation Bugs
  2. DFBUGS-440

[2277941] [RDR][MDR] [Discovered Apps] After performing an ODF upgrade, the MCO operator reconciles the VeleroNamespaceSecretKeyRef and CACertificates fields in the Ramen Hub configmap.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • odf-4.16
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • ?
    • Hide
      .MCO operator reconciles the VeleroNamespaceSecretKeyRef and CACertificates fields

      When the OpenShift Data Foundation operator is upgraded, the `CACertificates` and `veleroNamespaceSecretKeyRef` fields under `s3StoreProfiles` in the Ramen config are lost.

      Workaround: If the Ramen config had custom values for the `CACertificates` and `veleroNamespaceSecretKeyRef` fields, then set those custom values after the upgrade is performed.
      Show
      .MCO operator reconciles the VeleroNamespaceSecretKeyRef and CACertificates fields When the OpenShift Data Foundation operator is upgraded, the `CACertificates` and `veleroNamespaceSecretKeyRef` fields under `s3StoreProfiles` in the Ramen config are lost. Workaround: If the Ramen config had custom values for the `CACertificates` and `veleroNamespaceSecretKeyRef` fields, then set those custom values after the upgrade is performed.
    • Known Issue
    • RamenDR sprint 2024 #18, RamenDR sprint 2024 #19
    • Proposed
    • None

      Description of problem (please be detailed as possible and provide log
      snippests):

      [RDR][MDR] [Discovered Apps] After performing an ODF upgrade, the MCO operator reconciles the VeleroNamespaceSecretKeyRef and CACertificates fields in the Ramen Hub configmap.

      Version of all relevant components (if applicable):

      OCP version:- 4.16.0-0.nightly-2024-04-26-145258
      ODF version:- 4.16.0-90
      CEPH version:- ceph version 18.2.1-136.el9cp (e7edde2b655d0dd9f860dda675f9d7954f07e6e3) reef (stable)
      ACM version:- 2.10.2
      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)?

      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?
      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 RDR cluster
      2.Add veleroNamespaceSecretKeyRef and CACertificates
      3.Perform ODF upgrade
      4. check ramen hub configmap values are removed

      Actual results:

      $oc get cm ramen-hub-operator-config -n openshift-operators -o yaml |yq -r '.data."ramen_manager_config.yaml"'
      apiVersion: ramendr.openshift.io/v1alpha1
      drClusterOperator:
      catalogSourceName: redhat-operators
      catalogSourceNamespaceName: openshift-marketplace
      channelName: stable-4.16
      clusterServiceVersionName: odr-cluster-operator.v4.16.0-90.stable
      deploymentAutomationEnabled: true
      namespaceName: openshift-dr-system
      packageName: odr-cluster-operator
      s3SecretDistributionEnabled: true
      health:
      healthProbeBindAddress: :8081
      kind: RamenConfig
      kubeObjectProtection:
      veleroNamespaceName: openshift-adp
      leaderElection:
      leaderElect: true
      leaseDuration: 0s
      renewDeadline: 0s
      resourceLock: ""
      resourceName: hub.ramendr.openshift.io
      resourceNamespace: ""
      retryPeriod: 0s
      maxConcurrentReconciles: 50
      metrics:
      bindAddress: 127.0.0.1:9289
      multiNamespace:
      FeatureEnabled: true
      ramenControllerType: dr-hub
      ramenOpsNamespace: openshift-dr-ops
      s3StoreProfiles:

      Expected results:
      ======Before upgrade=========

      apiVersion: v1
      data:
      ramen_manager_config.yaml: |
      apiVersion: ramendr.openshift.io/v1alpha1
      drClusterOperator:
      catalogSourceName: redhat-operators
      catalogSourceNamespaceName: openshift-marketplace
      channelName: stable-4.16
      clusterServiceVersionName: odr-cluster-operator.v4.16.0-84.stable
      deploymentAutomationEnabled: true
      namespaceName: openshift-dr-system
      packageName: odr-cluster-operator
      s3SecretDistributionEnabled: true
      health:
      healthProbeBindAddress: :8081
      kind: RamenConfig
      kubeObjectProtection:
      veleroNamespaceName: openshift-adp
      leaderElection:
      leaderElect: true
      leaseDuration: 0s
      renewDeadline: 0s
      resourceLock: ""
      resourceName: hub.ramendr.openshift.io
      resourceNamespace: ""
      retryPeriod: 0s
      maxConcurrentReconciles: 50
      metrics:
      bindAddress: 127.0.0.1:9289
      multiNamespace:
      FeatureEnabled: true
      ramenControllerType: dr-hub
      ramenOpsNamespace: ramen-ops
      s3StoreProfiles:

      • s3Bucket: odrbucket-5ea96318004d
        s3CompatibleEndpoint: https://s3-openshift-storage.apps.prsurve-c1.qe.rh-ocs.com
        s3ProfileName: s3profile-prsurve-c1-ocs-storagecluster
        s3Region: noobaa
        s3SecretRef:
        name: 70fab2734107b2d7a50aee6a6a10d2de07a91ad
        veleroNamespaceSecretKeyRef:
        key: cloud
        name: 70fab2734107b2d7a50aee6a6a10d2de07a91ad
        CACertificates: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUR1ekNDQXFPZ0F3SUJBZ0lVZEM5R2MwYkhTTGx6UVJzV2Jkam5zL1ZjWExzd0RRWUpLb1pJaHZjTkFRRUwKQlFBd2JURWZNQjBHQTFVRUNnd1dUME5USUZGRklDMGdVbVZrSUVoaGRDd2dTVzVqTGpFUE1BMEdBMVVFQ3d3RwpUME5USUZGRk1SY3dGUVlEVlFRRERBNVBRMU1nVVVVZ1VtOXZkQ0JEUVRFZ01CNEdDU3FHU0liM0RRRUpBUllSCmIyTnpMWEZsUUhKbFpHaGhkQzVqYjIwd0hoY05NakV3T1RFME1UQTBNekExV2hjTk16RXdPVEV5TVRBME16QTEKV2pCdE1SOHdIUVlEVlFRS0RCWlBRMU1nVVVVZ0xTQlNaV1FnU0dGMExDQkpibU11TVE4d0RRWURWUVFMREFaUApRMU1nVVVVeEZ6QVZCZ05WQkFNTURrOURVeUJSUlNCU2IyOTBJRU5CTVNBd0hnWUpLb1pJaHZjTkFRa0JGaEZ2ClkzTXRjV1ZBY21Wa2FHRjBMbU52YlRDQ0FTSXdEUVlKS29aSWh2Y05BUUVCQlFBRGdnRVBBRENDQVFvQ2dnRUIKQU9sNWdpOFl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UXMwc1lJQ25OdFVva1NHSExlUS85MldoKzZyK2w2TGxpbVd2em5nPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
      • s3Bucket: odrbucket-5ea96318004d
        s3CompatibleEndpoint: https://s3-openshift-storage.apps.prsurve-vm-d.qe.rh-ocs.com
        s3ProfileName: s3profile-prsurve-vm-d-ocs-storagecluster
        s3Region: noobaa
        s3SecretRef:
        name: c0fdb10334d3fb2593dc29c4dd08d232436af1f
        veleroNamespaceSecretKeyRef:
        key: cloud
        name: c0fdb10334d3fb2593dc29c4dd08d232436af1f
        CACertificates: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUR1ekNDQXFPZ0F3SUJBZ0lVZEM5R2MwYkhTTGx6UVJzV2Jkam5zL1ZjWExzd0RRWUpLb1pJaHZjTkFRRUwKQlFBd2JURWZNQjBHQTFVRUNnd1dUME5USUZGRklDMGdVbVZrSUVoaGRDd2dTVzVqTGpFUE1BMEdBMVVFQ3d3RwpUME5USUZGRk1SY3dGUVlEVlFRRERBNVBRMU1nVVVVZ1VtOXZkQ0JEUVRFZ01CNEdDU3FHU0liM0RRRUpBUllSCmIyTnpMWEZsUUhKbFpHaGhkQzVqYjIwd0hoY05NakV3T1RFME1UQTBNekExV2hjTk16RXdPVEV5TVRBME16QTEKV2pCdE1SOHdIUVlEVlFRS0RCWlBRMU1nVVVVZ0xTQlNaV1FnU0dGMExDQkpibU11TVE4d0RRWURWUVFMREFaUApRMU1nVVVVeEZ6QVZCZ05WQkFNTURrOURVeUJSUlNCU2IyOTBJRU5CTVNBd0hnWUpLb1pJaHZjTkFRa0JGaEZ2ClkzTXRjV1ZBY21Wa2FHRjBMbU52YlRDQ0FTSXdEUVlKS29aSWh2Y05BUUVCQlFBRGdnRVBBRENDQVFvQ2dnRUIKQU9sNWdpOFlNUStWMVhFV2lSajlNMEpaWU9sR0lBM3NxaHR6amxFSTRJbmVHMndLOHE5K0htVmJmM29jd2F3Vwo5YmNLQ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LS0tCg==
        volSync:
        destinationCopyMethod: Direct
        webhook:
        port: 9443
        kind: ConfigMap
        metadata:
        creationTimestamp: "2024-04-16T05:06:21Z"
        labels:
        cluster.open-cluster-management.io/backup: resource
        olm.managed: "true"
        operators.coreos.com/odr-hub-operator.openshift-operators: ""
        name: ramen-hub-operator-config
        namespace: openshift-operators
        ownerReferences:
      • apiVersion: operators.coreos.com/v1alpha1
        blockOwnerDeletion: false
        controller: false
        kind: ClusterServiceVersion
        name: odr-hub-operator.v4.16.0-84.stable
        uid: f835d16e-e0ed-4b1b-8ce1-197ad606409a
        resourceVersion: "10062519"
        uid: cc85c38f-f780-4f98-ab3d-6bcf3410b307

      Additional info:

              rtalur@redhat.com Raghavendra Talur
              prsurve@redhat.com Pratik Surve
              Raghavendra Talur
              Pratik Surve Pratik Surve
              Votes:
              0 Vote for this issue
              Watchers:
              17 Start watching this issue

                Created:
                Updated: