Bug 1336355

Summary: Node volume is mounted with noquota in stage openshift when trying to enable emptydir volume size limited
Product: OpenShift Online Reporter: Chao Yang <chaoyang>
Component: WebsiteAssignee: Dan Mace <dmace>
Status: CLOSED CURRENTRELEASE QA Contact: Yanping Zhang <yanpzhan>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.xCC: aos-bugs, dakini, dmace, jokerman, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-23 17:32:49 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1303130    

Description Chao Yang 2016-05-16 09:05:16 UTC
Description of problem:
Emptydir volume size limit requires that the openshift node volume directory resides on an XFS partition which has been mounted with gquota enabled, but it is noquota on stage env

Version-Release number of selected component (if applicable):
dev-preview-stg
openshift v3.2.0.44
kubernetes v1.2.0-36-g4a3f9c5
etcd 2.2.5

How reproducible:
Always

Steps to Reproduce:
Run this command in node server
1.mount | grep var
/dev/xvda3 on /var type xfs (rw,relatime,seclabel,attr2,inode64,noquota)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
tmpfs on /var/lib/origin/openshift.local.volumes/pods/dcd18099-f898-11e5-8625-0a2bd53f226b/volumes/kubernetes.io~secret/certs type tmpfs (rw,relatime,rootcontext=system_u:object_r:svirt_sandbox_file_t:s0,seclabel)
tmpfs on /var/lib/origin/openshift.local.volumes/pods/dcd18099-f898-11e5-8625-0a2bd53f226b/volumes/kubernetes.io~secret/aggregated-logging-fluentd-token-j7b3p type tmpfs (rw,relatime,rootcontext=system_u:object_r:svirt_sandbox_file_t:s0,seclabel)
tmpfs on /var/lib/origin/openshift.local.volumes/pods/70095b09-1b34-11e6-aa17-0a2bd53f226b/volumes/kubernetes.io~secret/default-token-17w20 type tmpfs (rw,relatime,rootcontext="system_u:object_r:svirt_sandbox_file_t:s0:c7,c13",seclabel)
tmpfs on /var/lib/origin/openshift.local.volumes/pods/9a1686f6-1b35-11e6-a2ae-0a572324c959/volumes/kubernetes.io~secret/default-token-17w20 type tmpfs (rw,relatime,rootcontext="system_u:object_r:svirt_sandbox_file_t:s0:c7,c13",seclabel)
tmpfs on /var/lib/origin/openshift.local.volumes/pods/063d0446-1b38-11e6-8504-0a06c045dc6f/volumes/kubernetes.io~secret/builder-dockercfg-ttj9m-push type tmpfs (rw,relatime,rootcontext=system_u:object_r:svirt_sandbox_file_t:s0,seclabel)
tmpfs on /var/lib/origin/openshift.local.volumes/pods/063d0446-1b38-11e6-8504-0a06c045dc6f/volumes/kubernetes.io~secret/builder-token-3jw1t type tmpfs (rw,relatime,rootcontext=system_u:object_r:svirt_sandbox_file_t:s0,seclabel)
tmpfs on /var/lib/origin/openshift.local.volumes/pods/74a59b38-1b38-11e6-aa17-0a2bd53f226b/volumes/kubernetes.io~secret/deployer-token-54cf1 type tmpfs (rw,relatime,rootcontext="system_u:object_r:svirt_sandbox_file_t:s0:c64,c699",seclabel)
tmpfs on /var/lib/origin/openshift.local.volumes/pods/79a30dac-1b38-11e6-aa17-0a2bd53f226b/volumes/kubernetes.io~secret/default-token-9f7wv type tmpfs (rw,relatime,rootcontext=system_u:object_r:svirt_sandbox_file_t:s0,seclabel)
tmpfs on /var/lib/origin/openshift.local.volumes/pods/86a1fa6d-1b38-11e6-aa17-0a2bd53f226b/volumes/kubernetes.io~secret/default-token-4i3a9 type tmpfs (rw,relatime,rootcontext=system_u:object_r:svirt_sandbox_file_t:s0,seclabel)


Actual results:
emptydir volume size is not limited

Expected results:
emptydir volume size should be limited by fsgroup

Additional info: