Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1362592

Summary: After upgrade, all of my hosts are duplicated one with shortname, one with fqdn
Product: Red Hat Satellite 6 Reporter: Justin Sherrill <jsherril>
Component: UpgradesAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.2.0CC: bbuckingham, brubisch, dgross, jcallaha, ktordeur, pdwyer, rbobek
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-04 12:40:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Justin Sherrill 2016-08-02 15:07:22 UTC
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):

How reproducible:

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

Actual results:
Duplicated hosts

Expected results:
Only one host

Additional info:

'subscription-manager facts' seems to not report the fqdn at all if the host is configured this way.

Comment 2 Justin Sherrill 2016-08-04 12:40:47 UTC

*** This bug has been marked as a duplicate of bug 1356714 ***

Comment 3 Justin Sherrill 2016-08-16 20:46:48 UTC
Created redmine issue from this bug