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

MetalLB failing to clear existing service of auto assigned IP when new service requests the same IP

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • 4.12.0
    • 4.11.z
    • Networking / Metal LB
    • None
    • CNF Network Sprint 227
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Create a Service of type LoadBalancer and let MetalLB auto assign IP. Then create a second service of type LoadBalancer specifically requesting the auto-assigned IP. The IP should be cleared from the first service and assigned to the second service

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

      $ oc get csv -n metallb-system
      NAME                                   DISPLAY            VERSION               REPLACES   PHASE
      metallb-operator.4.11.0-202210250857   MetalLB Operator   4.11.0-202210250857              Succeeded
      

       

      How reproducible:

      One out of one tries

      Steps to Reproduce:

      1. Install Openshift 4.11 baremetal
      2. Install ODF
      3. Install MetalLB
      4. Notice that ODF creates a service of type Loadbalancer (service1.yaml)
      5. Create service2.yaml
      

      Actual results:

      Service2 stays <pending> for Loadbalncer IP

      Expected results:

      Service1 should get a new auto assigned IP and the IP should be assigned to service2.yaml

      Additional info:

       

        1. service2.yaml
          1 kB
        2. service1.yaml
          2 kB
        3. crs.txt
          2 kB
        4. controller.log
          623 kB

            fpaoline@redhat.com Federico Paolinelli
            dhaupt@redhat.com Per David Joakim Haupt
            Arti Sood Arti Sood
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: