Creating a snapshot on Trident storage causes errors and an unusable snapshot
Applies to
Trident for Kubernetes/Openshift
Issue
On a fresh Trident install or after a Kubernetes Upgrade to 1.20 or higher, when attempting to create a Snapshot using kubectl on Trident provisioned PV, the following error occurs:
E0929 16:12:43.790411 1 reflector.go:127] github.com/kubernetes-csi/external-snapshotter/client/v3/informers/externalversions/factory.go:117:
Failed to watch *v1beta1.VolumeSnapshot: failed to list *v1beta1.VolumeSnapshot: the server could not find the requested resource
(get volumesnapshots.snapshot.storage.k8s.io)
The snapshot controller is shown as running:
$ kubectl -n kube-system get pod snapshot-controller-0
NAME READY STATUS RESTARTS AGE
snapshot-controller-0 1/1 Running 0 43h