• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kubeovn / kube-ovn / 28423571543
27%

Build:
DEFAULT BRANCH: master
Ran 30 Jun 2026 06:01AM UTC
Jobs 1
Files 217
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Jun 2026 05:55AM UTC coverage: 27.138% (+0.1%) from 27.021%
28423571543

push

github

web-flow
fix(daemon): make tproxy work with kube-ovn as secondary CNI (#6850)

* fix(daemon): make tproxy work with kube-ovn as secondary CNI

The tproxy health check probe hardcoded the default provider when
building the OVS iface-id, so pods whose primary network is provided
by a kube-ovn attachment network (e.g. via the multus default-network
annotation) never got their netns resolved and kubelet probes
intercepted by TPROXY were dropped.

Worse, when another CNI provides the primary network, TPROXY iptables
rules were still generated from pod.Status.PodIPs, actively breaking
health checks that would otherwise work.

Match pod.Status.PodIPs against the ip_address annotations to find the
kube-ovn provider that actually owns the pod's primary network:

- no provider matches (kube-ovn is a pure secondary CNI): skip the pod
  so tproxy does not intercept its probes;
- a provider matches: use it to build the OVS iface-id and check its
  logical switch subnet for the custom VPC condition, so probes work
  for attachment networks used as the multus default network.

Also skip pods referencing a deleted subnet instead of failing the
whole tproxy reconciliation.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>

* fix(daemon): use provider-scoped virtualmachine annotation for tproxy iface-id

The controller writes the virtualmachine annotation per provider, so the
default-provider-only key fails to resolve the VM port name when the
primary network provider is not the default one.

Addresses Copilot review feedback on #6850.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>

---------

Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

46 of 57 new or added lines in 3 files covered. (80.7%)

9 existing lines in 3 files now uncovered.

16355 of 60267 relevant lines covered (27.14%)

0.32 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
0.0
0.0% pkg/daemon/tproxy_linux.go
3
0.8
0.0% pkg/daemon/gateway_linux.go

Coverage Regressions

Lines Coverage ∆ File
6
5.41
5.41% pkg/controller/ovn_eip.go
2
75.73
-0.53% pkg/ovs/ovn-nb-logical_router_route.go
1
0.8
0.0% pkg/daemon/gateway_linux.go
Jobs
ID Job ID Ran Files Coverage
1 28423571543.1 30 Jun 2026 06:01AM UTC 217
27.14
GitHub Action Run
Source Files on build 28423571543
  • Tree
  • List 217
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d9e3c732 on github
  • Prev Build on master (#28363599816)
  • Next Build on master (#28434014781)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc