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

kubeovn / kube-ovn / 22338268342
23%

Build:
DEFAULT BRANCH: master
Ran 24 Feb 2026 05:46AM UTC
Jobs 1
Files 204
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

24 Feb 2026 05:41AM UTC coverage: 23.077% (+0.02%) from 23.057%
22338268342

push

github

web-flow
fix: avoid OVN northd "No path for static route" warning on startup (#6323)

During controller startup, default gateway static routes (0.0.0.0/0 and
::/0) were added to the OVN logical router before the join subnet's
Logical Router Port was created, causing OVN northd to warn about
unreachable next hops.

This fix ensures routes are only added after the join subnet's OVN
Logical Switch and LRP exist:

1. Remove addNodeGatewayStaticRoute() call from syncNodeRoutes() which
   runs during init phase before any OVN logical switches are created.

2. Add LogicalSwitchExists check in handleAddOrUpdateVpc() to requeue
   the VPC if the join subnet's logical switch is not yet ready, avoiding
   the race between VPC worker and Subnet worker.

3. Remove redundant addNodeGatewayStaticRoute() call from handleAddNode()
   since handleAddOrUpdateVpc() already manages default route reconciliation
   as part of VPC route diffing. Also remove the now-unused function.

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

0 of 8 new or added lines in 1 file covered. (0.0%)

92 existing lines in 2 files now uncovered.

12539 of 54336 relevant lines covered (23.08%)

0.27 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
8
16.25
-0.11% pkg/controller/vpc.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
16.25
-0.11% pkg/controller/vpc.go
90
0.72
0.72% pkg/controller/init.go
Jobs
ID Job ID Ran Files Coverage
1 22338268342.1 24 Feb 2026 05:46AM UTC 204
23.08
GitHub Action Run
Source Files on build 22338268342
  • Tree
  • List 204
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 53bad7e8 on github
  • Prev Build on master (#22335684021)
  • Next Build on master (#22338892784)
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