![]() After failed to add port to a router, we cannot re-use and/or delete this port. With concurrent requests occuring, neutron will accept one request and the other will be rejected with an 'overlapped CIDR' message. Patch [1] fixed the race condition, but neutron raises 'Port already has an attached device' instead of 'overlapped CIDR', because neutron didn't cleanup the port when the request was retried. [1] https://review.openstack.org/#/c/303966/ This patch is needed to fix the bug completely. We will catch any exception when adding an interface by port to a router. After that, we rollback this port to its original state. Change-Id: Ib68aee164a3062648fc882012d57b5e381f52196 Closes-Bug: #1535549 |
||
---|---|---|
.. | ||
__init__.py | ||
test_utils.py |