-
Notifications
You must be signed in to change notification settings - Fork 219
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
access modes not applied to imported volumes #398
Comments
Edited this issue after troubleshooting with NTAP support....the original failure to enforce ROX was an artifact of our having mounted the volume directly and changing filesystem modes for another purpose. Our original assumption is that R/O vs. R/W was enforced via mount options, but it's clearly via modes on the PV filesystem. We now understand that the issue is broader in regards to Trident imported volumes in general. We tested with a newly-provisioned FlexGroup in the opposite direction:
|
Sample of PVC use to test the above assertion -- despite ReadWriteMany being set, imported FlexGroup is not writable in Pod
|
Beyond the access mode, the file system permissions are relevant as well. What user (in the pod) tries to write? What permissions are set on the file system? Maybe (temporarily) set it to 777 from an external system, then try again, just to see if this causes the issue or not.. |
Hello @erhank , We had reproduced this issue internally and after our internal tests and analysis we have following action items..
Thanks, |
Fixed with commit 0f367d5. |
This issue is fixed in the Trident 20.07 release. |
Describe the bug
Imported a vol/group with ReadWriteMany access modes on the PVC and volume isn't writable by pod containers (Kubeflow Jupyter Notebook)
Environment
Provide accurate information about the environment to help us reproduce the issue.
To Reproduce
Import a flexgroup with access mode RWX aka ReadWriteMany
Reference it in a pod
Expected behavior
The volume mounted in the pod should be writable
Additional context
The text was updated successfully, but these errors were encountered: