Bug 2041854 - Communities / Local prefs are applied to all the services regardless of the pool, and only one community is applied
Summary: Communities / Local prefs are applied to all the services regardless of the p...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.10
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.10.0
Assignee: Federico Paolinelli
QA Contact: Arti Sood
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-18 11:50 UTC by Federico Paolinelli
Modified: 2022-03-10 16:40 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-10 16:40:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github metallb metallb pull 1172 0 None open FRR: fix communities and local preferences 2022-01-18 11:51:11 UTC
Github openshift metallb pull 28 0 None open Bug 2041854: upstream sync 2022-01-25 09:32:46 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:40:44 UTC

Description Federico Paolinelli 2022-01-18 11:50:29 UTC
Description of problem:

The metallb api allows to specify the community / local pref belonging to a given pool.
It also allows to specify multiple communities.

With the current version, all the communities are squashed and only the last one wins, and they are associated to all the ips regardless of the pool the ip belongs to.


Version-Release number of selected component (if applicable):


How reproducible:

Always

Steps to Reproduce:
1. Create two addresspool, one with multiple communities, one without
2. Create two services, pinning the loadbalancer ip to the first address pool and to the second
3. Peer metallb with external bgp peers

Actual results:

Only one community is associated to the route (instead of two)
The community is associated to both the routes (instead of only hte one related to the pool with communities defined).

Same goes for local preference.

Expected results:


Additional info:

Comment 5 errata-xmlrpc 2022-03-10 16:40:33 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 (Moderate: OpenShift Container Platform 4.10.3 security update), 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/RHSA-2022:0056


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