-
Notifications
You must be signed in to change notification settings - Fork 286
Closed
Description
What happened:
The CSI-NFS controler refused to create the mount directory in container :
E1122 16:36:41.400529 1 utils.go:91] GRPC error: rpc error: code = Internal desc = failed to make subdirectory: mkdir /tmp/pvc-68f3e65a-b286-4d97-94d3-534e260f0568/pvc-68f3e65a-b286-4d97-94d3-534e260f0568: read-only file system
But when i attach to the container
kubectl exec -it csi-nfs-controller-57594f8fd-pr9d7 -n kube-system -c nfs -- /bin/sh
and make a mkdir /tmp/test, it works , and i can mount the sharing.
I am sure , i forget something, but i can´t put the finger on, could you help please ?
Environment:
-
CSI Driver version: 3.0.0
-
Kubernetes version : 1.21.4
-
OS : CENTOS 7.9
-
Kernel : 5.13.0-21-generic
-
sestatus
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: permissive
Mode from config file: permissive
Policy MLS status: enabled
Policy deny_unknown status: allowed
Max kernel policy version: 31
CSI installed using HELM-3 :
helm install csi-driver-nfs csi-driver-nfs/csi-driver-nfs --namespace kube-system --set controller.runOnMaster=true --set controller.replicas=3
Metadata
Metadata
Assignees
Labels
No labels