Bug 1489913

Summary: ocp 3.7 cant be installed on atomic host
Product: OpenShift Container Platform Reporter: Jeremy Eder <jeder>
Component: InstallerAssignee: Scott Dodson <sdodson>
Status: CLOSED ERRATA QA Contact: Johnny Liu <jialiu>
Severity: urgent Docs Contact:
Priority: high    
Version: 3.7.0CC: aos-bugs, jokerman, mmccomas, vlaad
Target Milestone: ---Keywords: TestBlocker
Target Release: 3.7.0   
Hardware: All   
OS: Linux   
Whiteboard: aos-scalability-37
Fixed In Version: openshift-ansible-3.7.0-0.126.1.git.0.0bb5b0c.el7.noarch Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-01 12:05:07 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:
Bug Depends On:    
Bug Blocks: 1482239    

Comment 1 Scott Dodson 2017-09-08 16:03:43 UTC
Need to revert back to using hostnamectl

Comment 2 Scott Dodson 2017-09-08 19:23:43 UTC
Jason mentioned we also switched the defaulting logic too so went ahead and fixed that.

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

Comment 3 Scott Dodson 2017-09-08 19:55:25 UTC
*** Bug 1489959 has been marked as a duplicate of this bug. ***

Comment 4 Johnny Liu 2017-09-14 10:42:32 UTC
Verified this bug with openshift-ansible-3.7.0-0.126.1.git.0.0bb5b0c.el7.noarch and PASS.


# cat /etc/redhat-release 
Red Hat Enterprise Linux Atomic Host release 7.4


TASK [Set hostname] ************************************************************
Thursday 14 September 2017  06:39:40 +0000 (0:00:00.643)       0:01:40.782 **** 
changed: [qe-yadu371-master-etcd-1.0914-dbn.qe.rhcloud.com] => {
    "changed": true, 
    "cmd": [
        "hostnamectl", 
        "set-hostname", 
        "qe-yadu371-master-etcd-1"
    ], 
    "delta": "0:00:00.045691", 
    "end": "2017-09-14 06:39:40.745620", 
    "rc": 0, 
    "start": "2017-09-14 06:39:40.699929"
}
changed: [qe-yadu371-node-registry-router-1.0914-dbn.qe.rhcloud.com] => {
    "changed": true, 
    "cmd": [
        "hostnamectl", 
        "set-hostname", 
        "qe-yadu371-node-registry-router-1"
    ], 
    "delta": "0:00:00.064406", 
    "end": "2017-09-14 06:39:40.773065", 
    "rc": 0, 
    "start": "2017-09-14 06:39:40.708659"
}