Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snapshotter not workin with Kubernetes 1.17 #14

Open
TNissen377 opened this issue Feb 7, 2020 · 1 comment
Open

Snapshotter not workin with Kubernetes 1.17 #14

TNissen377 opened this issue Feb 7, 2020 · 1 comment

Comments

@TNissen377
Copy link

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.

@alexzhc
Copy link
Member

alexzhc commented Feb 7, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants