Bug 1871943 - Octavia OVN Provider load balancer Failover command not returning ERROR message
Summary: Octavia OVN Provider load balancer Failover command not returning ERROR message
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-networking-ovn
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z9
: 16.1 (Train on RHEL 8.2)
Assignee: Fernando Royo
QA Contact: Eran Kuris
URL:
Whiteboard:
Depends On: 1885007
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-24 16:22 UTC by Bruna Bonguardo
Modified: 2022-12-07 20:25 UTC (History)
7 users (show)

Fixed In Version: python-networking-ovn-7.3.1-1.20220303083747.4e24f4c.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-12-07 20:24:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 827332 0 None MERGED Return UnsupportedOptionError() on loadbalancer failover 2022-03-01 12:55:57 UTC
Red Hat Issue Tracker OSP-509 0 None None None 2021-11-18 14:32:07 UTC
Red Hat Product Errata RHBA-2022:8795 0 None None None 2022-12-07 20:25:20 UTC

Description Bruna Bonguardo 2020-08-24 16:22:37 UTC
Description of problem: 

OVN provider driver Octavia load balancers should not be able to failover.
When triggering a load balancer Failover command, a API ERROR message should be returned.


Version-Release number of selected component (if applicable):
$ cat /var/lib/rhos-release/latest-installed
16.1  -p RHOS-16.1-RHEL-8-20200804.n.0


How reproducible:
100%

Steps to Reproduce:
1. Deploy openstack
2. Create OVN provider driver Octavia load balancer
3. Trigger a failover:
(overcloud) [stack@undercloud-0 ~]$ openstack loadbalancer failover ovn-lb

Actual results:
No API error message, and in Controllers logs /var/log/containers/octavia/octavia.log the following message is seen:
INFO octavia.api.v2.controllers.load_balancer [req-4222af30-a1c9-4155-9101-c24f066ff159 - 78eb110d08fb4b3c956d2311d10e5a2c - default default] Sending failover request for load balancer 77980e6a-a939-4bf1-9887-cdf59f380ebe to the provider ovn


Expected results:
When triggering a load balancer Failover command, a API ERROR message should be returned.

Additional info:
ovn provider driver failover code - does not do a failover:
https://opendev.org/openstack/ovn-octavia-provider/src/branch/master/ovn_octavia_provider/helper.py#L970-L975

Comment 12 errata-xmlrpc 2022-12-07 20:24:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat OpenStack Platform 16.1.9 bug fix and enhancement advisory), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:8795


Note You need to log in before you can comment on or make changes to this bug.