← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1352609] [NEW] RTNETLINK answers: File exists

 

Public bug reported:

Running into this bug intermittently.

2014-08-04 23:24:43.520 4038 ERROR neutron.agent.dhcp_agent [-] Unable to enable dhcp for 415a0839-eb05-4e7a-907c-413c657f4bf5.
2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent Traceback (most recent call last):
2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/dhcp_agent.py", line 127, in call_driver
2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent     getattr(driver, action)(**action_kwarg2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/dhcp_agent.py", line 127, in call_driver
2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent     getattr(driver, action)(**action_kwargs)
2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/dhcp.py", line 166, in enable
2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent     reuse_existing=True)
2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/dhcp.py", line 832, in setup
2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent     namespace=network.namespace)
2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/interface.py", line 178, in plug
2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent     namespace2=namespace)
2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/ip_lib.py", line 129, in add_veth
2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent     self._as_root('', 'link', tuple(args))
2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/ip_lib.py", line 70, in _as_root
2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent     namespace)
2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/ip_lib.py", line 81, in _execute
2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent     root_helper=root_helper)
2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/utils.py", line 76, in execute
2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent     raise RuntimeError(m)
2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent RuntimeError: 
2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent Command: ['sudo', '/usr/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'link', 'add', 'tapec90379e-17', 'type', 'veth', 'peer', 'name', 'ns-ec90379e-17', 'netns', 'qdhcp-415a0839-eb05-4e7a-907c-413c657f4bf5']
2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent Exit code: 2
2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent Stdout: ''
2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent Stderr: 'RTNETLINK answers: File exists\n'
2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent 

ip netns seems broken:

$ sudo ip netns exec qrouter-42ce8973-6a4c-4eb8-9678-4aec5532d7b6 ip route
seting (sic) the network namespace "qrouter-42ce8973-6a4c-4eb8-9678-4aec5532d7b6" failed: Invalid argument

This is a MAAS juju deployed openstack using charmstore charms. This is
in a smoosh environment where neutron-gateway is deployed as lxc on juju
node 0.

** Affects: neutron
     Importance: Undecided
         Status: New

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

Title:
  RTNETLINK answers: File exists

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  Running into this bug intermittently.

  2014-08-04 23:24:43.520 4038 ERROR neutron.agent.dhcp_agent [-] Unable to enable dhcp for 415a0839-eb05-4e7a-907c-413c657f4bf5.
  2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent Traceback (most recent call last):
  2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/dhcp_agent.py", line 127, in call_driver
  2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent     getattr(driver, action)(**action_kwarg2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/dhcp_agent.py", line 127, in call_driver
  2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent     getattr(driver, action)(**action_kwargs)
  2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/dhcp.py", line 166, in enable
  2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent     reuse_existing=True)
  2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/dhcp.py", line 832, in setup
  2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent     namespace=network.namespace)
  2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/interface.py", line 178, in plug
  2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent     namespace2=namespace)
  2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/ip_lib.py", line 129, in add_veth
  2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent     self._as_root('', 'link', tuple(args))
  2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/ip_lib.py", line 70, in _as_root
  2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent     namespace)
  2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/ip_lib.py", line 81, in _execute
  2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent     root_helper=root_helper)
  2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/utils.py", line 76, in execute
  2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent     raise RuntimeError(m)
  2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent RuntimeError: 
  2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent Command: ['sudo', '/usr/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'link', 'add', 'tapec90379e-17', 'type', 'veth', 'peer', 'name', 'ns-ec90379e-17', 'netns', 'qdhcp-415a0839-eb05-4e7a-907c-413c657f4bf5']
  2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent Exit code: 2
  2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent Stdout: ''
  2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent Stderr: 'RTNETLINK answers: File exists\n'
  2014-08-04 23:24:43.520 4038 TRACE neutron.agent.dhcp_agent 

  ip netns seems broken:

  $ sudo ip netns exec qrouter-42ce8973-6a4c-4eb8-9678-4aec5532d7b6 ip route
  seting (sic) the network namespace "qrouter-42ce8973-6a4c-4eb8-9678-4aec5532d7b6" failed: Invalid argument

  This is a MAAS juju deployed openstack using charmstore charms. This
  is in a smoosh environment where neutron-gateway is deployed as lxc on
  juju node 0.

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


Follow ups

References