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
Change-Id: Ib33a0b8d2875e4ff97c65933fe9360bb06994d32
(cherry picked from commit ca70587f0bcb4b2a05bd5c243f111140a5762114)
Reviewed: https:/ /review. opendev. org/c/openstack /octavia/ +/897784 /opendev. org/openstack/ octavia/ commit/ 6fdc2079da3392f dfbdf4a80df05bf e7d149ca95
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/2023.2
commit 6fdc2079da3392f dfbdf4a80df05bf e7d149ca95
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
Change-Id: Ib33a0b8d2875e4 ff97c65933fe936 0bb06994d32 a05bd5c243f1111 40a5762114)
(cherry picked from commit ca70587f0bcb4b2