Registering system with shotname hostname results in duplicate host entries
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1362592
Description of problem:
After upgrading to satellite 6.2, all content hosts may be duplicated one with the shortname and one with the long name:
The reason for this is that the hosts have their hostnames configured such that the hostname command reports the shortname, while the 'hostname -f' command reports the fqdn. The problem does not occur if 'hostname' reports the fqdn.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install 6.1
2. Register a host with sub-man and puppet, such that the host reports its shortname via the 'hostname' command
3. Upgrade to 6.2
Only one host
'subscription-manager facts' seems to not report the fqdn at all if the host is configured this way.