]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Have L3 agent catch the correct exception
authorTerry Wilson <twilson@redhat.com>
Tue, 9 Dec 2014 22:24:37 +0000 (15:24 -0700)
committerTerry Wilson <twilson@redhat.com>
Thu, 11 Dec 2014 18:09:04 +0000 (18:09 +0000)
commit4cfe2fc98ae273034ffef7264f21b1bd5dff414d
tree7af7df78251f2beea61902aec66be3886f57b9ca
parent6f2231a7095f21e556124af3b2f3d54f284a1ef9
Have L3 agent catch the correct exception

L3 agent imports the processutils module to catch exceptions that
wouldn't ever be thrown because the underlying execute() being
called is the one from neutron.agent.linux.utils which raises a
RuntimeError on failure.

Also, processutils is now part of oslo.concurrency. So when we
actually start using it, we'll use it from there.

Closes-Bug: 1401626
Change-Id: I43874e1b63a0ba7b01415cafe0538f4343057066
neutron/agent/l3/agent.py
neutron/openstack/common/processutils.py [deleted file]
neutron/tests/unit/test_l3_agent.py
openstack-common.conf