Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-4550

document issue with OADP 1.1.2 which results in BackupSchedule in FailedValidation status

XMLWordPrintable

    • False
    • None
    • False
    • No

      This is a known issue 

      It is an issue with OADP 1.1.2 which is used by ACM backup; so not a bug with the ACM backup but affecting ACM backup and restore

      related to 

      https://issues.redhat.com/browse/OADP-1511

       

      Title for known issue :

      OADP 1.1.2  BackupSchedule gets into a FailedValidation status when using OADP 1.1.2 or above

       

      Content:

      Problem description:

      You enable the backup and restore ACM component and successfully create a DataProtectionApplication resource, which creates a BackupStorageLocation resource with a status of Available

      You create a BackupSchedule resource and the status goes into FailedValidation, with the following message: 
      oc get backupschedule -n open-cluster-management-backup
      NAME PHASE MESSAGE
      rosa-backup-schedule FailedValidation Backup storage location is not available. Check velero.io.BackupStorageLocation and validate storage credentials.

       

      Issue: 

      The BackupStorageLocation resource has no ownerReference. It should be the DataProtectionApplication resource as the ownerReference

       

      Workaround:

      To workaround the problem, manually add this ownerReference to the BackupStorageLocation:

      1. Edit replicas from 1 to 0 in OADP operator CSV 

      oc edit csv -n open-cluster-management-backup 

      oadp-operator.v1.1.2

      1.  Patch ownerReference annotations on the BSL as below
      2. Turn back the oadp-operator.v1.1.2 replica to 1 for normal processing of dpa

      metadata:
      resourceVersion: '273482'
      name: dpa-sample-1
      uid: 4701599a-cdf5-48ac-9264-695a95b935a0
      namespace: open-cluster-management-backup
      ownerReferences: <<

      • apiVersion: oadp.openshift.io/v1alpha1
        blockOwnerDeletion: true
        controller: true
        kind: DataProtectionApplication
        name: dpa-sample
        uid: 52acd151-52fd-440a-a846-95a0d7368ff7

              chrisadawson Christopher Dawson
              vbirsan@redhat.com Valentina Birsan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: