]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Handle ObjectDeletedError when deleting network ports/subnets
authorOleg Bondarev <obondarev@mirantis.com>
Thu, 10 Sep 2015 07:51:10 +0000 (10:51 +0300)
committerOleg Bondarev <obondarev@mirantis.com>
Thu, 10 Sep 2015 07:52:35 +0000 (10:52 +0300)
commit29ac69ebe365b597ad5d1510381d3f02643edb3e
tree0ca04ea0fcc5f09ae9d66d685318ab956921085c
parent636de7abc85c71be404a1aa27bda0f535dab33f1
Handle ObjectDeletedError when deleting network ports/subnets

It appeared there is still a race on port deletion when deleting
networks. So commit a55e10cfd6369533f0cc22edd6611c9549b8f1b4
introduced a regression. It's a bit of ironic that commit message
was "Avoid DB errors when deleting network's ports and subnets".
Shame on me!

Closes-Bug: #1494157
Change-Id: I37727eca5d68e6440f0f93e0f6bbe63b2f18b443
neutron/plugins/ml2/plugin.py
neutron/tests/unit/plugins/ml2/test_plugin.py