Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1623421

Summary: Aws scale group ,standalone master, failed at approve node
Product: OpenShift Container Platform Reporter: sheng.lao <shlao>
Component: InstallerAssignee: Chris Callegari <ccallega>
Status: CLOSED ERRATA QA Contact: sheng.lao <shlao>
Severity: medium Docs Contact:
Priority: high    
Version: 3.11.0CC: aos-bugs, jokerman, mmccomas
Target Milestone: ---   
Target Release: 3.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-11 07:25:55 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:

Comment 3 Chris Callegari 2018-08-29 15:59:11 UTC
The attached inventory is missing node groups.

Please update the hosts section to the following and retest...

################################################################################
# cluster specific settings maybe be placed here

[masters]

[masters:vars]
openshift_node_group_name=node-config-master

[etcd]

[etcd:children]
masters

[infra]

[infra:vars]
openshift_node_group_name=node-config-infra

[nodes]

[nodes:children]
masters

[nodes:vars]
openshift_node_group_name=node-config-compute

Comment 4 Chris Callegari 2018-08-29 19:35:49 UTC
I'm finally confirming this...

Looks like node cloud-init user-data contains a wrong openshift_node_config_name value
# cat /var/lib/cloud/instances/i-0519dfea2d9a8068f/user-data.txt
#cloud-config

write_files:
- path: /root/openshift_bootstrap/openshift_settings.yaml
  owner: 'root:root'
  permissions: '0640'
  content: |
    openshift_node_config_name: node-config-master

runcmd:
- [ ansible-playbook, /root/openshift_bootstrap/bootstrap.yml]


bootstrap file content is also incorrect...
# cat openshift_bootstrap/openshift_settings.yaml
openshift_node_config_name: node-config-master

Comment 6 Chris Callegari 2018-08-30 13:15:12 UTC
pull/9828 has /lgtm.  The robot should merge the pull today.

Please retest when pull is merged.

Comment 7 Chris Callegari 2018-08-30 13:15:55 UTC
*** Bug 1622788 has been marked as a duplicate of this bug. ***

Comment 8 sheng.lao 2018-08-31 05:49:43 UTC
Fixed at: openshift-ansible-3.11.0-0.25.0-34-g04f8519

Comment 11 errata-xmlrpc 2018-10-11 07:25:55 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-2018:2652