Dnsmasq config files syntax issue when dhcp_domain is empty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Undecided
|
Bertrand Lallau |
Bug Description
A previous fix as already been done to manage an empty dhcp_domain:
https:/
Hence in case of an empty dhcp_domain it remains a bug on Dnsmasq config files.
With an empty dhcp_domain Dnsmasq launch command line will be:
dnsmasq --no-hosts --no-resolv --strict-order --bind-interfaces --interface=
"addn_hosts" file contains:
20.0.0.3 host-20-0-0-3. host-20-0-0-3
20.0.0.4 host-20-0-0-4. host-20-0-0-4
"host" file contains:
fa:16:3e:
fa:16:3e:
=> for both "addn_hosts" and "host" files the hostname (2nd parameter) is ended with an extra dot char.
(it should be "host-20-0-0-3" instead of "host-20-0-0-3." )
So generated files should be:
"addn_hosts" file:
20.0.0.3 host-20-0-0-3 host-20-0-0-3
20.0.0.4 host-20-0-0-4 host-20-0-0-4
"host" file:
fa:16:3e:
fa:16:3e:
Changed in neutron: | |
assignee: | nobody → Bertrand Lallau (bertrand-lallau) |
Changed in neutron: | |
milestone: | none → juno-2 |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | juno-2 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/99387
Review: https:/