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

DPA fails validation if multiple BSLs have the same provider

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • QE - Ack
    • oadp-operator-container-1.1.2-11
    • ToDo
    • 0
    • 0
    • Very Likely
    • 0
    • Customer Escalated, Customer Facing
    • None
    • Unset
    • Unknown
    • No

      Description of problem:

      We currently have validation which prevents a user from creating a DPA that has multiple BSLs who use the same provider. The history behind this was to prevent conflicts with the internal image backup/restore workflow when we deployed a registry deployment along with velero. With this functionality changed in 1.1, we can likely remove this validation as long as both BSLs aren't set as default.

      Version-Release number of selected component (if applicable):

      1.1.0

      How reproducible:

      100%

      Steps to Reproduce:
      1. Create DPA with 2 `storageLocations` that both have provider `aws`. One should have `default: true` and the other `default: false`

      Actual results:

      ```

      status:
        conditions:
          - lastTransitionTime: '2022-11-23T11:33:05Z'
            message: 'more than one backupstoragelocations configured for provider aws '
            reason: Error
            status: 'False'
            type: Reconciled
      ```

      Expected results:

      Should pass validation

      Additional info:

          There are no Sub-Tasks for this issue.

              tkaovila@redhat.com Tiger Kaovilai
              rhn-engineering-dymurray Dylan Murray
              Prasad Joshi Prasad Joshi
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: