Bug 1543749 - [3.6] Install fails when Host name has capital letter assigned to it
Summary: [3.6] Install fails when Host name has capital letter assigned to it
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
high
low
Target Milestone: ---
: 3.6.z
Assignee: Scott Dodson
QA Contact: Gan Huang
URL:
Whiteboard:
Depends On: 1396350
Blocks: 1543748
TreeView+ depends on / blocked
 
Reported: 2018-02-09 08:25 UTC by Vadim Rutkovsky
Modified: 2018-07-19 07:01 UTC (History)
15 users (show)

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.
Clone Of: 1396350
Environment:
Last Closed: 2018-04-12 06:02:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 3293431 0 None None None 2018-02-09 08:25:26 UTC
Red Hat Product Errata RHBA-2018:1106 0 None None None 2018-04-12 06:03:12 UTC

Comment 1 Vadim Rutkovsky 2018-02-12 08:04:24 UTC
Fix is available in openshift-ansible-3.6.173.0.103-1.git.0.dcf417c.el7

Comment 2 Gan Huang 2018-02-23 09:26:57 UTC
Verified in openshift-ansible-3.6.173.0.104-1.git.0.ee43cc5.el7.noarch.rpm

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

# cat inventory_host
<--snip-->
[masters]
QE-GHUANG-36-Master-1.02234-659.qe.rhcloud.com openshift_public_hostname=QE-GHUANG-36-Master-1.02234-659.qe.rhcloud.com openshift_hostname=QE-GHUANG-36-Master-1
[nodes]
QE-GHUANG-36-Master-1.02234-659.qe.rhcloud.com ansible_user=root ansible_ssh_user=root  openshift_public_hostname=QE-GHUANG-36-Master-1.0223-659.qe.rhcloud.com openshift_hostname=QE-GHUANG-36-Master-1 openshift_node_labels="{'role': 'node'}"
QE-Ghuang-36-Node-Registry-Router-1.02234-659.qe.rhcloud.com openshift_public_hostname=QE-Ghuang-36-Node-Registry-Router-1.02234-659.qe.rhcloud.com openshift_hostname=QE-Ghuang-36-Node-Registry-Router-1 
<--snip-->

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

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

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

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


Note You need to log in before you can comment on or make changes to this bug.