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-1253

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

    XMLWordPrintable

Details

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

      None

      Show
      None
    • False
    • ToDo
    • 0
    • 0
    • Very Likely
    • 0
    • None
    • Unset
    • Unknown

    Description

      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:

      Attachments

        Activity

          People

            rh-ee-ssai SHIVA SAI K
            mperetz@redhat.com Maya Peretz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: