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

kubeovn / kube-ovn / 22316478569
23%
master: 24%

Build:
Build:
LAST BUILD BRANCH: fix/chart
DEFAULT BRANCH: master
Ran 23 Feb 2026 05:07PM 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

23 Feb 2026 05:05PM UTC coverage: 23.069% (+0.01%) from 23.057%
22316478569

Pull #6323

github

oilbeater
fix: avoid OVN northd "No path for static route" warning on startup

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>
Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>
Pull Request #6323: fix: avoid OVN northd "No path for static route" warning on startup

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

2 existing lines in 1 file now uncovered.

12533 of 54328 relevant lines covered (23.07%)

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
Jobs
ID Job ID Ran Files Coverage
1 22316478569.1 23 Feb 2026 05:07PM UTC 204
23.07
GitHub Action Run
Source Files on build 22316478569
  • Tree
  • List 204
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #6323
  • PR Base - master (#22313794790)
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