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

BGP multiple local preference checkpoint

XMLWordPrintable

    • Important
    • No
    • CNF Network Sprint 259
    • 1
    • 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-36154[*OCPBUGS-36154*])
      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-36154 [* OCPBUGS-36154 *])
    • Bug Fix
    • Done

      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
              rh-ee-ajaggapa Anvesh Jaggapatruni
              Padraig OGrady Padraig OGrady
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: