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

Bug 1607603

Summary: Adding name of the node to the scalegroup breaks operations inventory
Product: OpenShift Container Platform Reporter: Matt Woodson <mwoodson>
Component: InstallerAssignee: Jan Chaloupka <jchaloup>
Status: CLOSED ERRATA QA Contact: sheng.lao <shlao>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.10.0CC: aos-bugs, jialiu, jokerman, mmccomas, shlao
Target Milestone: ---   
Target Release: 3.10.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-13 15:58:31 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:

Description Matt Woodson 2018-07-23 19:49:31 UTC
Description of problem:

This bug was introduced here:

https://github.com/openshift/openshift-ansible/pull/9120

Ops uses a dynamic inventory scraper of AWS.  It looks for the nodes, and pulls them into an ansible inventory.  If the node has a name, it will try to use that as it's ops inventory name.  If not, the name is derived.

This PR, which is merged, adds the same name to all the scalegroup nodes.  This breaks the ops registry.  I understand the change was done for internal reasons, but this is breaking Ops.

My suggestions:

If a name is required/desired, give ops a way to turn off naming of the scalegroup nodes.

If naming isn't needed, let's revert this PR.

Comment 1 Scott Dodson 2018-07-24 19:11:05 UTC
https://github.com/openshift/openshift-ansible/pull/9318 I believe is the proposed fix for this

Comment 2 Jan Chaloupka 2018-07-25 10:24:53 UTC
3.10 backport of the PR: https://github.com/openshift/openshift-ansible/pull/9319

Comment 4 sheng.lao 2018-09-10 08:18:10 UTC
Waiting the Brew Builds.

Comment 6 sheng.lao 2018-09-11 12:41:05 UTC
fixed at openshift-ansible-3.10.46-1.git.0.2dd4637.el7_5.noarch

# aws ec2 describe-instances --filters "Name=tag:clusterid,Values=qe-shlao-7" |grep -B 1 "\"Key\": \"Name\""
                            "Value": "qe-shlao-7 infra group 1", 
                            "Key": "Name"
--
                            "Value": "qe-shlao-7 compute group 1", 
                            "Key": "Name"

Comment 9 errata-xmlrpc 2018-09-13 15:58:31 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:2695