[Openstack] quantum/neturon and openvswitch cannot delete a namespace. emer-reset?

Andrew Spiers andrew at andrewspiers.net
Fri Aug 16 06:04:58 UTC 2013

Hi, I'm setting up a grizzly installation
(trying to use the 'basic install guide' but with the network and controller
nodes combined.) I've got this issue:

# ip netns
<snipped qdhcp entries>

ip netns exec qrouter-ce22fad3-41a1-4428-a782-26b04ca0b95c ip addr list
seting the network namespace failed: Invalid argument

When I restart quantum-l3-agent, I get similar output in l3-agent.log:

2013-08-16 16:00:04    ERROR [quantum.agent.l3_agent] Failed deleting
namespace 'qrouter-ce22fad3-41a1-4428-a782-26b04ca0b95c'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/quantum/agent/l3_agent.py",
line 187, in _destroy_router_namespaces
  File "/usr/lib/python2.7/dist-packages/quantum/agent/l3_agent.py",
line 193, in _destroy_router_namespace
    for d in ns_ip.get_devices(exclude_loopback=True):
  File "/usr/lib/python2.7/dist-packages/quantum/agent/linux/ip_lib.py",
line 73, in get_devices
    self.root_helper, self.namespace)
  File "/usr/lib/python2.7/dist-packages/quantum/agent/linux/ip_lib.py",
line 58, in _execute
  File "/usr/lib/python2.7/dist-packages/quantum/agent/linux/utils.py",
line 61, in execute
    raise RuntimeError(m)
Command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf',
'ip', 'netns', 'exec', 'qrouter-ce22fad3-41a1-4428-a782-26b04ca0b95c',
'ip', '-o', 'link', 'list']
Exit code: 1
Stdout: ''
Stderr: 'seting the network namespace failed: Invalid argument\n'

Is it time to use 'ovs-vsctl emer-reset' and then redefine the bridges?
Anything I should bear in mind before using that command?

More information about the Openstack mailing list