Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

liberty: dhcp agent not updating dnsmasq hosts file with restart of agent

Since I upgraded from kilo to liberty in our pre-production environment, I'm having a problem with the dhcp agent. When I create an instance, it assigns and IP from the dhcp pool, but doesn't add it to the dnsmasq hosts (addn_hosts) file. So when the instance boots and does it dhcp discover, dnsmasq doesnt see the mac address in the hosts file, so it logs "no address available", and the instance doesn't get an IP. If I bounce the neutron-dhcp-agent, it rebuilds the dnsmasq files, and my instance will get a dhcp address. Something is not updating file during normal instance creation, but I'm not sure where that code is. Has anyone seen this with liberty? Is it a bug? It was working find in kilo.

Thanks.

liberty: dhcp agent not updating dnsmasq hosts file with restart of agent

Since I upgraded from kilo to liberty in our pre-production environment, I'm having a problem with the dhcp agent. When I create an instance, it assigns and IP from the dhcp pool, but doesn't add it to the dnsmasq hosts (addn_hosts) file. So when the instance boots and does it dhcp discover, dnsmasq doesnt see the mac address in the hosts file, so it logs "no address available", and the instance doesn't get an IP. If I bounce the neutron-dhcp-agent, it rebuilds the dnsmasq files, and my instance will get a dhcp address. Something is not updating file during normal instance creation, but I'm not sure where that code is. Has anyone seen this with liberty? Is it a bug? It was working find in kilo.

Thanks.