Not able to see http requests transmitted from loadbalancer at endpoint #883
-
hi I created a loadbalancer docker container in one of my ubuntu vm and have a http server in another docker container in another vm. Created the loadbalancer using below cmd : loxicmd create lb 10.34.0.100 --tcp=2020:8080 --endpoints=10.37.0.10:1 Added the VIP to loxilb container using the below cmd: sudo ip netns exec loxilb ip addr add 10.34.0.100/32 dev lo Verified VIP is added in loxilb container root@aef9cc10ec19:/# ip addr show lo root@aef9cc10ec19:/# loxicmd get lb -o wide
Connectivty to endpoint from lb is ok sudo ip netns exec loxilb ping 10.37.0.10 But the request does not reach the endpoint sudo ip netns exec loxilb tcpdump -i ethwe port 2020 11:46:32.110960 IP 10.32.0.2.44080 > 10.34.0.100.2020: Flags [S], seq 2803844390, win 65535, options [mss 1336,sackOK,TS val 3636009498 ecr 0,nop,wscale 9], length 0 I dont see the loadbalancer requests at the endpoint container any clues on what I could be missing ? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
Can you please check :
|
Beta Was this translation helpful? Give feedback.
-
thanks. It seems the requests indeed reach the endpoint container. tcpdump at loxilb container sudo ip netns exec loxilb tcpdump port 2020 or port 8080 endpoint container root@diameter-endpoint-s106:/# tcpdump src 10.32.0.2 and port 8080 |
Beta Was this translation helpful? Give feedback.
-
loxicmd get ct is not available in my image. but the counters is increased in get lb output root@ee1a4a14006e:/# loxicmd get lb -o wide
|
Beta Was this translation helpful? Give feedback.
-
thanks adding onearm worked |
Beta Was this translation helpful? Give feedback.
In my opinion, you should create the rule with additional parameter
--mode=onearm
.