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

[Data Mover] VSB and VSR names are not unique

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • oadp-velero-plugin-for-csi-container-1.1.0-21
    • Passed
    • 0
    • 0
    • Very Likely
    • 0
    • None
    • Unset
    • Unknown
    • No

      Description of problem:

      When creating a backup or restore with data mover enabled, the VSB and VSR resources that get created follow the format `vsb-<pvc_name>/vsr-<pvc_name>`. This will cause problems if stale resources are present in the cluster and the user runs a second backup/restore since the names of the resources will be identical.

      We want to instead use `generateName` to create unique names for these resources and use labels in the plugin to find these resources rather than querying the resource names directly.

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

      1.1.0

      How reproducible:

      100%

      Steps to Reproduce:
      1. Enable data mover
      2. Create backup and observe the names of the VSBs in the app namespace as `vsb-<pvc_name>`

      Actual results:

       Observe the names of the VSBs in the app namespace as `vsb-<pvc_name>`

      Expected results:

      VSB names and VSR names should end with a unique hash.

      Additional info:

              spampatt@redhat.com Shubham Pampattiwar
              rhn-engineering-dymurray Dylan Murray
              Maya Peretz Maya Peretz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: