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

OADP Restores Fail when Hypershift Plugin is included in DPA defaultPlugins for non-hypershift env.

XMLWordPrintable

    • Quality / Stability / Reliability
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • oadp-operator-bundle-container-1.5.0-108
    • ToDo
    • Moderate
    • Very Likely
    • 0
    • 5
    • None
    • Unset
    • Unknown
    • None

      // code placeholder
      

      Incomplete fix for https://issues.redhat.com/browse/OADP-6121  left restores failing.

        * See results from https://github.com/openshift/oadp-operator/pull/1749

       

      Errors observed:

      DM: 

          mysql-persistent:  error preparing persistentvolumeclaims/mysql-persistent/mysql: rpc error: code = Unknown desc = error unpausing NodePools: no matches for kind "NodePool" in version "hypershift.openshift.io/v1beta1"
       

      FSB - Kopia

      error preparing persistentvolumeclaims/mysql-persistent/mysql: rpc error: code = Unknown desc = error unpausing NodePools: no matches for kind "NodePool" in version "hypershift.openshift.io/v1beta1" 

       

      Testing a fix now -  https://github.com/weshayutin/hypershift-oadp-plugin/commit/acac25ad1cf1ed936d89c26fc1312f21b5f1dee6

       

       

       

       

       

       

       

      BACKUP BUG  - is below

      ----------------------------------------------------------------------------------------------------------

      Description of problem:

      During backup testing with the AWS provider (using the AWS plugin), the backup fails if the hypershift plugin is included in the defaultPlugins list. The issue occurs with both non-admin and standard backups.

      ~~~~~~~~~~~~

      velero logs: error msg="Error backing up item" backup=openshift-adp/nadeem-md-nab-kube2-affdb668-959c-4b9a-8443-29f878cacb95 error="error executing custom action (groupResource=deployments.apps, namespace=nadeem, name=mysql): rpc error: code = Unknown desc = error getting HCP namespace: error getting HostedControlPlane: no matches for kind \"HostedControlPlane\" in version \"hypershift.openshift.io/v1beta1\"" error.file="/remote-source/velero/app/pkg/backup/item_backupper.go:398" error.function="github.com/vmware-tanzu/velero/pkg/backup.(*itemBackupper).executeActions" logSource="/remote-source/velero/app/pkg/backup/backup.go:863" name=mysql

      ~~~~~~~~~

       

      Version-Release number of selected component (if applicable):

       OADP version 1.5.0 (iib:965127oadp-operator-bundle-container-1.5.0-94

      How reproducible:

       

      Steps to Reproduce:
      1. create dpa with hypershift plugin
      2. start backup of any application
      3. 

      Actual results:

      Backup gets failed

      Expected results:

      Backup Should completed 

      Additional info:

              wnstb Wes Hayutin
              wnstb Wes Hayutin
              Md Nadeem Md Nadeem
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: