Failed to delete router namespace when router-delete
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
New
|
Undecided
|
Unassigned |
Bug Description
Failed to delete router namespace when router-delete.
After stack.sh with q-l3 enabled, invoke the following command sequence.
(1) quantum router-
(2) quantum router-
(3) quantum router-delete router1
When deleting router1, L3 agent output the following logs.
In my devtack environment it always happens (5/5)
I can not identify the reason so far. Can anyone investigate it?
quantum: c0473e1 Merge "Add enable_tunneling openvswitch configuration variable"
devstack: 3ceb380 Merge "Devstack support for Quantum L3 agent"
-----
2012-09-11 16:02:33 DEBUG [quantum.
2012-09-11 16:02:33 DEBUG [quantum.
Command: ['sudo', 'ip', 'netns', 'exec', 'qrouter-
Exit code: 0
Stdout: '344: lo: <LOOPBACK> mtu 16436 qdisc noop state DOWN \\ link/loopback 00:00:00:00:00:00 brd 00:00:00:
Stderr: ''
2012-09-11 16:02:33 DEBUG [quantum.
2012-09-11 16:02:33 DEBUG [quantum.
Command: ['sudo', 'ip', 'netns', 'delete', 'qrouter-
Exit code: 1
Stdout: ''
Stderr: 'Cannot remove /var/run/
2012-09-11 16:02:33 ERROR [quantum.
Traceback (most recent call last):
File "/opt/stack/
self.
File "/opt/stack/
self.
File "/opt/stack/
ns_
File "/opt/stack/
self.
File "/opt/stack/
kwargs.
File "/opt/stack/
namespace)
File "/opt/stack/
root_
File "/opt/stack/
raise RuntimeError(m)
RuntimeError:
Command: ['sudo', 'ip', 'netns', 'delete', 'qrouter-
Exit code: 1
Stdout: ''
Stderr: 'Cannot remove /var/run/
2012-09-11 16:02:36 DEBUG [quantumclient.
------
After the above, the following command also fails:
-----
$ sudo ip netns exec qrouter-
seting the network namespace failed: Invalid argument
-----
It looks like this is the same issue Gary and Mark are investigating (and hopefully sorted by now)