When 2 amps were down, the failover flow created the first one and
needed to update both amp to configure VRRP, but as the 2nd was missing,
it was set to ERROR. Then the health-manager could not trigger a
failover becasue amphorae in ERROR are excluded from the automated
failover process.
This commit changes the tasks that must be run on both amphorae during a
failover of one amphora, it doesn't mark the secondary amphora in ERROR
if it is not reachable.
Closes-Bug: #2033734
Note: stable/2023.1 and older, the patch also includes modifications in octavia/controller/worker/v1/
Reviewed: https:/ /review. opendev. org/c/openstack /octavia/ +/897791 /opendev. org/openstack/ octavia/ commit/ 10cfd8c7605e778 9ec1ae3de511b3a 84b8324e04
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/2023.1
commit 10cfd8c7605e778 9ec1ae3de511b3a 84b8324e04
Author: Gregory Thiemonge <email address hidden>
Date: Mon Sep 4 05:56:25 2023 -0400
Fix amphorae in ERROR during the failover
When 2 amps were down, the failover flow created the first one and
needed to update both amp to configure VRRP, but as the 2nd was missing,
it was set to ERROR. Then the health-manager could not trigger a
failover becasue amphorae in ERROR are excluded from the automated
failover process.
This commit changes the tasks that must be run on both amphorae during a
failover of one amphora, it doesn't mark the secondary amphora in ERROR
if it is not reachable.
Closes-Bug: #2033734
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: I4bd027346c61b9 3b537ab53810c2e cb6160b6be2 74d870a763802a5 1586e0f63b) b8b71ad8fdb2d74 4f94625ec4)
(cherry picked from commit 248cf2893ea913a
(cherry picked from commit 5622431534d3bf9