Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Description Mount failed. Permission denied #22

Open
jixiangcheng opened this issue Sep 10, 2021 · 2 comments · May be fixed by #42
Open

Description Mount failed. Permission denied #22

jixiangcheng opened this issue Sep 10, 2021 · 2 comments · May be fixed by #42
Labels
bug Something isn't working

Comments

@jixiangcheng
Copy link

jixiangcheng commented Sep 10, 2021

I created the Storageclass using rook NFS
I created RabbitMQ using rook NFS Storageclass,
Creation failed, prompting no permission to write to the mount point directory
After I created the PVC, THE permission to view the directory created in NFS Server is 700,Owner group :root, owner :root
Rabbitmq is started as a normal user and has no write permission to the directory created by rook NFS

图片

@jixiangcheng jixiangcheng added the bug Something isn't working label Sep 10, 2021
@hehesky
Copy link

hehesky commented Dec 6, 2021

Hitting a similar issue here. Rook NFS should not assume that the consumer pod is running as root.

@tlandschoff-scale
Copy link

Count me in on this issue. I am trying to run a helm chart developed for Amazon EKS locally on a k3s cluster.
rook-nfs provisions the persistentvolume just fine, but as the containers are not running as root, they can't access any data...

My workaround was to add an initContainer that runs as root and changes permission and ownerships for the volume.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
3 participants