Bug 1293724 - apiServerArguments and controllerArgument needs to be able to be defined in ansible hosts file
Summary: apiServerArguments and controllerArgument needs to be able to be defined in a...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Jason DeTiberus
QA Contact: Ma xiaoqiang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-22 20:50 UTC by Ryan Howe
Modified: 2016-07-04 00:46 UTC (History)
9 users (show)

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


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 Ryan Howe 2015-12-22 20:50:17 UTC
Description of problem:

apiServerArguments needs to be able to be defined in ansible hosts file

https://docs.openshift.com/enterprise/3.1/install_config/configuring_aws.html


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

Additional info:

This may be possible already and may need to just be a docs bug. 

https://github.com/openshift/openshift-ansible/blob/15aa17c6162c036f6b164f225d2a071c138af965/roles/openshift_master/templates/master.yaml.v1.j2#L84


osm_api_server_args={'cloud-provider': ['aws'].'cloud-config':['/etc/aws/aws.conf']}

osm_controller_args={'cloud-provider':['aws'].'cloud-config':['/etc/aws/aws.conf']}

Comment 2 Jason DeTiberus 2016-03-16 02:55:01 UTC
It is possible to set these values using osm_controller_args and osm_api_server_args.

There is basic usage in the example inventory files provided in openshift-ansible.

Comment 3 Gaoyun Pei 2016-03-18 06:20:40 UTC
Specify the two parameters in ansible inventory:
osm_api_server_args={'cloud-provider' : ['aws'], 'cloud-config' : ['/etc/aws/aws.conf']}
osm_controller_args={'cloud-provider' : ['aws'], 'cloud-config' : ['/etc/aws/aws.conf']}


After installation, check the master-config.yml
kubernetesMasterConfig:
  apiServerArguments:
    cloud-config:
    - /etc/aws/aws.conf
    cloud-provider:
    - aws
  controllerArguments:
    cloud-config:
    - /etc/aws/aws.conf
    cloud-provider:
    - aws
  ...

Comment 5 errata-xmlrpc 2016-05-12 16:37:16 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.