-
Bug
-
Resolution: Done-Errata
-
Blocker
-
OADP 1.3.0
-
False
-
-
False
-
oadp-operator-bundle-container-1.3.0-137
-
ToDo
-
-
-
0
-
0
-
Very Likely
-
0
-
None
-
Unset
-
Unknown
-
Yes
Description of problem:
Currently all the restores are failing in OADP 1.3.0 with below error.
time="2023-10-27T06:47:35Z" level=error msg="Velero restore error: rpc error: code = Unknown desc = *pod.BackupPlugin is not a restore item action" logSource="/remote-source/velero/app/pkg/controller/restore_controller.go:553" restore=openshift-adp/test-restore
Attached regression suite results below.
- Tests totals: Total: 131 | 45 Passed | 67 Failed | 19 Skipped
- JUnit test report
- RP link: Link to ReportPortal not found.
- Jenkins job: Link to Jenkins Job
Version-Release number of selected component (if applicable):
OADP 1.3.0 - 131 (brew.registry.redhat.io/rh-osbs/iib:609195)
How reproducible:
Always
Steps to Reproduce:
1. Create a empty namespace
$ oc create ns test
2. Trigger a backup of above namespace.
$ oc get backup test-backup1 -o yaml apiVersion: velero.io/v1 kind: Backup metadata: annotations: velero.io/resource-timeout: 10m0s velero.io/source-cluster-k8s-gitversion: v1.27.6+f67aeb3 velero.io/source-cluster-k8s-major-version: "1" velero.io/source-cluster-k8s-minor-version: "27" creationTimestamp: "2023-10-27T06:55:52Z" generation: 6 labels: velero.io/storage-location: ts-dpa-1 name: test-backup1 namespace: openshift-adp resourceVersion: "61515" uid: 37fc6e83-8f87-4080-bd81-d8dc6d579feb spec: csiSnapshotTimeout: 10m0s defaultVolumesToFsBackup: false includedNamespaces: - test itemOperationTimeout: 4h0m0s snapshotMoveData: false storageLocation: ts-dpa-1 ttl: 720h0m0s volumeSnapshotLocations: - ts-dpa-1 status: completionTimestamp: "2023-10-27T06:55:58Z" expiration: "2023-11-26T06:55:52Z" formatVersion: 1.1.0 phase: Completed progress: itemsBackedUp: 18 totalItems: 18 startTimestamp: "2023-10-27T06:55:52Z" version: 1
3. Remove test namespace
$ oc delete ns test
4. Execute restore
$ oc get restore test-restore1 -o yaml apiVersion: velero.io/v1 kind: Restore metadata: creationTimestamp: "2023-10-27T06:56:55Z" finalizers: - restores.velero.io/external-resources-finalizer generation: 3 name: test-restore1 namespace: openshift-adp resourceVersion: "61859" uid: 8a41d268-3272-479b-b74d-ae20921037ef spec: backupName: test-backup1 excludedResources: - nodes - events - events.events.k8s.io - backups.velero.io - restores.velero.io - resticrepositories.velero.io - csinodes.storage.k8s.io - volumeattachments.storage.k8s.io - backuprepositories.velero.io itemOperationTimeout: 4h0m0s status: completionTimestamp: "2023-10-27T06:56:56Z" errors: 1 phase: PartiallyFailed startTimestamp: "2023-10-27T06:56:55Z"
Actual results:
All the restores are failing in OADP 1.3.0.
$ velero restore logs test-restore1 -n openshift-adp time="2023-10-27T06:56:55Z" level=info msg="starting restore" logSource="/remote-source/velero/app/pkg/controller/restore_controller.go:517" restore=openshift-adp/test-restore1 time="2023-10-27T06:56:55Z" level=error msg="Velero restore error: rpc error: code = Unknown desc = *pod.BackupPlugin is not a restore item action" logSource="/remote-source/velero/app/pkg/controller/restore_controller.go:553" restore=openshift-adp/test-restore1 time="2023-10-27T06:56:55Z" level=info msg="restore completed" logSource="/remote-source/velero/app/pkg/controller/restore_controller.go:574" restore=openshift-adp/test-restore1
Expected results:
Restore should be successful.
Additional info:
- links to
-
RHSA-2023:112677 OpenShift API for Data Protection (OADP) 1.3.0 release advisory