Bug 1361339
Summary: | [RFE] improve domain detection method with a more robust one in the bootstrap.py | |||
---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Reartes Guillermo <greartes> | |
Component: | Bootstrap | Assignee: | Rich Jerrido <rjerrido> | |
Status: | CLOSED ERRATA | QA Contact: | jcallaha | |
Severity: | low | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 6.2.0 | CC: | bbuckingham, bkearney, daniele, egolov, ehelms, jcallaha, rjerrido | |
Target Milestone: | Unspecified | Keywords: | FutureFeature, Triaged | |
Target Release: | Unused | |||
Hardware: | x86_64 | |||
OS: | All | |||
Whiteboard: | ||||
Fixed In Version: | katello-client-bootstrap-1.3.0-1 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1426387 (view as bug list) | Environment: | ||
Last Closed: | 2017-05-01 13:53:35 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1426387 |
Description
Reartes Guillermo
2016-07-28 21:05:30 UTC
Fixed in this upstream commit - https://github.com/Katello/katello-client-bootstrap/commit/49ec1ae44a7463f5f615ad6d59fccd21d9da6bda Please add verifications steps for this bug to help QE verify Verification steps for this bug are the same as those here - https://bugzilla.redhat.com/show_bug.cgi?id=1425606#c4 We may want to rebase to katello-client-bootstrap-1.3.0 (https://github.com/Katello/katello-client-bootstrap/releases/tag/1.3.0) to address this. Verified in Satellite 6.2.9 Snap 2 The script now catches the short hostname, and a short name fqdn. -bash-4.1# docker run -it -h shawty ch-d:bootstrap /bin/bash [root@shawty ~]# ./bootstrap.py -s mgmt5.rhq.lab.eng.bos.redhat.com -o 'Default Organization' -g basic -a basickey -L 'Default Location' Foreman Bootstrap Script This script is designed to register new systems or to migrate an existing system to a Foreman server with Katello We could not determine the domain of this machine, most probably `hostname -f` does not return the FQDN. This can lead to Puppet missbehaviour and thus the script will terminate now. You can override this by passing one of the following --force - to disable all checking --skip-puppet - to omit installing the puppet agent [root@shawty ~]# hostname shawty [root@shawty ~]# ./bootstrap.py -s mgmt5.rhq.lab.eng.bos.redhat.com -o 'Default Organization' -g basic -a basickey -L 'Default Location' --fqdn $(hostname) Foreman Bootstrap Script This script is designed to register new systems or to migrate an existing system to a Foreman server with Katello We could not determine the domain of this machine, most probably `hostname -f` does not return the FQDN. This can lead to Puppet missbehaviour and thus the script will terminate now. You can override this by passing one of the following --force - to disable all checking --skip-puppet - to omit installing the puppet agent 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-2017:1191 |