Registered content host appears with a different hostname in Red Hat Satellite webUI.
Environment
- Red Hat Satellite 6.2
Issue
-
Registered content host appears with a different hostname in Red Hat Satellite 6 webUI under the following path.
Red Hat Satellite webUI → Hosts → Content Hosts
Resolution
- Ensure that the hostname entry is correct in
/etc/hostsfile.
Root Cause
- The registered content host has incorrect hostname entry in
/etc/hostsfile.
Diagnostic Steps
-
The hostname entry in
/etc/hostsfile and the output of followingnslookupcommand is different# nslookup `hostname -i` x.x.168.192.in-addr.arpa name = client1.example.com # vi /etc/hosts 192.168.x.x client2.example.com client2Note: The above two entries should be same.
-
The
hostname -fcommand output should match with thehostnamepresent in the katello.facts file# cat /etc/rhsm/facts/katello.facts {"network.hostname-override":"client2.example.com"} # hostname -f client1.example.com
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
