Red Hat Bugzilla – Bug 1270401
NFS v3 read/write support
Last modified: 2016-08-19 15:43:56 EDT
Description of problem:
Wanting NFS v3 read/write support for OSE v3
Version-Release number of selected component (if applicable):
Due to selinux labeling not supported by NFSv3, Write does not work in osev3
- This bug is to request, or track status, support for NFSv3 in OpenShift
What label do you get on the client side with V3 ?
If it is something like system_u:object_r:nfs_t:s0 then try this:
setsebool -P virt_use_nfs on
If not please report the label you get on the client side.
Also if the above does not solve your issue try finding the exact denial you are getting from SELinux:
tail -f /var/log/audit/audit.log | grep denied
osc exec <pod name> touch /path/to/mount TEST
With NFS v3 or v4 we cannot do client side chcon so the answer is to give users the correct instructions to set things up on the export side
The fix for this if broken should to either update the policy or use the pod's security context to set the proper SELinux type.
Please reopen if you are still experiencing problems