vSphere 7.x no applicable volumesnapshotter found #8481
Replies: 2 comments
-
Thanks for providing the detailed information, and sorry for the confusion and inconvenience. First, if you are a vSphere customer, it's better to ask for help from VCF customer support. Second, to your issue, we need to know the content of the PV. I mean the YAML of the PV, e.g. If there is exactly what happened in your environment, I suggest to use Restic/Kopia to backup the legacy volumes. The new CSI-compatible volumes can be backed up by the CSI driver way. |
Beta Was this translation helpful? Give feedback.
-
This discussion is also posted in issue #8498. |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I have the following set up:
vSphere 7
VMware ESXi 7.0 Update 3q
Rancher 2.9.2
K8s v1.28.10+rke2r1
Velero 1.15 (Helm)
Helm values:
Storage Class:
Restic / Kopia works fine. But shouldn't PV snapshots also work with this set up?
I followed the steps from this blogpost and I can successfully create and restore volume snapshots:
https://cormachogan.com/2022/03/03/announcing-vsphere-csi-driver-v2-5-support-for-csi-snapshots/
When I try to backup the pod and its pv, the backup finished very quick and I see this error in the logs:
time="2024-12-04T06:25:38Z" level=info msg="Summary for skipped PVs: [{\"name\":\"pvc-df83e1cd-673c-454d-9943-c48c6b65fbe3\",\"reasons\":[{\"approach\":\"podvolume\",\"reason\":\"opted out due to annotation in pod csisnaps-pod\"},{\"approach\":\"volumeSnapshot\",\"reason\":\"no applicable volumesnapshotter found\"}]}]" backup=velero/rancher-test-default logSource="pkg/backup/backup.go:542"
I really tried all different sorts of things.
This is my snapotclass. I even added a label.
I also added the OPT-IN for the pvc:
Either I'm missing something or volume snapshots are not supported in my set up.
Please help.
Beta Was this translation helpful? Give feedback.
All reactions