Comment 6 for bug 1052535

Revision history for this message
Janis Gengeris (janisg) wrote :

The cleanup tool is not working very well. It explodes with this message, when trying to remove namespace.

Command: ['sudo', '/usr/bin/quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ip', 'netns', 'exec', 'qrouter-a3e53be2-7e6c-434b-b2f5-84678dd42aa0', 'ip', '-o', 'link', 'list']
Exit code: 1
Stdout: ''
Stderr: 'seting the network namespace failed: Invalid argument\n'

The original output of the command is the following:

# ip netns exec qrouter-3442d231-2e00-4d26-823e-1feb5d02a798 ip -o link list
54: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN \ link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

Trying to delete namespace manually also fails:
# ip netns delete qrouter-3442d231-2e00-4d26-823e-1feb5d02a798
Cannot remove /var/run/netns/qrouter-3442d231-2e00-4d26-823e-1feb5d02a798: Device or resource busy