Bug 1392331

Summary: [quick install]All the roles which belongs to one host should be listed under one level
Product: OpenShift Container Platform Reporter: liujia <jiajliu>
Component: InstallerAssignee: Scott Dodson <sdodson>
Status: CLOSED WONTFIX QA Contact: Johnny Liu <jialiu>
Severity: low Docs Contact:
Priority: low    
Version: 3.4.0CC: aos-bugs, jokerman, mmccomas
Target Milestone: ---   
Target Release: ---   
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: 2017-08-25 15:51:50 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 liujia 2016-11-07 08:43:17 UTC
Description of problem:
When install OCP3.4 with quick installer and input host info with lb and nfs in the same host, it will generate duplicated host info for master_lb and storage, and the installation summary also display duplicated hosts with different role.

<--snip-->
  - connect_to: openshift-115.x.x.x
    hostname: openshift-115.x.x.x
    ip: 192.168.2.185
    public_hostname: openshift-115.x.x.x
    public_ip: 10.66.147.115
    roles:
    - master_lb
  - connect_to: openshift-115.x.x.x
    hostname: openshift-115.x.x.x
    ip: 192.168.2.185
    public_hostname: openshift-115.x.x.x
    public_ip: 10.66.147.115
    roles:
    - storage
<--snip-->

*** Installation Summary ***

Hosts:
- openshift-117.x.x.x
  - OpenShift master
  - OpenShift node
  - Etcd
- openshift-128.x.x.x
  - OpenShift master
  - OpenShift node
  - Etcd
- openshift-151.x.x.x
  - OpenShift master
  - OpenShift node
  - Etcd
- openshift-115.x.x.x
  - Load Balancer (HAProxy)
- openshift-115.x.x.x
  - Storage



Version-Release number of selected component (if applicable):
atomic-openshift-utils-3.4.17-1.git.0.4698b0c.el7.noarch

How reproducible:
always

Steps to Reproduce:
1.Trigger an OCP-3.4 install against ha env with quick installer 
2.input the same hostname for ha and storage

Actual results:
It will generate duplicated host info for master_lb and storage, and the installation summary also display duplicated hosts with different role.

Expected results:
It should be only one host with all roles just like any other hosts.