]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Check for concurrent port binding deletion before binding the port
authorEugene Nikanorov <enikanorov@mirantis.com>
Sun, 28 Sep 2014 21:02:58 +0000 (01:02 +0400)
committerenikanorov <enikanorov@mirantis.com>
Wed, 29 Oct 2014 06:07:28 +0000 (06:07 +0000)
commit36b7ceb050a6805d30cbac4562e109dddf3cba25
tree86b9a357a28a008c3360a2a4782bd84ae7ea153c
parent18a238c841dd47a55cdb4b7f13778649f2bfb1b3
Check for concurrent port binding deletion before binding the port

When agent tries to update port binding (DVR or regular), the port
might have already been deleted via API call.
This is not an error condition but should be handled to avoid traces
in the logs.

Change-Id: Ie9436172151f0ecd5b3e4667328910b09f8ef141
Closes-Bug: #1370570
neutron/plugins/ml2/plugin.py [changed mode: 0644->0755]
neutron/tests/unit/ml2/test_port_binding.py [changed mode: 0644->0755]