Domain name not set properly in Cobbler
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
Low
|
Bartłomiej Piotrowski | ||
5.1.x |
Won't Fix
|
Low
|
Fuel Library (Deprecated) | ||
6.0.x |
Fix Committed
|
Low
|
Bartłomiej Piotrowski |
Bug Description
Running Fuel 5.1.1.
I need to change the line "server=/local/" in the dnsmasq configuration of Cobbler in Fuel. I tried to edit /etc/cobbler/
I then realized that the dnsmasq.template is generated by Puppet. Normaly, the domain (local) should be substitued for DNS_DOMAIN value of astute.yaml but the module cobbler.pp doesn't set properly the variable domain_name so it's alway set to local.
File /etc/fuel/
HOSTNAME: fuel
DNS_DOMAIN: openstack.
DNS_SEARCH: openstack.
DNS_UPSTREAM: 10.17.76.4, 10.17.76.2
NTP1: 0.pool.ntp.org
NTP2: 1.pool.ntp.org
NTP3: 2.pool.ntp.org
ADMIN_NETWORK:
dhcp_pool_start: 10.20.0.128
netmask: 255.255.255.0
...
File /etc/cobbler/
# Cobbler generated configuration file for dnsmasq
# $date
#
read-ethers
log-queries
log-facility=
addn-hosts = /var/lib/
domain=local
dhcp-lease-max=1800
server=/local/
resolv-
dhcp-match=gpxe,175
interface=eth0
...
File /etc/puppet/
...
class { "::cobbler":
server => $server,
production => $production,
domain_name => $domain_name,
...
I think the line "domain_name => $domain_name," should be replaced to : "domain_name => $dns_name,". in /etc/puppet/
Changed in fuel: | |
assignee: | nobody → Fuel Library Team (fuel-library) |
importance: | Undecided → Low |
Changed in fuel: | |
status: | New → Confirmed |
milestone: | none → 5.1.2 |
Changed in fuel: | |
assignee: | Fuel Library Team (fuel-library) → Bartlomiej Piotrowski (bpiotrowski) |
status: | Confirmed → Triaged |
Changed in fuel: | |
status: | New → Fix Committed |
Changed in fuel: | |
status: | Fix Committed → New |
Changed in fuel: | |
status: | New → Confirmed |
tags: | added: customer-found |
I believe it is fixed in https:/ /git.openstack. org/cgit/ stackforge/ fuel-library/ commit/ ?id=595916315ba c34f044d155ae33 acca1b0a422d2e .