]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Catch StaleDataError in update_device_down
authorAnn Kamyshnikova <akamyshnikova@mirantis.com>
Wed, 24 Dec 2014 11:46:27 +0000 (14:46 +0300)
committerAnn Kamyshnikova <akamyshnikova@mirantis.com>
Mon, 12 Jan 2015 12:39:07 +0000 (15:39 +0300)
commitd9f3e46633b4a776d9c24a4e6e8ed61790ae790f
treecb0b373d1d0c49016ec3197d8d94ad611a9690b3
parentf83b08abf59a915206e93051af96bdcc5b7724c2
Catch StaleDataError in update_device_down

For some reason sometimes at the same time for the same port
delete_port and update_device_down commands have been executed.
This arise StaleDataError in update_device_down. In other situations
these commands are executed one after another and the error doesn't
appear.

This errors does not show anything broken, but to avoid confusion
it will be skipped.

Closes-bug: #1405379

Change-Id: I4e5a3d1f1866b9cfba44d3cb7ccc5b2dee1d9633
neutron/plugins/ml2/rpc.py
neutron/tests/unit/ml2/test_rpcapi.py