Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
The FDP team is no longer accepting new bugs in Bugzilla. Please report your issues under FDP project in Jira. Thanks.

Bug 2125310

Summary: Automatic propagation of logical router LBs to a logical switch doesn't work with LB groups.
Product: Red Hat Enterprise Linux Fast Datapath Reporter: Ilya Maximets <i.maximets>
Component: ovn22.06Assignee: lorenzo bianconi <lorenzo.bianconi>
Status: CLOSED CURRENTRELEASE QA Contact: ying xu <yinxu>
Severity: unspecified Docs Contact:
Priority: medium    
Version: FDP 22.HCC: ctrautma, jiji, jishi, lorenzo.bianconi, mmichels
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-13 07:19:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ilya Maximets 2022-09-08 15:10:26 UTC
New configuration option NB_Global:install_ls_lb_from_router was added
in BZ2043543.  But the implementation in northd only cycles across
load balancers directly attached to a logical router and doesn't take
into account load balancers from LB groups attached to that router.

Found by code inspection.

build_lswitch_lbs_from_lrouter() should iterate over load balancer groups
as well.

It's also worth noting that the function has a potential to become a
huge performance bottleneck due to its quadratic complexity.  It might
make sense to re-think the implementation as well while fixing the
LB group problem.