octavia/octavia/tests/unit/controller/worker/v1/tasks
Gregory Thiemonge a79f74b217 Fix LB set in ERROR too early in the revert flow
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 4b8b198fec)
(cherry picked from commit 4039d35ce2)
(cherry picked from commit 844f1348ea)
(cherry picked from commit cf2a8bdf88)
2021-11-17 08:03:11 +01:00
..
__init__.py Create Amphora V2 provider driver 2019-06-05 14:30:29 -07:00
test_amphora_driver_tasks.py Fix LB set in ERROR too early in the revert flow 2021-11-17 08:03:11 +01:00
test_cert_task.py Remove all usage of six library 2020-03-18 17:15:26 -04:00
test_compute_tasks.py Refactor the failover flows 2020-09-08 08:46:57 +00:00
test_database_tasks.py Fix LB set in ERROR too early in the revert flow 2021-11-17 08:03:11 +01:00
test_database_tasks_quota.py Remove the dependency on the "mock" package 2020-02-17 14:55:19 -08:00
test_lifecycle_tasks.py Remove the dependency on the "mock" package 2020-02-17 14:55:19 -08:00
test_model_tasks.py Remove the dependency on the "mock" package 2020-02-17 14:55:19 -08:00
test_network_tasks.py Fix LB failover for amphorav2: set security group 2021-03-23 14:39:28 +01:00
test_retry_tasks.py Refactor the failover flows 2020-09-08 08:46:57 +00:00