
UNSOLVED
PowerFlex controller crashloopbackoff
Hi Team,
I'm currently running the following:
CentOS 7.9, CSI: 1.4, K8s: 1.20, SDC: 3.5.1.1
I followed the instructions in the latest release of the CSI plugin but I get the following "CrashLoopBackOff" errors:
vxflexos snapshot-controller-0 1/1 Running 0 3h39m
vxflexos vxflexos-controller-654d7445fc-4zbkl 4/5 CrashLoopBackOff 60 3h39m
vxflexos vxflexos-controller-654d7445fc-tnd8w 4/5 CrashLoopBackOff 57 3h39m
vxflexos vxflexos-node-89flx 2/2 Running 0 3h39m
vxflexos vxflexos-node-8dpf7 2/2 Running 0 3h39m
vxflexos vxflexos-node-hkkws 2/2 Running 0 3h39m
I also noticed this:
default csi-snapshotter-0 3/3 Running 3h44m <--- shouldn't this be in the same namespace as the vxflexos controller?
and when I run kubectl logs csi-snapshotter-0 csi-snapshotter, I get these errors:
I0407 01:41:16.751963 1 reflector.go:255] Listing and watching *v1.VolumeSnapshotContent from github.com/kubernetes-csi/external-snapshotter/client/v4/informers/externalversions/factory.go:117
E0407 01:41:16.763315 1 reflector.go:138] github.com/kubernetes-csi/external-snapshotter/client/v4/informers/externalversions/factory.go:117: Failed to watch *v1.VolumeSnapshotContent: failed to list *v1.VolumeSnapshotContent: volumesnapshotcontents.snapshot.storage.k8s.io is forbidden: User "system:serviceaccount:default:csi-snapshotter" cannot list resource "volumesnapshotcontents" in API group "snapshot.storage.k8s.io" at the cluster scope
I0407 01:41:30.286330 1 reflector.go:255] Listing and watching *v1.VolumeSnapshotClass from github.com/kubernetes-csi/external-snapshotter/client/v4/informers/externalversions/factory.go:117
E0407 01:41:30.293416 1 reflector.go:138] github.com/kubernetes-csi/external-snapshotter/client/v4/informers/externalversions/factory.go:117: Failed to watch *v1.VolumeSnapshotClass: failed to list *v1.VolumeSnapshotClass: volumesnapshotclasses.snapshot.storage.k8s.io is forbidden: User "system:serviceaccount:default:csi-snapshotter" cannot list resource "volumesnapshotclasses" in API group "snapshot.storage.k8s.io" at the cluster scope
I've downloaded the files from here: https://github.com/kubernetes-csi/external-snapshotter/tree/v4.0.0/client/config/crd
and just ran kubectl create -f snapshot.storage.k8s.io_volumesnapshotclasses.yaml for each one.
Hope someone can help resolve these issues? Thanks!
Jono
Responses (0)
Solutions (0)
