a79f74b217
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 (cherry picked from commit |
||
---|---|---|
.. | ||
__init__.py | ||
test_amphora_driver_tasks.py | ||
test_cert_task.py | ||
test_compute_tasks.py | ||
test_database_tasks.py | ||
test_database_tasks_quota.py | ||
test_lifecycle_tasks.py | ||
test_model_tasks.py | ||
test_network_tasks.py | ||
test_retry_tasks.py |