Bug 1380473
Summary: | Puppet creates Duplicate profile in "All hosts" with FQDN if client is configured and registered with short name. | |||
---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Justin Sherrill <jsherril> | |
Component: | Upgrades | Assignee: | Justin Sherrill <jsherril> | |
Status: | CLOSED ERRATA | QA Contact: | Sanket Jagtap <sjagtap> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 6.2.0 | CC: | adprice, ahumbe, amdas, aperotti, bbuckingham, bkearney, brubisch, chrobert, chrpearce, cwelton, dcaplan, dgross, egolov, fcami, inecas, jcallaha, jentrena, jsherril, kdixon, ktordeur, mmccune, pdwyer, rakumar, rraghuwa, sbeal, sjagtap, tspeetje, vdulava, xdmoon, yundtj, zhunting | |
Target Milestone: | Unspecified | Keywords: | PrioBumpGSS, PrioBumpPM, Triaged | |
Target Release: | Unused | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
URL: | http://projects.theforeman.org/issues/16134 | |||
Whiteboard: | ||||
Fixed In Version: | katello-agent-2.7.0-1 tfm-rubygem-katello-3.0.0.86-1 katello-installer-base-3.0.0.65-1 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | 1356714 | |||
: | 1394349 (view as bug list) | Environment: | ||
Last Closed: | 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: | ||||
Bug Depends On: | 1356714, 1405538 | |||
Bug Blocks: | 1399395, 1383793, 1385841, 1394349, 1400970 |
Comment 1
Justin Sherrill
2016-09-29 17:20:42 UTC
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 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 |