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
  3. OADP-1251

[RedHat QE] Verify Bug OADP-1056 - DPA fails validation if multiple BSLs have same provider

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • 4
    • False
    • Hide

      None

      Show
      None
    • False
    • Passed
    • 0
    • 0.000
    • Very Likely
    • 0
    • None
    • Unset
    • Unknown

      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:

              rhn-support-prajoshi Prasad Joshi
              mperetz@redhat.com Maya Peretz
              Prasad Joshi Prasad Joshi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: