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

Backups failing on snapshot creation even with "defaultVolumesToFsBackup: true"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Undefined Undefined
    • None
    • None
    • OADP
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ToDo
    • Hide

      SFDC 03848116

      Show
      SFDC 03848116
    • 0
    • 0
    • Very Likely
    • 0
    • None
    • Unset
    • Unknown
    • No

      Customer is trying to back up applications with OADP, but some apps use PVCs on StorageClasses that do not support snapshots. To force the use of Kopia instead of snapshots, they have set the parameter "defaultVolumesToFsBackup: true". However, even with this configuration, backups are failing while trying to take a snapshot:

      time="2024-06-13T00:15:48Z" level=error msg="Error backing up item" backup=openshift-adp/0004-XYZ-20240613001542 error="error executing custom action (groupResource=persistentvolumeclaims, namespace=XYZ, name=XYZ-pvc): rpc error: code = Unknown desc = failed to get volumesnapshotclass for storageclass azurefile-csi-nfs: error getting volumesnapshotclass: failed to get volumesnapshotclass for provisioner file.csi.azure.com, ensure that the desired volumesnapshot class has the velero.io/csi-volumesnapshot-class label" error.file="/remote-source/velero/app/pkg/backup/item_backupper.go:366" error.function="github.com/vmware-tanzu/velero/pkg/backup.(*itemBackupper).executeActions" logSource="/remote-source/velero/app/pkg/backup/backup.go:448" name=XYZ-pvc

            wnstb Wes Hayutin
            rhn-support-msecaur Matthew Secaur
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: