heat/heat/engine/clients/os/neutron
Jenkins 8a799a42ed Fix potential race condition in lbaas v2 logic
In the event that multiple resources under the same loadbalancer get
the affirmative that the loadbalancer is no longer updating before
either of those resources actually perform their action, neutron will
throw a PENDING_UPDATE error when the second resource attempts to
perform its action.

This patch implements the "better to ask forgiveness than to ask for
permmission" adage. Instead of checking whether the loadbalancer is
ready for an action to be performed, we should just try the action.
If it fails, we catch the error and try again later.

Closes-Bug: #1552724

Change-Id: I9f6e164ed838aa298a41b4ed2a6061a927787a4c
2016-03-07 19:29:13 +00:00
..
__init__.py Fix potential race condition in lbaas v2 logic 2016-03-07 19:29:13 +00:00
lbaas_constraints.py Add neutron provider constraints 2015-12-15 22:10:13 +08:00
neutron_constraints.py Add neutron provider constraints 2015-12-15 22:10:13 +08:00