Bug 1462280 - [3.4] Ansible playbook fails due the incorrect openshift-master.kubeconfig
Summary: [3.4] Ansible playbook fails due the incorrect openshift-master.kubeconfig
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.4.1
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: ---
: 3.4.z
Assignee: Andrew Butcher
QA Contact: Gaoyun Pei
URL:
Whiteboard:
Depends On: 1454321 1462282 1462283
Blocks: 1462276
TreeView+ depends on / blocked
 
Reported: 2017-06-16 15:14 UTC by Andrew Butcher
Modified: 2017-12-19 03:02 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1454321
Environment:
Last Closed: 2017-06-29 13:33:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:1666 0 normal SHIPPED_LIVE OpenShift Container Platform atomic-openshift-utils bug fix and enhancement 2017-06-29 17:32:39 UTC

Comment 4 Scott Dodson 2017-06-23 16:57:29 UTC
In the latest puddle.

Comment 5 Gaoyun Pei 2017-06-26 08:44:54 UTC
Verify this bug with openshift-ansible-3.4.106-1.git.0.b7dfb8a.el7

1. Prepare an haproxy load-balancer listens on 443 while the backend masters listen on 8443, make sure 443 and 8443 port opened on lb host

2. Configure inventory file like below
[OSEv3:children]
masters
nodes
etcd

[OSEv3:vars]
<-snip->
openshift_master_cluster_method=native
openshift_master_cluster_hostname=openshift-140.test.com
openshift_master_cluster_public_hostname=openshift-140.test.com

penshift_master_console_port=8443
openshift_master_api_port=8443

openshift_master_api_url=https://openshift-140.test.com:443
openshift_master_console_url=https://openshift-140.test.com:443/console
openshift_master_public_api_url=https://openshift-140.test.com:443
openshift_master_public_console_url=https://openshift-140.test.com:443/console
<-snip->

[masters]
...

3. Run installation playbook
The installation is successful without error, ocp cluster is working well.

4. Check openshift-master.kubeconfig on 3 masters
The user referred in openshift-master.kubeconfig are all pointing to local master with correct port.

5. Stop 2/3 masters' controllers service in turn, each of the 3 masters could work well.

Comment 7 errata-xmlrpc 2017-06-29 13:33:14 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-2017:1666


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