Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1359013

Summary: [quick installer] can't install native ha environment
Product: OpenShift Container Platform Reporter: Anping Li <anli>
Component: InstallerAssignee: Samuel Munilla <smunilla>
Status: CLOSED ERRATA QA Contact: Anping Li <anli>
Severity: medium Docs Contact:
Priority: high    
Version: 3.2.1CC: aos-bugs, jokerman, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-18 19:29:24 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:

Description Anping Li 2016-07-22 06:01:47 UTC
Description of problem:
Can't install native ha by atomic-openshift-installer. there isn't installer.yaml under .config/openshift and unexpected group master_lb  is in .config/openshift/hosts

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

How reproducible:

Steps to Reproduce:
1. atomic-openshift-installer to install Native HA environment
2. ls -al .config/openshift
3. check .config/openshift/hosts

Actual results:

#atomic-openshift-installer install
Welcome to the OpenShift Enterprise 3 installation.
*** Installation Summary ***

  - OpenShift Master
  - OpenShift Node (Unscheduled)
  - Etcd Member
  - Storage
  - OpenShift Master
  - OpenShift Node (Unscheduled)
  - Etcd Member
  - OpenShift Master
  - OpenShift Node (Unscheduled)
  - Etcd Member
  - OpenShift Node (Dedicated)
  - OpenShift Node (Dedicated)Although if set docker_upgrade=false, Docker still be upgraded to 1.10.3.
  - Load Balancer (HAProxy)

Total OpenShift Masters: 3
Total OpenShift Nodes: 5

NOTE: Multiple Masters specified, this will be an HA deployment with a separate
etcd cluster. You will be prompted to provide the FQDN of a load balancer and
a host for storage once finished entering hosts.

WARNING: A minimum of 3 dedicated Nodes are recommended for an HA

Gathering information from hosts...
ERROR: /root/.config/openshift/hosts:6: child group is not defined: (master_lb)
There was a problem fetching the required information. Please see /tmp/ansible.log for details

[root@fedora ~]# ls -alh .config/openshift/
total 16K
drwxr-xr-x. 3 root root 4.0K Jul 22 05:56 .
drwxr-xr-x. 3 root root 4.0K Jul 22 05:50 ..
drwxr-xr-x. 2 root root 4.0K Jul 22 05:50 .ansible
-rw-r--r--. 1 root root  435 Jul 22 05:56 hosts

3. cat .config/openshift/hosts




[nodes]  openshift_schedulable=False  openshift_schedulable=False  openshift_schedulable=False  containerized=True

[lb] ansible_connection=local


Expected results:
Can install native ha openshift

Additional info:

Comment 1 Samuel Munilla 2016-07-30 13:54:47 UTC
Fixed by

Comment 3 Anping Li 2016-08-09 10:40:36 UTC
Verified and pass, the hosts file can be created as expected.

Comment 5 errata-xmlrpc 2016-08-18 19:29:24 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.