Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-41931

BGP multiple local preference checkpoint

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.13.z, 4.12.z
    • Networking / Metal LB
    • Important
    • No
    • CNF Network Sprint 259, CNF Network Sprint 260, CNF Network Sprint 262
    • 3
    • False
    • Hide

      None

      Show
      None
    • Hide
      Previously, MetalLB accepted BGPAdvertisements with different local preferences, which consequently affected the route advertisements. With this release, this issue is fixed with the extension of webhook to prevent this from occurring while creating BGPAdvertisements with different local preferences. (link:https://issues.redhat.com/browse/OCPBUGS-41931[*OCPBUGS-41931*])
      Show
      Previously, MetalLB accepted BGPAdvertisements with different local preferences, which consequently affected the route advertisements. With this release, this issue is fixed with the extension of webhook to prevent this from occurring while creating BGPAdvertisements with different local preferences. (link: https://issues.redhat.com/browse/OCPBUGS-41931 [* OCPBUGS-41931 *])
    • Bug Fix
    • Done

      This is a clone of issue OCPBUGS-36154. The following is the description of the original issue:

      Description of problem:

      MetalLB is accepting BGPAdvertisements with different local preferences in 4.12 and 4.13. In consequence it is effecting route advertisement. This is not the case from 4.14 as the webhook is preventing this while creating BGPAdvertisement resource with different local preference. 

      Requirement is to backport the fix to 4.12 and 4.13

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

      metallb-operator.4.12.0-202406190905

      How reproducible: 100%

      Steps to Reproduce:
      1. Create BGPAdvertisement with IPAddressPool1 with local preference 100
      2. Create BGPAdvertisement with IPAddressPool1 with local preference 500 with nodeselector and bgp peer

      Actual results: Both get accepted. This effects the route advertisement with both local preference advertised. Also the behaviour is not consistent when swapping step1 and step2

      Expected results: 

      Webhook to reject bgpadvertisement when creating with different local preference.

       

      Additional info:

      YAML data

      https://drive.google.com/drive/folders/1dgmf84GsMdI58219xPD-jmhEDSJ1yeuS?usp=sharing

       

              kkarampo@redhat.com Konstantinos Karampogias
              openshift-crt-jira-prow OpenShift Prow Bot
              Arti Sood Arti Sood
              Padraig OGrady Padraig OGrady
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: