Failover of loadbalancer fails when Amphora master is missing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Cloud Archive |
Fix Released
|
Undecided
|
Unassigned | ||
Train |
Fix Released
|
High
|
Unassigned | ||
Ussuri |
Fix Released
|
High
|
Unassigned | ||
Victoria |
Fix Released
|
Undecided
|
Unassigned | ||
octavia (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
High
|
Unassigned | ||
Groovy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
(from storyboard desciption) Currently if taskflow process is interrupted (during create/
Taskflow provides persistence module which allows to save flows state for recovery https:/
Otherwise partially created/
[Test Case]
* deploy Openstack with Octavia and 2 compute hosts e.g. ./generate-
* juju config octavia loadbalancer-
* create ubuntu vm and install apache2 (i.e. listen port 80)
* create loadbalancer with vm as member and floating ip for LB vip
* test connection with: nc -vz LB_FIP 80
* openstack loadbalancer amphora list
* get amphora master vm uuid: openstack loadbalancer amphora show -c compute_id -f value <master>
* openstack server show -c "OS-EXT-
* poweroff compute host from previous step
* openstack loadbalancer failover LB_UUID
* wait a few seconds
* openstack loadbalancer amphora list
* Wait until you have one BACKUP and one MASTER
* Test connection with: nc -vz LB_FIP 80
[Regression Potential]
While new failovers have been proven to work properly, this will resolve existing failed failovers which will require setting the LB state from PENDING_UPDATE to ERROR in the database prior to triggering a new failover.
-------
Tried to failover a loadbalancer that has missing entries of amphora master.
The loadbalancer went to ERROR state.
OpenStack version: Train
The fix is available in upstream as part of the Octavia Failover refactor patches in Train
https:/
Verified with the upstream patches and it worked.
Changed in octavia (Ubuntu): | |
status: | New → Fix Released |
description: | updated |
description: | updated |
tags: | added: sts-sru-needed |
Changed in octavia (Ubuntu Focal): | |
status: | Triaged → Fix Released |
Task originally tracked in storyboard:
https:/ /storyboard. openstack. org/#!/ story/2005072 /storyboard. openstack. org/#!/ story/2007847
https:/
Victoria patches are already included in Ubuntu packages for 7.0.0
Ussuri patches to be SRUd: https:/ /review. opendev. org/#/q/ status: merged+ project: openstack/ octavia+ branch: stable/ ussuri+ topic:failover- refactor
Train patches to be SRUd: https:/ /review. opendev. org/#/q/ status: merged+ project: openstack/ octavia+ branch: stable/ train+topic: failover- refactor