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

kubeovn / kube-ovn / 28423571543 / 1
27%
master: 27%

Build:
DEFAULT BRANCH: master
Ran 30 Jun 2026 06:01AM UTC
Files 217
Run time 12s
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.1

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>

16355 of 60267 relevant lines covered (27.14%)

0.32 hits per line

Source Files on job 28423571543.1
  • Tree
  • List 217
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 28423571543
  • d9e3c732 on github
  • Prev Job for on master (#28363599816.1)
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