Reduce duration of failovers with amphora in ERROR
In the failover flow, there are multiple tasks for the configuration of
VRRP for the other amphorae of the load balancer, but during outage the
other amps may not be available. To prevent the tasks from attempting
connections to unreachable amphorae, we can detect in the first task
that an amp is unreachable and pass this information to the other tasks.
Those connection attempts could have taken a lot of time, between 15 min
and 40 min depending on the configuration of Octavia and the provider
driver (amphorav1 or amphorav2)
Closes-Bug: #2033894
Note: stable/2023.1 and older, the patch also includes modifications in octavia/controller/worker/v1/
Reviewed: https:/ /review. opendev. org/c/openstack /octavia/ +/898113 /opendev. org/openstack/ octavia/ commit/ 8e2088336458a80 9f72acb7e36eb60 d7955ee93a
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit 8e2088336458a80 9f72acb7e36eb60 d7955ee93a
Author: Gregory Thiemonge <email address hidden>
Date: Fri Sep 1 09:08:37 2023 -0400
Reduce duration of failovers with amphora in ERROR
In the failover flow, there are multiple tasks for the configuration of
VRRP for the other amphorae of the load balancer, but during outage the
other amps may not be available. To prevent the tasks from attempting
connections to unreachable amphorae, we can detect in the first task
that an amp is unreachable and pass this information to the other tasks.
Those connection attempts could have taken a lot of time, between 15 min
and 40 min depending on the configuration of Octavia and the provider
driver (amphorav1 or amphorav2)
Closes-Bug: #2033894
Note: stable/2023.1 and older, the patch also includes modifications in
octavia/ controller/ worker/ v1/
Conflicts:
octavia/ controller/ worker/ v2/tasks/ amphora_ driver_ tasks.py
Change-Id: Ib33a0b8d2875e4 ff97c65933fe936 0bb06994d32 a05bd5c243f1111 40a5762114) dfbdf4a80df05bf e7d149ca95) 61b612a0b81b1c6 0b6e14db37) 3e4fd4a9afa2f35 903d4d9aac) 46236d0ed3e9106 58afe54323) 4eebb57da828c9b f37d26e2a4)
(cherry picked from commit ca70587f0bcb4b2
(cherry picked from commit 6fdc2079da3392f
(cherry picked from commit 97b1b8387e42f83
(cherry picked from commit dd849b4c5c1a1d3
(cherry picked from commit 68cb6e38800d037
(cherry picked from commit 4ca9b894ec1b023