Connecting redmine issue http://projects.theforeman.org/issues/16134 from this bug
Current workaround: run this: if [ -d /etc/rhsm/facts/ ]; then echo "{\"network.hostname\":\"`hostname -f`\"}" > /etc/rhsm/facts/katello.facts fi prior to registration to resolve the issue for new registrations. This can be added to a bootstrap script, kickstart file, or puppet module. Please do let us know if this workaround is not sufficient until this can be released
Upstream bug component is Upgrades
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/16134 has been resolved.
*** Bug 1384744 has been marked as a duplicate of this bug. ***
*** Bug 1388765 has been marked as a duplicate of this bug. ***
Build : Satellite 6.2.5 snap2 Steps for verification: 1. Client with hostname and different hostname -f output [root@sjagtap-client ~]# hostname -f sjagtap-client.abc.com [root@sjagtap-client ~]# hostname sjagtap-client 2. Registered the Client with satellite via subs-man subscription-manager register --org="Default_Organizati on" --activationkey="rhel7_ak" 3.Installed puppet and Katello-agent , configured puppet.conf with necessary details certname = sjagtap-client.abc.com No duplicate Hosts , host was registered as sjagtap-client.abc.com
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:2940