Description of problem: IPA client install fails due to bad hostname localhost.localdomain Version-Release number of selected component (if applicable): 5.5.0.13 How reproducible: 100% Steps to Reproduce: 1. Deploy appliance 2. Manually set hostname in the black console 3. Try to run the External httpd configuration Actual results: Fails with localhost.localdomain is not a valid hostname Expected results: The hostname that was set should be picked up Additional info: If the hostname passed to the installer is left blank, then the IPA installer uses socket.getfqdn() in python. This in turn, due to the lack of an arg, will get the hostname for 127.0.0.1, which will be the first hostname with a . in it, as listed in /etc/hosts. On a RHEL based system this will be, localhost.localdomain. This domain name is invalid in ipa and cannot be used with the installer. It should pick up the set hostname, a PR for this is outlined here, https://github.com/ManageIQ/manageiq/pull/5854
This is only an issue if the hostname set doesn't have a '.' in it. See https://github.com/ManageIQ/manageiq/pull/5854 for details.
Pete, does a workaround exist for this one? I assume if we set the hostname to something resolvable, we are ok?
I believe it's fixed and verified in https://bugzilla.redhat.com/show_bug.cgi?id=1287853 Also there is some another catch with IPA https://bugzilla.redhat.com/show_bug.cgi?id=1292146
*** This bug has been marked as a duplicate of bug 1360928 ***