Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1362592 - After upgrade, all of my hosts are duplicated one with shortname, one with fqdn
Summary: After upgrade, all of my hosts are duplicated one with shortname, one with fqdn
Keywords:
Status: CLOSED DUPLICATE of bug 1356714
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Upgrades
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-02 15:07 UTC by Justin Sherrill
Modified: 2021-08-30 12:30 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-04 12:40:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 2482641 0 None None None 2016-08-09 14:00:47 UTC

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


Note You need to log in before you can comment on or make changes to this bug.