Bug 1318080

Summary: Needs a way to avoid to set 777/nfsnobody permission to the NFS mount on persistent volume
Product: OpenShift Container Platform Reporter: Kenjiro Nakayama <knakayam>
Component: StorageAssignee: Erin Boyd <eboyd>
Status: CLOSED NOTABUG QA Contact: Jianwei Hou <jhou>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.1.0CC: aos-bugs, eboyd, knakayam
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-17 22:03:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Kenjiro Nakayama 2016-03-16 01:16:57 UTC
Description of problem:

To use NFS as persisent volume on OSE v3, the user needs set the directory permission as 777/nfsnobody.
Otherwise, they need to set UID/GID on each docker images.

Version-Release number of selected component (if applicable):

- 3.1.1.6

Additional info:

(RH internal discussion) http://post-office.corp.redhat.com/archives/openshift-sme/2016-February/msg01051.html
(upstream patch) https://github.com/kubernetes/kubernetes/pull/20490

Comment 1 Erin Boyd 2016-03-17 15:42:06 UTC
This has already been addressed in the documentation for 3.1 and higher:
https://docs.openshift.com/enterprise/3.1/install_config/persistent_storage/persistent_storage_nfs.html

Please ensure you are following this guide for setup.