-
Sub-task
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
None
-
4
-
False
-
-
False
-
ToDo
-
-
-
0
-
0.000
-
Very Likely
-
0
-
None
-
Unset
-
Unknown
Description of problem: Restore started to fail randomly with "secrets vsr-lttsv-secret already exists" error.
Version-Release number of selected component (if applicable):
GCP 4.11
OADP 1.1.1 (oadp-operator-bundle-container-1.1.1-38)
How reproducible:
Intermittently
Steps to Reproduce:
- Deploy an application with multiple PVC
- Create a backup resource
- Delete ns and run restore
- Repeat step no.3 until you hit the issue
Actual results:
Restore partiallyFailed.
status: completionTimestamp: "2022-11-03T06:58:26Z" errors: 1 phase: PartiallyFailed progress: itemsRestored: 41 totalItems: 41 startTimestamp: "2022-11-03T06:57:22Z" warnings: 4
VSR
conditions: - lastTransitionTime: "2022-11-03T06:57:44Z" message: secrets "vsr-lttsv-secret" already exists reason: Error status: "False" type: Reconciled phase: Failed
VSM logs
2022-11-03T06:57:44Z DEBUG events Normal {"object": {"kind":"Secret","namespace":"openshift-adp","name":"vsr-lttsv-secret","uid":"a8086fa3-96c4-4b49-b4c6-75419da18568","apiVersion":"v1","resourceVersion":"189889"} , "reason": "ResticSecretRestoreReconciled", "message": "created restic secret vsr-lttsv-secret"} 2022-11-03T06:57:44Z INFO Error from batch reconcile: secrets "vsr-lttsv-secret" already exists {"controller": "volumesnapshotrestore", "controllerGroup": "datamover.oadp.openshift.io", "controllerKind": "VolumeSnapshotRestore", "volumeSnapshotRestore": {"name":"vsr-lttsv","namespace":"bug-849"} , "namespace": "bug-849", "name": "vsr-lttsv", "reconcileID": "44a88509-5b89-463a-a96f-410dcdd0c227", "vsr": "bug-849/vsr-lttsv"}
Expected results:
Restore should pass.
Additional info: