piraeus icon indicating copy to clipboard operation
piraeus copied to clipboard

Snapshotter not workin with Kubernetes 1.17

Open TNissen377 opened this issue 5 years ago • 1 comments

The snapshotter container is complaining:

E0207 08:43:45.373919 1 reflector.go:270] github.com/kubernetes-csi/external-snapshotter/pkg/client/informers/externalversions/factory.go:117: Failed to watch *v1alpha1.VolumeSnapshot: unknown (get volumesnapshots.snapshot.storage.k8s.io)

E0207 08:43:45.395867 1 reflector.go:126] github.com/kubernetes-csi/external-snapshotter/pkg/client/informers/externalversions/factory.go:117: Failed to list *v1alpha1.VolumeSnapshotClass: volumesnapshotclasses.snapshot.storage.k8s.io is forbidden: User "system:serviceaccount:kube-system:piraeus-csi-controller-sa" cannot list resource "volumesnapshotclasses" in API group "snapshot.storage.k8s.io" at the cluster scope

The CRDs for the snapshotter are missing. As of Kubernetes 1.17 this should be v1beta1. But may be the Alpha can be used as well if the get installed. I think the CRDs for the snapshotter should get installed with piraeus.

TNissen377 avatar Feb 07 '20 09:02 TNissen377

I'm still using linstor-csi 1.6. Just checked with dev, should move to spec 1.7. I'll test and update.

alexzhc avatar Feb 07 '20 18:02 alexzhc