Bug 2135260 - router gateway unset + set breaks ovn lb connectivity
Summary: router gateway unset + set breaks ovn lb connectivity
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-ovn-octavia-provider
Version: 17.0 (Wallaby)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: beta
: 17.1
Assignee: Luis Tomas Bolivar
QA Contact: Omer Schwartz
URL:
Whiteboard:
Depends On: 2163815
Blocks: 2135261 2136015
TreeView+ depends on / blocked
 
Reported: 2022-10-17 07:10 UTC by Luis Tomas Bolivar
Modified: 2023-08-16 01:13 UTC (History)
1 user (show)

Fixed In Version: python-ovn-octavia-provider-1.0.1-0.20221122190308.bbf881f.el9ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 2135261 (view as bug list)
Environment:
Last Closed: 2023-08-16 01:12:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad.net neutron/+bug/1991509 0 None None None 2022-10-17 07:15:52 UTC
OpenStack gerrit 860667 0 None MERGED Ensure lbs are properly configured for router gateway set/unset 2022-10-17 07:15:52 UTC
Red Hat Issue Tracker OSP-19460 0 None None None 2022-10-17 07:32:42 UTC
Red Hat Product Errata RHEA-2023:4577 0 None None None 2023-08-16 01:13:03 UTC

Description Luis Tomas Bolivar 2022-10-17 07:10:45 UTC
Before adding support for lbs with VIPs on the provider networks, there was no need to react to gateway chassis creation events, and nothing was done for its deletion. However, after adding the support for that, there is a need of properly handling the creation event for that type of port.

The LogicalRouterPortEvent for gateway_chassis port are skip [1], however if ovn lb VIPs are on provider network, the create event needs to be handle so that the loadbalancer gets properly configured and added to the router

For the loadbalancer VIPs on the provider network, processing the event and triggering the lb_creat_lrp_assoc_handler means that the information about the logical router will be added, i.e., the router is added to the loadbalancer external_ids as a lr_ref, while the loadbalancer is also added into the logical_router object (loadbalancer entry). In addition, the lb is also added to the logical switches connected to the router.

[1] https://opendev.org/openstack/ovn-octavia-provider/src/commit/acbf6e7f3e223c088582390475c84464bc27227d/ovn_octavia_provider/event.py#L39

Comment 21 errata-xmlrpc 2023-08-16 01:12:25 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 (Release of components for Red Hat OpenStack Platform 17.1 (Wallaby)), 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/RHEA-2023:4577


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