neutron/neutron/services
Slawek Kaplonski b51f231c9d Add retries to update trunk port
In [1] retry of trunk update was added to avoid StaleDataError
exceptions to fail to set trunk port or subports to ACTIVE state.
But it was only partial fix for the issue descibed in related bug
and from [2] we know that it still can happen on high load systems
from time to time.
So I was checking this issue and reported bug again and I found out
that retry was added only in _process_trunk_subport_bindings()
method. But StaleDataError can be raised also in other cases where
the same trunk is updated, e.g. in update_trunk_status() method.

So this commit adds same retry mechanism to all trunk.update() actions
in services.trunk.rpc.server module.

[1] https://review.opendev.org/#/c/662236/
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1733197

Conflicts:
    neutron/services/trunk/rpc/server.py

Change-Id: I10e3619d5f3600ea97ed695321bb691dece3181f
Partial-Bug: #1828375
(cherry picked from commit ade35a233e)
2020-01-14 08:16:33 +00:00
..
auto_allocate Implement filter validation 2018-07-19 04:13:43 +00:00
externaldns Fix all pep8 E129 errors 2018-05-03 13:44:04 +09:00
flavors Implement filter validation 2018-07-19 04:13:43 +00:00
l3_router Merge "Implement filter validation" 2018-07-24 15:11:07 +00:00
logapi Merge "ovs fw: apply the NORMAL action on egress traffic in a single table" into stable/rocky 2018-09-07 18:40:00 +00:00
loki use sqla functions from neutron-lib 2018-07-25 21:04:20 +00:00
metering Retry creating iptables managers and adding metering rules 2019-11-04 21:40:22 +00:00
network_ip_availability Implement filter validation 2018-07-19 04:13:43 +00:00
portforwarding Prevent create port forwarding to port which has binding fip 2019-06-19 17:04:10 +02:00
qos Fix QoS rule update 2019-03-28 08:51:38 +00:00
rbac Neutron RBAC API and network support 2015-08-20 20:00:17 -07:00
revisions Run revision bump operations en masse 2019-11-25 13:55:43 -05:00
segments Filter placement API endpoint by type too 2019-07-22 23:44:52 +03:00
tag Implement filter validation 2018-07-19 04:13:43 +00:00
timestamp Merge "use sqla functions from neutron-lib" 2018-07-26 07:52:42 +00:00
trunk Add retries to update trunk port 2020-01-14 08:16:33 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
provider_configuration.py use db utils from lib 2018-07-02 08:24:36 -06:00
service_base.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00