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

DataMover: restore partiallyFailed with "Plugin Panicked" error

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • oadp-velero-plugin-for-csi-container-1.1.1-22
    • ToDo
    • 0
    • 0
    • Very Likely
    • 0
    • None
    • Unset
    • Unknown
    • No

      Description of problem: DataMover restore partiallyFailed with plugin panicked errror. 

      time="2022-11-04T08:10:35Z" level=error msg="Namespace test-oadp-849, resource restore error: error preparing volumesnapshots.snapshot.storage.k8s.io/test-oadp-849/velero-nginx-logs-cs8wx: rpc error: code = Aborted desc = plugin panicked: runtime error: index out of range [0] with length 0" logSource="/remote-source/velero/app/pkg/controller/restore_controller.go:504" restore=openshift-adp/datamover-20221104075711

      Version-Release number of selected component (if applicable):
      OADP 1.1.1 (oadp-operator-bundle-container-1.1.1-38)
      GCP 4.11

      How reproducible:

      Intermittent (I hit it after 30+ successful restores)

      Steps to Reproduce:
      1. Create a datamover backup 
      2. Delete namespace and trigger restore multiple times

      Actual results:

      Restore partiallyFailed with "Plugin panicked" error.

      time="2022-11-04T08:10:35Z" level=error msg="Namespace test-oadp-849, resource restore error: error preparing volumesnapshots.snapshot.storage.k8s.io/test-oadp-849/velero-nginx-logs-cs8wx: rpc error: code = Aborted desc = plugin panicked: runtime error: index out of range [0] with length 0" logSource="/remote-source/velero/app/pkg/controller/restore_controller.go:504" restore=openshift-adp/datamover-20221104075711
      time="2022-11-04T08:10:35Z" level=error msg="Namespace test-oadp-849, resource restore error: error preparing persistentvolumeclaims/test-oadp-849/nginx-logs: rpc error: code = Unknown desc = Failed to get Volumesnapshot test-oadp-849/velero-nginx-logs-cs8wx to restore PVC test-oadp-849/nginx-logs: volumesnapshots.snapshot.storage.k8s.io \"velero-nginx-logs-cs8wx\" not found" logSource="/remote-source/velero/app/pkg/controller/restore_controller.go:504" restore=openshift-adp/datamover-20221104075711

      Expected results: 
      Restore should be successful.

      Additional info:

              spampatt@redhat.com Shubham Pampattiwar
              rhn-support-prajoshi Prasad Joshi
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: