← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1302312] Re: dhcp agent sometimes fail to add gateway to interface because interface is down

 

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

** Changed in: neutron
    Milestone: None => juno-1

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

Title:
  dhcp agent sometimes fail to add gateway to interface because
  interface is down

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

Bug description:
  2014-04-03 20:37:02.020 TRACE neutron.agent.dhcp_agent   File "/opt/stack/neutron/neutron/agent/linux/ip_lib.py", line 217, in _as_root
  2014-04-03 20:37:02.020 TRACE neutron.agent.dhcp_agent     kwargs.get('use_root_namespace', False))
  2014-04-03 20:37:02.020 TRACE neutron.agent.dhcp_agent   File "/opt/stack/neutron/neutron/agent/linux/ip_lib.py", line 70, in _as_root
  2014-04-03 20:37:02.020 TRACE neutron.agent.dhcp_agent     namespace)
  2014-04-03 20:37:02.020 TRACE neutron.agent.dhcp_agent   File "/opt/stack/neutron/neutron/agent/linux/ip_lib.py", line 81, in _execute
  2014-04-03 20:37:02.020 TRACE neutron.agent.dhcp_agent     root_helper=root_helper)
  2014-04-03 20:37:02.020 TRACE neutron.agent.dhcp_agent   File "/opt/stack/neutron/neutron/agent/linux/utils.py", line 75, in execute
  2014-04-03 20:37:02.020 TRACE neutron.agent.dhcp_agent     raise RuntimeError(m)
  2014-04-03 20:37:02.020 TRACE neutron.agent.dhcp_agent RuntimeError:
  2014-04-03 20:37:02.020 TRACE neutron.agent.dhcp_agent Command: ['sudo', '/usr/local/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qdhcp-e1eaed6e-ef91-4741-acb2-62daba3ffede', 'ip', 'route', 'replace', 'default', 'via', '10.2.0.1', 'dev', 'tapb1e4235c-4e']
  2014-04-03 20:37:02.020 TRACE neutron.agent.dhcp_agent Exit code: 2
  2014-04-03 20:37:02.020 TRACE neutron.agent.dhcp_agent Stdout: ''
  2014-04-03 20:37:02.020 TRACE neutron.agent.dhcp_agent Stderr: 'RTNETLINK answers: Network is unreachable\n'
  2014-04-03 20:37:02.020 TRACE neutron.agent.dhcp_agent

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


References