Hide Forgot
@Jason, thanks for the detailed explanation. After configuring my ansible hosts file with openshift_hostname and openshift_public_hostname fields, it works pretty well. Update the bug summary to track the problem mentioned in step 4.
Once https://github.com/openshift/openshift-ansible/pull/924 is merged, we will no longer set the hostname on systems and will not be limited by the hostname length of hostnamed anymore.
Got the same error as https://bugzilla.redhat.com/show_bug.cgi?id=1275395#c4 mentioned when testing with this PR.
Now that https://github.com/openshift/openshift-ansible/pull/1165 is merged would you mind testing this to see if the error message for excessively long names is improved?
Verify with the latest openshift-ansible master branch. When installing with hostname more than 64 characters, ansible would abort the installation and prompt that the hostname length is invalid as below: TASK: [openshift_common | fail ] ********************************************** failed: [10.66.x.x] => {"failed": true} msg: openshift_hostname must be 64 characters or less failed: [10.66.x.x] => {"failed": true} msg: openshift_hostname must be 64 characters or less
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-2016:0075