-
Notifications
You must be signed in to change notification settings - Fork 27
Improved test in examples/load-balancer #83
base: master
Are you sure you want to change the base?
Conversation
@nickolaev Is there a way to trig retest? |
I am not aware of any way to trigger tests when you do not have admin rights, except for pushing on the PR. I guess security limitations. |
Ok thanks. Pushing works for me. I will squash all commits when it works anyway. |
There is some problem that I don't see when I run this locally. Access through the load-balances does not work. Access to the application-servers direct (via the bridge-domain) works. The LB seems to be configured correctly and I am currently trouble-shooting access to the application-servers via a gre tunnel, which is the only difference I can find between direct and LB access to the application-servers |
It seems like traffic with gre tunnels does not work in CI environment. I added a test with a gre tunnel without the load-blancer and it fails;
The same test works in my environment. Any ideas why gre traffic wouldn't work? Is it used already in the CI environment so it becomes tunnel-in-tunnel (which normally does not work)? |
Can it be that the icmp-echo goes via gre, i.e has a gre header, but the icmp-echo-reply (pong) has not? Sometimes the network has stateful firewalls in place that does not permit this. |
The tests are running in a kind environment on top of a single host Docker. Meaning that whatever happens is on the same host. I can't tell is there a firewall in the CircleCI environment, but I doubt it can influence this test. |
Can you please rebase it and see how it goes. We are using VPP v3 now. |
Fixes networkservicemesh#82 Signed-off-by: Lars Ekman <[email protected]>
I got a new very weird fault; If the VIP address, e.g 10.2.2.22 is accessed with tcp from the K8s node where the load-balancer NSE process is running then the source address gets mangled. When accessed from another machine everything works! On the K8s node where the load-balancer NSE POD is running;
Tcpdump from within the load-balancer NSE POD;
Same stream on the receiving application-server;
On another machine (external or another K8s node);
|
I squashed the commits. And BTW
|
Tests load-balancing from the NSE-pod.
Fixes #82
The vip address is accessed 30 times and the lb-data is collected and the frequence of targets computed. Example of test printout;
If only one target is found there is no load-balancing and the test fails.