-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[nfs-client] provitsioner is not allowed to use nfs volumes #1145
Comments
The pod needs to be granted permissions to See here for more info: https://docs.openshift.com/container-platform/3.11/admin_guide/manage_scc.html |
i tried that.
It still can't start the pod.
Ive also tried adding privileged and restricted to the service user.
i suspect my problem is related to
but i don't know where that comes from and it won't let me change it. |
Is it possible to have helm render the replicaset yaml, change the securityContext and create the replicaset after? I am not too familiar with helm, once you get it working I would also open an issue with the charts repo to make it optional. Any idea where the range [1000000000, 1000009999] comes from? It might be an annotation on the project, what does the project yaml look like? Can you paste the privileged scc yaml here? |
Well, i tried deleting everything and creating it by hand instead of using helm. Error message changed...
problem is this is after i gave the service account |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
I ran into this issue as well and was able to resolve it by adding
|
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Can be resolved with |
This worked for me after re-deployment. |
Uh oh!
There was an error while loading. Please reload this page.
Upon nfs-client container deployment, I get the event
So the nfs-client provisioner does not start.
The problem appears both applying rbac.yaml explicitly and installing with helm.
I tried to work around this by creating PV and referring to that in configuration - that helps provisioner to start. But then when I try to create containers that use NFS volumes they cannot be mounted, although nfs-client's logs says the PV was provisioned, and PVs status says it is Bound. The container startup error is
MountVolume.SetUp failed for volume “nfs” : mount failed: exit status 32
I can mount the NFS in Linux from node's console without problems.
Running Minishift v1.29.0+72fa7b2 (OKD/Openshift 3.11, CentOS) with nfs-utils installed on the node.
Configuration files from master branch (2019-03-06).
The text was updated successfully, but these errors were encountered: