charts icon indicating copy to clipboard operation
charts copied to clipboard

[nfs-server-provisioner] Permission denied when i try to use a hostpath disk to storage data

Open danilorsilva opened this issue 7 years ago • 2 comments

Describe the bug Permission denied when i try to deploy nfs-server-provisioner using helm

Version of Helm and Kubernetes: Helm v2.14.1 Kubernetes 1.13.5

Which chart: nfs-server-provisioner

What happened: When i deploy the helm chart using emptyDir, it works fine, when i create a PV and use this PV to storage nfs data i receive this error on nfs pod:

Error setting up NFS server: error writing ganesha config /export/vfs.conf: open /export/vfs.conf: permission denied

I use this yaml to create a pv to be used by helm chart.

apiVersion: v1 kind: PersistentVolume metadata: name: data-nfs-server-provisioner-0 spec: capacity: storage: 100Gi accessModes: - ReadWriteOnce hostPath: path: /mnt/disks/nfs

What you expected to happen: Pod deployed successfully;

danilorsilva avatar Jul 19 '19 21:07 danilorsilva

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

stale[bot] avatar Aug 18 '19 21:08 stale[bot]

This issue is being automatically closed due to inactivity.

stale[bot] avatar Sep 01 '19 21:09 stale[bot]