-
Bug
-
Resolution: Done
-
Major
-
OADP 1.1.0
-
False
-
-
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: