Hide Forgot
Description of problem: The new perFSGroup local storage quota (XFS only) is not checking filesystem mount options on node startup. Version-Release number of selected component (if applicable): origin master as of 2ddfc71bf4f24d35afbf4085b1e26ae64bffa107 How reproducible: 100% Steps to Reproduce: 1. Ensure the volumeDirectory in node-config.yaml is on an XFS filesystem, but NOT mounted with grpquota option. 2. Enable the new perFSGroup quota in node-config.yaml: volumeConfig: localQuota: perFSGroup: "512Mi" 3. Restart the node service. 4. Create a pod with an emptyDir volume: oc new-app openshift/jenkins-1-centos7 Actual results: Node will start fine, but the jenkins pod will never create. Node service logs will show a cryptic error about being unable to mount the volume and "system exit: 1". Expected results: This is a misconfiguration and as such the node should refuse to start, similar to what happens if you enable this quota but your volumeDirectory is not on XFS at all.
Fix pending in: https://github.com/openshift/origin/pull/8178
Fix merged yesterday, should be present in next rebuild.
Verification is passed [root@ip-172-18-0-198 ~]# oc version oc v1.1.6-38-g6ecbaaf kubernetes v1.2.0-36-g4a3f9c5 node wont start , and will see below log Could not set up local quota, /root/openshift.local.volumes is not on a filesystem mounted with the grpquota option