Bug 1320166

Summary: openshift-ansible should support setting new perFSGroup local storage quota
Product: OpenShift Container Platform Reporter: Devan Goodwin <dgoodwin>
Component: InstallerAssignee: Devan Goodwin <dgoodwin>
Status: CLOSED ERRATA QA Contact: Ma xiaoqiang <xiama>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: aos-bugs, gpei, jokerman, mmccomas, tdawson, xtian
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-05-12 16:39:04 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:

Description Devan Goodwin 2016-03-22 13:24:04 UTC
Description of problem:

Ops is planning to use openshift-ansible to manage node configuration, thus it must be able to support the new perFSGroup quota in node-config.yaml:

volumeConfig:
  localQuota:
    perFSGroup: "512Mi"

Will require a new setting in inventory [OSEv3:vars] section.

Comment 2 Troy Dawson 2016-03-23 21:34:59 UTC
This should be in todays build of openshift ansible, in brew and in puddles.
openshift-ansible-3.0.64-1.git.0.6df4b9a.el7

Comment 3 Ma xiaoqiang 2016-03-24 05:16:05 UTC
check on openshift-ansible-3.0.64-1.git.0.6df4b9a.el7

Can not start node service
# openshift start node --config=/etc/origin/node/node-config.yaml 
F0323 23:22:25.539763    9744 start_node.go:124] unable to check filesystem type for emptydir volume /var/lib/origin/openshift.local.volumes: exit status 1

Comment 4 Devan Goodwin 2016-03-24 19:20:10 UTC
I think you're hitting: https://bugzilla.redhat.com/show_bug.cgi?id=1320170

I have a fix for this merged in origin, but I don't think it has been built for OSE yet. It should appear in the next build which would be v3.2.0.8.

Comment 5 Troy Dawson 2016-03-28 21:01:59 UTC
OSE v3.2.0.8 has been built and pushed to testing.

Comment 6 Ma xiaoqiang 2016-03-29 01:16:59 UTC
check on ose v3.2.0.8

Scenario 1
Install env with following parameter
<--snip-->
openshift_node_local_quota_per_fsgroup=50Mi
<--snip-->

Check the node configuration
#vim /etc/origin/node/node-config.yaml
<--snip-->
volumeConfig:
  localQuota:
    perFSGroup: 50Mi

Scenario 2
Install env without 'openshift_node_local_quota_per_fsgroup'
check the node configuration
#vim /etc/origin/node/node-config.yaml
<--snip-->
volumeConfig:
  localQuota:
    perFSGroup:

Move this issue to VERIFIED.

Comment 8 errata-xmlrpc 2016-05-12 16:39:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1065