-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[nfs-client] Error receiving resource lock #924
Comments
As far as I can tell this was actually due to a changing in the RBAC role. However now my volumes arent getting deleted. Will go over the config files again before posting an issue on it |
facing same error here, v2.1.1-k8s1.10 doesn't have this problem, definitely something related to the changes in v3.0 |
@chz8494 please try editing your clusterrole so it has these permissions https://github.com/kubernetes-incubator/external-storage/blob/master/nfs-client/deploy/auth/clusterrole.yaml#L19 |
@wongma7 thanks for quick reply, adding new permission works! |
Was trying to find the file / line @wongma7 referred to in his comment above, but it looks like the file has moved and the above link goes to a 404. I'm hitting this same issue (with the deploy manifests from Specifically, add the following to the - apiGroups: [""]
resources: ["endpoints"]
verbs: ["get", "list", "watch", "create", "update", "patch"] I'm testing this fix now. It seems like the
|
Well, in my case I figured out the problem—the RBAC manifest I was editing locally (and I thought I was applying to the cluster) was not actually being applied. I had left the old NFS RBAC manifest file from the I reset the cluster, built it again from scratch, and made sure the |
I have the same problem with the current master and the lines geerlingguy pointed to, are missing now. I've added them and it works again. I'm confused if these lines are still necessary, my local test suggests so. |
When starting the latest image of the nfs-client-provisioner, I get
over and over in my logs and it doesn't work. Pretty sure it is because of:
https://github.com/kubernetes-incubator/external-storage/blob/8052cf737caaf2a701f0caad491e08b8ac21573c/lib/controller/controller.go#L651
I don't use the kube-system namespace, do you need to assume kube-system?
The text was updated successfully, but these errors were encountered: