Bug 1218549
| Summary: | katello-installer capsule module does not expose dhcp_option_domain dhcp parameter | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Marek Hulan <mhulan> |
| Component: | Installation | Assignee: | Eric Helms <ehelms> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Tazim Kolhar <tkolhar> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.1.0 | CC: | bkearney, cwelton, ehelms, jhutar, lzap, mhulan, tkolhar |
| Target Milestone: | Unspecified | ||
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://projects.theforeman.org/issues/10599 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-08-12 14:01:57 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
Marek Hulan
2015-05-05 09:02:05 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release. Why is this an issue? Provisioned host gets wrong fqdn if dhcpd is not configure properly.
[root@withpuppet ~]# facter fqdn
withpuppet.....redhat.com
[root@withpuppet ~]# facter domain
.....redhat.com
[root@withpuppet ~]# facter hostname
withpuppet
[root@withpuppet ~]# hostname
withpuppet.katellolabs.org
[root@withpuppet ~]# hostname -f
hostname: Host name lookup failure
[root@withpuppet ~]# facter hostname
withpuppet
[root@withpuppet ~]# facter domain
.....redhat.com
[root@withpuppet ~]# facter fqdn
withpuppet......redhat.com
after the change in dhcpd.conf it works fine, it's because facter reads the domain from /etc/resolv.conf (using search lines if there's no domain line)
Jan, what am I supposed to reproduce? To verify that DHCP server option is not present? Created redmine issue http://projects.theforeman.org/issues/10599 from this bug Proposed upstream fix to the capsule module to add the missing DHCP options: https://github.com/Katello/puppet-capsule/pull/46 VERIFIED: # rpm -qa | grep foreman ruby193-rubygem-foreman_discovery-2.0.0.15-1.el7sat.noarch foreman-vmware-1.7.2.27-1.el7sat.noarch rubygem-hammer_cli_foreman_bootdisk-0.1.2.7-1.el7sat.noarch foreman-debug-1.7.2.27-1.el7sat.noarch foreman-libvirt-1.7.2.27-1.el7sat.noarch ruby193-rubygem-foreman_gutterball-0.0.1.9-1.el7sat.noarch foreman-compute-1.7.2.27-1.el7sat.noarch foreman-gce-1.7.2.27-1.el7sat.noarch ruby193-rubygem-foreman-redhat_access-0.2.0-8.el7sat.noarch rubygem-hammer_cli_foreman_tasks-0.0.3.4-1.el7sat.noarch rubygem-hammer_cli_foreman_docker-0.0.3.7-1.el7sat.noarch puppet-foreman_scap_client-0.3.3-9.el7sat.noarch foreman-1.7.2.27-1.el7sat.noarch ruby193-rubygem-foreman_docker-1.2.0.14-1.el7sat.noarch ruby193-rubygem-foreman_hooks-0.3.7-2.el7sat.noarch rubygem-hammer_cli_foreman-0.1.4.14-1.el7sat.noarch foreman-selinux-1.7.2.13-1.el7sat.noarch foreman-proxy-1.7.2.5-1.el7sat.noarch foreman-postgresql-1.7.2.27-1.el7sat.noarch rhsm-qe-2.rhq.lab.eng.bos.redhat.com-foreman-client-1.0-1.noarch rhsm-qe-2.rhq.lab.eng.bos.redhat.com-foreman-proxy-client-1.0-1.noarch rhsm-qe-2.rhq.lab.eng.bos.redhat.com-foreman-proxy-1.0-1.noarch foreman-ovirt-1.7.2.27-1.el7sat.noarch rubygem-hammer_cli_foreman_discovery-0.0.1.10-1.el7sat.noarch ruby193-rubygem-foreman-tasks-0.6.12.8-1.el7sat.noarch ruby193-rubygem-foreman_bootdisk-4.0.2.13-1.el7sat.noarch steps: 1. run katello-installer to setup provisioning capsule with domain example.com 2. configure provisioning and provision a host through PXE and provision it on example.com 3. check fqdn on provisioned host fqdn should contain example.com as a domain This bug is slated to be released with Satellite 6.1. This bug was fixed in version 6.1.1 of Satellite which was released on 12 August, 2015. |