[OVN+MetalLB] Clients can not connect to a service with a local externalTrafficPolicy
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.