Red Hat Bugzilla – Bug 1463121
We should be more clear about the hostname setting for the IPA container
Last modified: 2017-06-20 04:07:37 EDT
Section Number and Name:
2.3. Installing an Identity Management Server in a Container: Basic Installation
Describe the issue:
In the doc we say:
Use the atomic install rhel7/ipa-server --hostname fully_qualified_domain_name command to start the installation.
To prevent the installation from failing, always use the --hostname option with atomic install to set the fully-qualified host name (FQDN) of the new Identity Management system.
We should be more clear here that the IPA container requires its own hostname which is also resolvable via DNS and/or /etc/hosts. The IPA container is network namespaced (SSSD container is not) and will therefore also get its own IP address.
If people just do something like "--hostname `hostname` during the container setup, the IPA container will use the same hostname which is also used on the Atomic host. When you now try to enroll a SSSD container into the new IPA domain, the enrollment will fail because the ipa-client-install script tried to connect to the Atomic host rather than the IPA container.
Suggestions for improvement: