[OVN+MetalLB] Clients can not connect to a service with a local externalTrafficPolicy

Solution Verified - Updated -

Issue

  • Can not connect to a service of type loadBalancer with local externalTrafficPolicy with metallb advertising on a NIC that is not the default gateway.
  • The service is accessible when using cluster as the externalTrafficPolicy.

Environment

  • Red Hat Openshift Container Platform (RHOCP)
    • 4.12 and later
  • OVN-Kubernetes
  • loadBalancer with externalTrafficPolicy (ETP) set to local
  • MetalLB
    • With advertisement scoped to a NIC that is not the default gateway/br-ex.
    • Secondary interface has net.ipv4.conf.<interface>.forwarding enabled.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content