octavia/octavia
Michael Johnson 0139f12c2e Fix failover when multiple amphora have failed
If a load balancer loses more than one amphora at the same time
the failover process will fail and leave the load balancer in
provisioning status ERROR.

This patch resolves this by failing over one amphora at a time
marking any amphora that are also failed in status ERROR. The health
manager will then failover the other failed amphora in subsequent checks.

This patch will update multiple healthy amphora in parallel and will
timeout failed amphroa using the new "active_connection_max_retries"
configuration setting used for "fail-fast" connections.

The patch also updates the amphora failover flow documentation to
show the full flow and not just the spares failover flow.

It updates the amphora driver "get_diagnostics" method to pass instead
of error.

It also adds a AmphoraComputeConnectivityWait task to explicitly wait
for a compute instance to come up and be reachable. This allows a longer
timeout and clarifies this may fail due to compute (nova) failures.
Previously the first plug vip task would do this wait.

Change-Id: Ief97ddda8261b5bbc54c6824f90ae9c7a2d81701
Story: 2001481
Task: 6202
2018-07-22 16:08:45 -07:00
..
amphorae Fix failover when multiple amphora have failed 2018-07-22 16:08:45 -07:00
api Merge "Use object instead of object id in the drivers delete callbacks" 2018-07-20 06:57:58 +00:00
certificates fix tox python3 overrides 2018-06-27 09:32:00 +08:00
cmd Merge "fix tox python3 overrides" 2018-07-05 23:01:35 +00:00
common Fix failover when multiple amphora have failed 2018-07-22 16:08:45 -07:00
compute Add license for empty __init__.py 2018-03-14 07:02:56 +09:00
controller Fix failover when multiple amphora have failed 2018-07-22 16:08:45 -07:00
db Merge "Improve resource quota response message" 2018-07-11 03:52:28 +00:00
distributor Add license for empty __init__.py 2018-03-14 07:02:56 +09:00
hacking fix tox python3 overrides 2018-06-27 09:32:00 +08:00
network Merge "Ignore a port not found when deleting an LB" 2018-07-10 17:14:21 +00:00
policies fix tox python3 overrides 2018-06-27 09:32:00 +08:00
tests Fix failover when multiple amphora have failed 2018-07-22 16:08:45 -07:00
__init__.py fix tox python3 overrides 2018-06-27 09:32:00 +08:00
i18n.py Remove _LI, _LW, _LE, _LC from i18n 2017-05-23 16:28:29 +07:00
opts.py Update Octavia docs for documentation migration 2017-07-03 11:43:40 -07:00
version.py Adds methods in version.py for proper oslo_reports setup 2016-06-07 11:51:26 +03:00