Bug 1362592

Summary: After upgrade, all of my hosts are duplicated one with shortname, one with fqdn
Product: Red Hat Satellite 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   
URL: http://projects.theforeman.org/issues/16134
Whiteboard:
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:
Embargoed:

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:

foo
foo.example.com


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):
6.2.1

How reproducible:
Always

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 http://projects.theforeman.org/issues/16134 from this bug