Service Type LoadBalancer not accessible from inside the cluster pods with OVN-Kubernetes #782
Unanswered
m-yosefpor
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Is this OKD-specific or reproducible on OCP too? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
Services of type LoadBalancer are not accessible from inside the pods of the cluster, although they are accessible from cluster nodes and pods with hostNetworking, or outside of the cluster.
It encounters with an immediate connection refused:
Version
4.7.0-0.okd-2021-07-03-190901
UPI, Openstack
OVN-Kubernetes
How reproducible
Please specify how often the issue is reproducible: 100%
Here is a service type loadbalancer (external IP and BGP advertisement have been done with metallb):
curling it from outside of the cluster, or even from each nodes of the cluster is working OK:
Even from pods with hostNetworking it is working OK:
Now we try curling it from inside a cluster pod without hostNetworking (e.g. prometheus). We will face immediate connection refused error.
Here is a packet capture result on the host where prometheus is, which shows it immediately receives a
Return
:Additional Info:
No network policy has been set.
Accessing NodePort services are OK from both pods with hostNetworking and non-hostNetworking.
The same setup is working with okd v3.11 with openshift-sdn.
Log bundle
Not applicable.
Beta Was this translation helpful? Give feedback.
All reactions