Bug 1426387
| Summary: | [RFE] improve domain detection method with a more robust one in the bootstrap.py | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Satellite Program <pm-sat> |
| Component: | Bootstrap | Assignee: | Rich Jerrido <rjerrido> |
| Status: | CLOSED ERRATA | QA Contact: | Ondřej Pražák <oprazak> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.2.0 | CC: | bbuckingham, bkearney, daniele, egolov, ehelms, greartes, jcallaha, oprazak |
| Target Milestone: | Unspecified | Keywords: | FutureFeature, Triaged |
| Target Release: | Unused | ||
| Hardware: | x86_64 | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1361339 | Environment: | |
| Last Closed: | 2018-02-21 16:51:07 UTC | Type: | --- |
| 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: | 1361339 | ||
| Bug Blocks: | |||
|
Description
Satellite Program
2017-02-23 20:36:21 UTC
Verification steps: 1) change entry for client in /etc/hosts to to have a short name 2) run bootstrap script ./bootstrap.py -s satellite.example.com -o 'Default Organization' -L 'Default Location' -g my_hostgroup -a puppet_key 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@tina-frihart ~]# ./bootstrap.py -s satellite.example.com -o 'Default Organization' -L 'Default Location' -g my_hostgroup -a puppet_key --fqdn tina-frihart 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@tina-frihart ~]# ./bootstrap.py -s satellite.example.com -o 'Default Organization' -L 'Default Location' -g my_hostgroup -a puppet_key --fqdn tina-frihart --force Foreman Bootstrap Script This script is designed to register new systems or to migrate an existing system to a Foreman server with Katello admin's password: [NOTIFICATION], [2017-08-30 11:59:35], [This system is not registered to RHN. Attempting to register via subscription-manager] [NOTIFICATION], [2017-08-30 11:59:35], [Checking subscription manager prerequisites] ... Verified. 6.3.0 snap 13 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/RHSA-2018:0336
|