Uploaded image for project: 'OpenShift API for Data Protection'
  1. OpenShift API for Data Protection
  2. OADP-6459

Adding a backupLocation to DPA with an existing backupLcation name is not rejected

XMLWordPrintable

    • Quality / Stability / Reliability
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • oadp-operator-bundle-container-1.5.1-23
    • ToDo
    • Important
    • Very Likely
    • 0
    • 8
    • None
    • Unset
    • Unknown
    • None

      Description

      If the DataProtectionApplication backupLocations has an existing named backupLocation:

      Adding a second backupLocation with the same name is not rejected as invalid state. This is not allowed because the name is used to create BackupStorageLocation objects. Duplicate named objects are not allowed by Kubernetes.

      Impact: 

      The OADP Operator continually updates the BackupStorageLocation with the differing values continually.

      This causes Backup and Restore failure due to Velero fails to read the Secret credentials of the BackupStorageLocation if the provider types are different (aws, azure, gcp).

      Workarounds:

      Remove the offending duplicate DPA backupLocations

       

      External Info:

      Fusion Item 57948

        1. dpa-duplicate-backuplocation-names.yaml
          9 kB
          Michael Fruchtman
        2. bsl-update-constant.txt
          2 kB
          Michael Fruchtman

          There are no Sub-Tasks for this issue.

              spampatt@redhat.com Shubham Pampattiwar
              msfrucht_rh Michael Fruchtman (Inactive)
              Prasad Joshi Prasad Joshi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: