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

Restore is partially failing with error "pod.BackupPlugin is not a restore item action"

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • oadp-operator-bundle-container-1.3.0-137
    • ToDo
    • Yes
    • 0
    • 0
    • Very Likely
    • 0
    • None
    • Unset
    • Unknown

      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.

       

      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:

            wnstb Wes Hayutin
            rhn-support-prajoshi Prasad Joshi
            Prasad Joshi Prasad Joshi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: