← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1302275] Re: DHCP service start failed

 

In some IPv6 scenarios, the gateway might be outside of the subnet cidr.

** Changed in: neutron
       Status: New => Incomplete

** Changed in: neutron
       Status: Incomplete => Invalid

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

Title:
  DHCP service start failed

Status in OpenStack Neutron (virtual network service):
  Invalid

Bug description:
  In neutron.conf, I set 'force_gateway_on_subnet = False', then create a subnet with gateway ip out of
   subnet' CIDR,  I found a error happen in dhcp.log, the log is bellow:

   [-] Unable to enable dhcp for af572283-3f32-4a12-9419-1154e9c386f9.
   Traceback (most recent call last):
     File "/usr/lib64/python2.6/site-packages/neutron/agent/dhcp_agent.py", line 128, in call_driver
       getattr(driver, action)(**action_kwargs)
     File "/usr/lib64/python2.6/site-packages/neutron/agent/linux/dhcp.py", line 167, in enable
       reuse_existing=True)
     File "/usr/lib64/python2.6/site-packages/neutron/agent/linux/dhcp.py", line 727, in setup
       self._set_default_route(network)
     File "/usr/lib64/python2.6/site-packages/neutron/agent/linux/dhcp.py", line 615, in _set_default_route
       device.route.add_gateway(subnet.gateway_ip)
     File "/usr/lib64/python2.6/site-packages/neutron/agent/linux/ip_lib.py", line 368, in add_gateway
       self._as_root(*args)
     File "/usr/lib64/python2.6/site-packages/neutron/agent/linux/ip_lib.py", line 217, in _as_root
       kwargs.get('use_root_namespace', False))
     File "/usr/lib64/python2.6/site-packages/neutron/agent/linux/ip_lib.py", line 70, in _as_root
       namespace)
     File "/usr/lib64/python2.6/site-packages/neutron/agent/linux/ip_lib.py", line 81, in _execute
       root_helper=root_helper)
     File "/usr/lib64/python2.6/site-packages/neutron/agent/linux/utils.py", line 75, in execute
       raise RuntimeError(m)
   RuntimeError:
   Command: ['sudo', '/usr/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qdhcp-af572283-3f32-4a12-9419-1154e9c386f9', 'ip', 'route', 'replace', 'default', 'via', '80.80.1.1', 'dev', 'tapcb420785-8d']
   Exit code: 2
   Stdout: ''
   Stderr: 'RTNETLINK answers: No such process\n'
   TRACE neutron.agent.dhcp_agent

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


References