]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix namespace exist() method
authorEugene Nikanorov <enikanorov@mirantis.com>
Wed, 19 Mar 2014 14:00:35 +0000 (18:00 +0400)
committerEugene Nikanorov <enikanorov@mirantis.com>
Thu, 27 Mar 2014 18:27:20 +0000 (22:27 +0400)
commit14b6611efea4c9658c611e8cfcfb42fc7dd82f55
tree0952b674fbe2c50a7a898edb8f348d6483579d94
parent833e3a3ad849421d1a75170aeb4031cb567836da
Fix namespace exist() method

Fix namespace exist() method for it shall not be called with a root.
Also, don't run it under the namespace so garbage_collect_namespace
method can run without rootwrap and not withi a ns.

As a result of fixing namespace listing the patch also fixes the
regression introduced (bug/1294603) to loadbalancer agent respawning
haproxy due to inability to list namespaces properly.

Change-Id: I0dc4d01b0c1c04887ec6ad5766ec7c6c96903faa
Closes-Bug: #1297594
Closes-Bug: #1294603
neutron/agent/linux/ip_lib.py
neutron/tests/unit/test_linux_ip_lib.py