Red Hat Bugzilla – Bug 1258243
Install fails when Host name has capital letter assigned to it
Last modified: 2015-12-02 03:56:51 EST
Description of problem: The ansible and quick install fail when the HostName is manually defined containing a Capital Letter.
- The install takes the env variable with the capital letter and passes it through with the command #oc get node <openshift_hostnamem>
the anisable installer hase this as <openshift_nodes>
Kubernetes converts the names of the nodes to lower case and will not recognize a node name with a capital letter. Example:
Kubernetes names the node: node1.example.com
Ansible install checks on the node registration with the following:
#oc get node Node1.example.com
The installer in turn fails.
Version-Release number of selected component (if applicable): v3.0.1
Quick and Advanced
Steps to Reproduce:
1. Spin up a new vm follow the docs to get it ready
2. Edit your ansible host file with the names of the hosts using capital letters. Also manual define the variables openshift_hostname openshift_public_hostname
3. Run the Ansible installer
Installer fails to register nodes, stops before the SDN is configured
Installer completes, converts the capital letters to lower case when running kubernetes commands to check nodes.
Ansible Code that fails:
Change all names and variables in /etc/ansible/hosts to lower case
*** Bug 1258074 has been marked as a duplicate of this bug. ***
Moved the original PR since Jason is out.
After installation, QE create nodejs-example.
The app is create successfully
QE can access the app url.
QE can login the webconsole.