-
Bug
-
Resolution: Done-Errata
-
Blocker
-
OADP 1.1.1
-
False
-
-
False
-
QE - Ack
-
oadp-operator-bundle-container-1.2.2-16
-
Passed
-
-
-
0
-
0
-
Very Likely
-
0
-
None
-
Unset
-
Unknown
-
Yes
Description of problem: Backup of an app with internal images partially fails with plugin panicked error. I think that's the reason since I tried the same using MSSQL app, which uses public images, and it was successful.
Version-Release number of selected component (if applicable):
oadp-operator-bundle-container-1.0.6-3
How reproducible: 100%
Steps to Reproduce:
1. Create a secret for IAM role based creds
2. Create a cloudstorage CR pointing to those creds
apiVersion: v1 items: - apiVersion: oadp.openshift.io/v1alpha1 kind: CloudStorage metadata: name: temp2-oadpbucket158237 namespace: openshift-adp spec: creationSecret: key: cloud name: cloud-credentials enableSharedConfig: true name: temp2-oadpbucket158237 provider: aws region: us-east-2 kind: List metadata: resourceVersion: ""
3. Create a DPA which refers that cloudstorage:
apiVersion: v1 items: - apiVersion: oadp.openshift.io/v1alpha1 kind: DataProtectionApplication metadata: name: ts-dpa namespace: openshift-adp spec: backupLocations: - bucket: cloudStorageRef: name: temp2-oadpbucket158237 config: enableSharedConfig: "true" region: us-east-2 credential: key: cloud name: cloud-credentials default: true configuration: restic: podConfig: resourceAllocations: {} velero: defaultPlugins: - openshift - aws - kubevirt - csi podDnsConfig: {} snapshotLocations: [] kind: List metadata: resourceVersion: ""
3. Create a backup of an app which has internal images, such as django app.
Actual results:
Backup parially fails with this error in the velero logs:
time="2022-11-23T15:40:46Z" level=info msg="1 errors encountered backup up item" backup=openshift-adp/django-persistent-67a5b83d-6b44-11ed-9cba-902e163f806c logSource="/remote-source/velero/app/pkg/backup/backup.go:413" name=django-psql-persistent time="2022-11-23T15:40:46Z" level=error msg="Error backing up item" backup=openshift-adp/django-persistent-67a5b83d-6b44-11ed-9cba-902e163f806c error="error executing custom action (groupResource=imagestreams.image.openshift.io, namespace=django-persistent, name=django-psql-persistent): rpc error: code = Aborted desc = plugin panicked: runtime error: index out of range [1] with length 1" error.file="/remote-source/velero/app/pkg/backup/item_backupper.go:316" error.function="github.com/vmware-tanzu/velero/pkg/backup.(*itemBackupper).executeActions" logSource="/remote-source/velero/app/pkg/backup/backup.go:417" name=django-psql-persistent
Expected results:
Additional info:
- relates to
-
OADP-1007 Documentation required for OADP on ROSA w/ STS
- Closed
- links to
-
RHBA-2023:118617 OpenShift API for Data Protection (OADP) 1.2.2 security and bug fix update
- mentioned on