octavia/releasenotes/notes/fixed-PENDING_UPDATE-on-provider-errors-40a03adc8ef82a54.yaml
Gregory Thiemonge 81cb9d5efc Fix bug when rolling back prov and op status for some API calls
POST l7rule API call and PUT pool API call had a bug that might have
kept a load balancer in provisioning_status when the call was rejected
by the provider.

The code didn't use the right locked DB session to set the statuses and
then to rollback them when an exception was caught.

Story 2010210
Task 45947

Change-Id: I494ea357afc072360765d7a30a9488e08bfda52c
(cherry picked from commit fdcea400c6)
(cherry picked from commit 3e6f180b77)
2022-08-23 17:07:55 +02:00

6 lines
153 B
YAML

---
fixes:
- |
Fix load balancers stuck in PENDING_UPDATE issues for some API calls (POST
/l7rule, PUT /pool) when a provider denied the call.