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

Salvatore Orlando sorlando at nicira.com
Fri Aug 16 07:18:32 UTC 2013


It sounds like you're having an issue with namespaces, I am not sure how
the emer-reset command can help.
Have you tried it and solved your issue for you?

Have you also tried cleaning up your ns state with neutron-netns-cleanup,
which you can run also with the --force option?

Regards,
Salvatore


On 16 August 2013 08:04, Andrew Spiers <andrew at andrewspiers.net> wrote:

> 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>
> qrouter-ce22fad3-41a1-4428-a782-26b04ca0b95c
>
> 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
>     self._destroy_router_namespace(ns)
>   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
>     root_helper=root_helper)
>   File "/usr/lib/python2.7/dist-packages/quantum/agent/linux/utils.py",
> line 61, in execute
>     raise RuntimeError(m)
> RuntimeError:
> 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?
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130816/bf70409f/attachment.html>


More information about the Openstack mailing list