4b8b198fec
When an error occurs in a flow, the provisioning status of the load balancer should be set to ERROR in the revert method of the first task of the flow. This update acts as an unlock of the LB object and cannot occur in any other revert method because the API might consider the LB as mutable before finishing a task/flow. Remove all occurrences of mark_loadbalancer_prov_status_error calls in revert method of tasks that are not specifically designed for unlocking the load balancers. Add a LoadBalancerToErrorOnRevertTask task in the amphora failover flow to prevent a LB to be in an immutable state. Story 2009651 Task 43810 Story 2009652 Task 43811 Change-Id: I48b0f5a773209b1c1b056d71c0da05d6fd82ca73
10 lines
417 B
YAML
10 lines
417 B
YAML
---
|
|
fixes:
|
|
- |
|
|
Fix an issue with the provisioning status of a load balancer that was set
|
|
to ERROR too early when an error occurred, making the load balancer mutable
|
|
while the execution of the tasks for this resources haven't finished yet.
|
|
- |
|
|
Fix an issue that could set the provisioning status of a load balancer to a
|
|
PENDING_UPDATE state when an error occurred in the amphora failover flow.
|