]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix 500 raised on disassociate_floatingips when out of sync
authorAaron Rosen <arosen@nicira.com>
Tue, 7 May 2013 03:21:57 +0000 (20:21 -0700)
committerAaron Rosen <arosen@nicira.com>
Tue, 7 May 2013 04:27:51 +0000 (21:27 -0700)
commit17336b9cb64048652bb6853fe0429699b4762a40
tree67f7f943a495d31721605e2f0872bd2605102d67
parent9ad0ba1ae37918587480394e940ad256bd6e06a5
Fix 500 raised on disassociate_floatingips when out of sync

If one deletes NAT rules directly from NVP and not through quantum,
an error will be raised when deleting a port that is associated with
the floating ip. This patch catches the NotFound exception and logs
it so that the port can successfully be deleted.

Fixes bug: 1177176

Change-Id: Ia7d0b94957d0c6b014d242439245b0e4fa9de40d
quantum/plugins/nicira/QuantumPlugin.py