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

ovn-kubernetes / ovn-kubernetes / 20572617031
54%

Build:
DEFAULT BRANCH: master
Ran 29 Dec 2025 12:41PM UTC
Jobs 1
Files 289
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

29 Dec 2025 10:57AM UTC coverage: 54.254% (-0.01%) from 54.264%
20572617031

push

github

jcaamano
fix(localnet, ipamless): Prevent LSP deletion on sync

When ovnkube-node restarts, it runs syncPodsForUserDefinedNetwork which calls
allocatePodIPs. For IPAM-less localnet networks (switches with no subnets),
IsNonHostSubnetSwitch returns true, causing allocatePodIPs to return empty string.
This prevents the pod from being added to expectedLogicalPorts map, causing
deleteStaleLogicalSwitchPorts to delete the LSP.

This change add an explicit flag at the subnet allocator to denote that
that allocator was created as part of a no host subnet switch, this way
code explicitly diferenciates between localnet ipamless and no host
subnet since both do no have a subnet but no host subnet do not even
have LSPs

Signed-off-by: Enrique Llorente <ellorent@redhat.com>

11 of 13 new or added lines in 2 files covered. (84.62%)

15 existing lines in 4 files now uncovered.

40899 of 75384 relevant lines covered (54.25%)

427.98 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
78.63
-0.22% go-controller/pkg/ovn/base_network_controller_pods.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
78.63
-0.22% go-controller/pkg/ovn/base_network_controller_pods.go
2
60.49
-1.23% go-controller/hybrid-overlay/pkg/controller/node.go
2
56.48
-0.66% go-controller/pkg/ovn/namespace.go
10
75.87
-0.87% go-controller/pkg/ovn/base_network_controller_policy.go
Jobs
ID Job ID Ran Files Coverage
1 20572617031.1 29 Dec 2025 12:41PM UTC 289
54.25
GitHub Action Run
Source Files on build 20572617031
  • Tree
  • List 289
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d1c55f1c on github
  • Prev Build on master (#20447803724)
  • Next Build on master (#20585883083)
  • Delete
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