dnsmasq no address available
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-manuals |
Invalid
|
Undecided
|
Thomas Goirand |
Bug Description
Hi,
I have found that maybe something is missing in the documation to use Dnsmasq in Neutron.
As my instances weren't able to get a dhcp lease, I investigated and saw that dnsmasq wasn't able to read files under /var/lib/neutron . In fact, dnsmasq is started as a nobody user and /var/lib/neutron is owned by neutron and has rights sets to 750 so dnsmasq can't access this folder.
So 3 solutions is available from now :
1) set rights of /var/lib/neutron to 755 to allow dnsmasq to access it
2) override dnsmasq default config with dnsmasq_config_file in dhcp_agent.ini to set it to another user who has right on this folder (like neutron)
3) change the dhcp_confs in dhcp_conf.ini to set to an accessible folder for nobody user.
regards,
Axel Vanzaghi
-------
Built: 2014-06-20T10:00:52 00:00
git SHA: cf40d5059469511
URL: http://
source File: file:/home/
xml:id: neutron-
Your report contains links to the Debian version of the documentation. Were you trying to configure neutron on Debian?