ovn-org / ovn-kubernetes

A robust Kubernetes networking platform
https://ovn-kubernetes.io/
Apache License 2.0
767 stars 333 forks source link

User defined network segmentation l3/l2 foundation: pod2pod #4434

Closed tssurya closed 3 days ago

tssurya commented 2 weeks ago

What this PR does and why is it needed

Which issue(s) this PR fixes

Fixes #

Special notes for reviewers

How to verify it

Details to documentation updates

Description for the changelog

Does this PR introduce a user-facing change?

coveralls commented 2 weeks ago

Coverage Status

coverage: 52.68% (-0.05%) from 52.729% when pulling e7099968b01774b54c3b25df85971a590ac18b7f on tssurya:user-defined-network-segmentation-l3-foundation into 17dce5cc7a56cf9cb082b6ba44e8f69809b8763a on ovn-org:master.

coveralls commented 2 weeks ago

Coverage Status

coverage: 52.692% (-0.04%) from 52.729% when pulling 05d3dde9de08c43e1d48de313cb5a2a7c5a44967 on tssurya:user-defined-network-segmentation-l3-foundation into 17dce5cc7a56cf9cb082b6ba44e8f69809b8763a on ovn-org:master.

tssurya commented 1 week ago
2024-06-17T19:22:08.7857533Z ------------------------------
2024-06-17T19:22:08.7858093Z Gateway unit tests getGatewayNextHops In Local GW mode 
2024-06-17T19:22:08.7858917Z   Finds correct gateway interface and nexthops when dummy gateway bridge is created
2024-06-17T19:22:08.7860335Z   /home/runner/work/ovn-kubernetes/ovn-kubernetes/go-controller/pkg/testing/testing.go:18
2024-06-17T19:22:08.7862131Z W0617 19:22:08.785907   28538 exec.go:265] Unexpected command: /fake-bin/ovs-vsctl --timeout=15 port-to-br br-ex
2024-06-17T19:22:08.7863394Z 
2024-06-17T19:22:08.7863682Z Executed commands do not match expected commands!
2024-06-17T19:22:08.7864563Z Executed unexpected command /fake-bin/ovs-vsctl --timeout=15 port-to-br br-ex
2024-06-17T19:22:08.7864963Z 
2024-06-17T19:22:08.7865200Z [00] ! /fake-bin/ovs-vsctl --timeout=15 port-to-br enf1f0
2024-06-17T19:22:08.7865607Z goroutine 53 [running]:
2024-06-17T19:22:08.7865878Z runtime/debug.Stack()
2024-06-17T19:22:08.7866382Z    /opt/hostedtoolcache/go/1.21.11/x64/src/runtime/debug/stack.go:24 +0x67
2024-06-17T19:22:08.7867143Z runtime/debug.PrintStack()
2024-06-17T19:22:08.7867632Z    /opt/hostedtoolcache/go/1.21.11/x64/src/runtime/debug/stack.go:16 +0x1d
2024-06-17T19:22:08.7868701Z github.com/ovn-org/ovn-kubernetes/go-controller/pkg/testing.(*FakeExec).Command(0xc0003cb6e0, {0xc000058960, 0x13}, {0xc0004d8b70, 0x3, 0x3})
2024-06-17T19:22:08.7869827Z    /home/runner/work/ovn-kubernetes/ovn-kubernetes/go-controller/pkg/testing/exec.go:266 +0xdac
2024-06-17T19:22:08.7870807Z github.com/ovn-org/ovn-kubernetes/go-controller/pkg/util.run({0xc000058960, 0x13}, {0xc0004d8b70, 0x3, 0x3})
2024-06-17T19:22:08.7871789Z    /home/runner/work/ovn-kubernetes/ovn-kubernetes/go-controller/pkg/util/ovs.go:299 +0xb1
2024-06-17T19:22:08.7872723Z github.com/ovn-org/ovn-kubernetes/go-controller/pkg/util.RunOVSVsctl({0xc000652da8, 0x2, 0xc000652cd8?})
2024-06-17T19:22:08.7873842Z    /home/runner/work/ovn-kubernetes/ovn-kubernetes/go-controller/pkg/util/ovs.go:318 +0x1bf
2024-06-17T19:22:08.7875092Z github.com/ovn-org/ovn-kubernetes/go-controller/pkg/node.getGatewayNextHops()
2024-06-17T19:22:08.7876684Z    /home/runner/work/ovn-kubernetes/ovn-kubernetes/go-controller/pkg/node/gateway_init.go:168 +0xb7b
2024-06-17T19:22:08.7877743Z github.com/ovn-org/ovn-kubernetes/go-controller/pkg/node.glob..func6.6.5.1()
2024-06-17T19:22:08.7878683Z    /home/runner/work/ovn-kubernetes/ovn-kubernetes/go-controller/pkg/node/gateway_init_linux_test.go:1828 +0xdd7
2024-06-17T19:22:08.7879523Z github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc000177800)
2024-06-17T19:22:08.7880685Z    /home/runner/work/ovn-kubernetes/ovn-kubernetes/go-controller/vendor/github.com/onsi/ginkgo/internal/leafnodes/runner.go:113 +0x12b
2024-06-17T19:22:08.7882318Z github.com/onsi/ginkgo/internal/leafnodes.(*runner).run(0xc000177800)
2024-06-17T19:22:08.7884182Z    /home/runner/work/ovn-kubernetes/ovn-kubernetes/go-controller/vendor/github.com/onsi/ginkgo/internal/leafnodes/runner.go:64 +0x138
2024-06-17T19:22:08.7885437Z github.com/onsi/ginkgo/internal/leafnodes.(*ItNode).Run(0xc000120180)
2024-06-17T19:22:08.7886518Z    /home/runner/work/ovn-kubernetes/ovn-kubernetes/go-controller/vendor/github.com/onsi/ginkgo/internal/leafnodes/it_node.go:26 +0x95
2024-06-17T19:22:08.7887909Z github.com/onsi/ginkgo/internal/spec.(*Spec).runSample(0xc000448ff0, 0x54?, {0x38c25c0?, 0xc000352440})

ERR ...

tssurya commented 1 week ago

https://github.com/ovn-org/ovn-kubernetes/pull/4462 will superceed this, keeping this PR in draft mode. Will close eventually.