Bug 1543748

Summary: [3.5] Install fails when Host name has capital letter assigned to it
Product: OpenShift Container Platform Reporter: Vadim Rutkovsky <vrutkovs>
Component: InstallerAssignee: Scott Dodson <sdodson>
Status: CLOSED ERRATA QA Contact: Gan Huang <ghuang>
Severity: low Docs Contact:
Priority: high    
Version: 3.5.0CC: aos-bugs, clichybi, dmoessne, erich, ghuang, jialiu, jkaur, jokerman, mmagnani, mmccomas, pdwyer, sdodson, simonas, vrutkovs, wsun
Target Milestone: ---Keywords: Regression
Target Release: 3.5.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
OpenShift requires that hostnames conform to standards which preclude the use of upper case letters. Now the installer ensures that the hostnames for node objects are created with lowercase letters.
Story Points: ---
Clone Of: 1396350 Environment:
Last Closed: 2018-04-12 06:02:11 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: 1396350, 1543749    
Bug Blocks:    

Comment 1 Vadim Rutkovsky 2018-02-19 09:54:32 UTC
Fix is available in openshift-ansible-3.5.159-1.git.0.75201c7.el7

Comment 2 Gan Huang 2018-02-23 09:31:03 UTC
Verified in openshift-ansible-3.5.159-1.git.0.75201c7.el7.noarch.rpm

For 3.5 fresh installations, now the node objects are created with lower case.

# cat inventory_host
<--snip-->
[masters]
Qe-Ghuang-35-Master-1.02234-09r.qe.rhcloud.com ansible_user=root ansible_ssh_user=root  openshift_public_hostname=Qe-Ghuang-35-Master-1.0223-09r.qe.rhcloud.com openshift_hostname=Qe-Ghuang-35-Master-1
[nodes]
Qe-Ghuang-35-Master-1.02234-09r.qe.rhcloud.com  openshift_public_hostname=Qe-Ghuang-35-Master-1.02234-09r.qe.rhcloud.com openshift_hostname=Qe-Ghuang-35-Master-1 
QE-Ghuang-35-Node-REgistry-Router-1.02234-09r.qe.rhcloud.com openshift_public_hostname=QE-Ghuang-35-Node-REgistry-Router-1.02234-09r.qe.rhcloud.com openshift_hostname=QE-Ghuang-35-Node-REgistry-Router-1
<--snip-->

# grep masterKubeConfig /etc/origin/node/node-config.yaml
masterKubeConfig: system:node:qe-ghuang-35-master-1.kubeconfig

# grep nodeName /etc/origin/node/node-config.yaml
nodeName: qe-ghuang-35-master-1

# openssl x509 -in /etc/origin/node/system:node:qe-ghuang-35-master-1.crt -noout -text |grep -i ghuang
        Subject: O=system:nodes, CN=system:node:qe-ghuang-35-master-1

S2I build succeeded.

Comment 5 errata-xmlrpc 2018-04-12 06:02:11 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:1106