Bug 1320166 - openshift-ansible should support setting new perFSGroup local storage quota
Summary: openshift-ansible should support setting new perFSGroup local storage quota
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Devan Goodwin
QA Contact: Ma xiaoqiang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-22 13:24 UTC by Devan Goodwin
Modified: 2017-03-08 18:14 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-12 16:39:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1065 0 normal SHIPPED_LIVE Red Hat OpenShift Enterprise atomic-openshift-utils bug fix update 2016-05-12 20:32:56 UTC

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


Note You need to log in before you can comment on or make changes to this bug.