You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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 Note for stable/train: the code of the amphorav2 is not updated in this backport, the source files exist in train but the feature was added ussuri. Backporting this patch creates many merge conflicts and doesn't provide anything for train users. Conflicts: octavia/controller/worker/v1/tasks/database_tasks.py octavia/controller/worker/v2/flows/amphora_flows.py octavia/controller/worker/v2/tasks/amphora_driver_tasks.py octavia/controller/worker/v2/tasks/database_tasks.py octavia/tests/unit/controller/worker/v2/flows/test_amphora_flows.py octavia/tests/unit/controller/worker/v2/tasks/test_amphora_driver_tasks.py octavia/tests/unit/controller/worker/v2/tasks/test_database_tasks.py Change-Id: I48b0f5a773209b1c1b056d71c0da05d6fd82ca73 (cherry picked from commit
|9 months ago|
|v1||9 months ago|
|v2||2 years ago|
|__init__.py||4 years ago|
|amphora_rate_limit.py||5 years ago|
|task_utils.py||3 years ago|