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

Cannot re-use ipv6 LBs in dualstack clusters

XMLWordPrintable

    • +
    • Important
    • No
    • ShiftStack Sprint 250, ShiftStack Sprint 251, ShiftStack Sprint 252
    • 3
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, IPv6 services were wrongly marked as internal on the OpenStack cloud provider, making it impossible to share IPv6 load balancers between {product-title} services. Now, IPv6 services are not marked as internal, allowing IPv6 load balancers to be shared between services that use stateful IPv6 addresses. This fix allows load balancers to use stateful IPv6 addresses that are defined in the `loadBalancerIP` property of the service. (link:https://issues.redhat.com/browse/OCPBUGS-29605[*OCPBUGS-29605*])
      Show
      * Previously, IPv6 services were wrongly marked as internal on the OpenStack cloud provider, making it impossible to share IPv6 load balancers between {product-title} services. Now, IPv6 services are not marked as internal, allowing IPv6 load balancers to be shared between services that use stateful IPv6 addresses. This fix allows load balancers to use stateful IPv6 addresses that are defined in the `loadBalancerIP` property of the service. (link: https://issues.redhat.com/browse/OCPBUGS-29605 [* OCPBUGS-29605 *])
    • Bug Fix
    • Done

      On ipv6-primary dualstack, it is observed that the test:

      "[sig-installer][Suite:openshift/openstack][lb][Serial] The Openstack platform should re-use an existing UDP Amphora LoadBalancer when new svc is created on Openshift with the proper annotation"
      

      fails, because CCM is considering it as "internal":

      I0216 10:13:07.053922       1 loadbalancer.go:2113] "EnsureLoadBalancer" cluster="kubernetes" service="e2e-test-openstack-sprfn/udp-lb-shared2-svc"
      E0216 10:13:07.124915       1 controller.go:298] error processing service e2e-test-openstack-sprfn/udp-lb-shared2-svc (retrying with exponential backoff): failed to ensure load balancer: internal Service cannot share a load balancer
      I0216 10:13:07.125445       1 event.go:307] "Event occurred" object="e2e-test-openstack-sprfn/udp-lb-shared2-svc" fieldPath="" kind="Service" apiVersion="v1" type="Warning" reason="SyncLoadBalancerFailed" message="Error syncing load balancer: failed to ensure load balancer: internal Service cannot share a load balancer"
      

      However, both LBs do not have the below annotation:

      "service.beta.kubernetes.io/openstack-internal-load-balancer": "true" 
      

      Versions:
      4.15.0-0.nightly-2024-02-14-052317
      RHOS-16.2-RHEL-8-20230510.n.1

              mdemaced Maysa De Macedo Souza
              rlobillo Ramón Lobillo
              Ramón Lobillo Ramón Lobillo
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: