portworx / velero-plugin

Portworx plugin for Velero
Apache License 2.0
7 stars 7 forks source link

No Volume ID when making backup #12

Open agadelshin opened 3 years ago

agadelshin commented 3 years ago

Is this a BUG REPORT or FEATURE REQUEST?: Bug report

What happened: velero skipped PVC created by portworx

time="2021-04-21T16:15:39Z" level=info msg="No volume ID returned by volume snapshotter for persistent volume" backup=velero-system/test-3 logSource="pkg/backup/item_backupper.go:458" name=pvc-7aa36434-d5bf-4fb7-b30f-d665afddbc68 namespace= persistentVolume=pvc-7aa36434-d5bf-4fb7-b30f-d665afddbc68 resource=persistentvolumes volumeSnapshotLocation=portworx-local

What you expected to happen: velero should backup PVC with velero-plugin

Environment:

I can see that 'spec.portworxVolume.volumeID' should be available only for pre-provisioned volumes according to documentation https://docs.portworx.com/portworx-install-with-kubernetes/storage-operations/create-pvcs/using-preprovisioned-volumes/. It seems for dynamic volumes plugin won't work.

agadelshin commented 3 years ago

I was trying to create PV/PVC using preprovisioned volumes but somehow it doesn't work.

  Warning  ProvisioningFailed    92s (x10 over 10m)      pxd.portworx.com_px-csi-ext-5f86ffb667-nj5vr_586340b9-538b-4e92-9c3e-8c3f21a84264  failed to provision volume with StorageClass "default-px-enc-sc": claim Selector is not supported

I would appreciate if somebody can help to test it