← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1413631] Re: Dhcp agent does not relaunch dnsmasq in case of stale pid

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

** Changed in: neutron
    Milestone: None => kilo-rc1

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1413631

Title:
  Dhcp agent does not relaunch dnsmasq in case of stale pid

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  Dhcp agent does not start dnsmasq again after it was killed by SIGKILL
  signal and even during the creation of new VM (VMs will not get ip
  address ).

  DHCP agent logs after the creation of new VM:

  2014-10-31 11:04:00.079 22872 DEBUG neutron.agent.dhcp_agent [req-a9df8aaa-70b5-4eec-af66-bcba3edc6942 None] Calling driver for network: 2c6f9c
  76-f5cc-4d19-8146-60b5cca2ee56 action: reload_allocations call_driver /usr/lib/python2.7/dist-packages/neutron/agent/dhcp_agent.py:119
  2014-10-31 11:04:00.079 22872 DEBUG neutron.agent.linux.dhcp [req-a9df8aaa-70b5-4eec-af66-bcba3edc6942 None] Building host file: /var/lib/neutr
  on/dhcp/2c6f9c76-f5cc-4d19-8146-60b5cca2ee56/host _output_hosts_file /usr/lib/python2.7/dist-packages/neutron/agent/linux/dhcp.py:498
  2014-10-31 11:04:00.080 22872 DEBUG neutron.agent.linux.dhcp [req-a9df8aaa-70b5-4eec-af66-bcba3edc6942 None] Adding fa:16:3e:e0:57:21 : host-19
  2-168-196-8.openstacklocal : 192.168.196.8 _output_hosts_file /usr/lib/python2.7/dist-packages/neutron/agent/linux/dhcp.py:509
  2014-10-31 11:04:00.080 22872 DEBUG neutron.agent.linux.dhcp [req-a9df8aaa-70b5-4eec-af66-bcba3edc6942 None] Adding fa:16:3e:27:6c:9e : host-192-168-196-9.openstacklocal : 192.168.196.9 _output_hosts_file /usr/lib/python2.7/dist-packages/neutron/agent/linux/dhcp.py:509
  2014-10-31 11:04:00.081 22872 DEBUG neutron.agent.linux.dhcp [req-a9df8aaa-70b5-4eec-af66-bcba3edc6942 None] Done building host file /var/lib/neutron/dhcp/2c6f9c76-f5cc-4d19-8146-60b5cca2ee56/host _output_hosts_file /usr/lib/python2.7/dist-packages/neutron/agent/linux/dhcp.py:520
  2014-10-31 11:04:00.082 22872 DEBUG neutron.agent.linux.dhcp [req-a9df8aaa-70b5-4eec-af66-bcba3edc6942 None] Pid 27257 is stale, relaunching dnsmasq reload_allocations /usr/lib/python2.7/dist-packages/neutron/agent/linux/dhcp.py:446

  but no relaunching actually happens

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1413631/+subscriptions


References