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

kubeovn / kube-ovn / 22908574771
25%

Build:
DEFAULT BRANCH: master
Ran 10 Mar 2026 02:55PM 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

10 Mar 2026 02:51PM UTC coverage: 23.155% (-0.01%) from 23.169%
22908574771

push

github

web-flow
fix: scope SLR deletion to its own VPC to avoid deleting VIPs across VPCs (#6391)

* fix: scope SLR deletion to its own VPC to avoid deleting VIPs across VPCs

When multiple SwitchLBRules in different VPCs share the same VIP IP,
deleting one SLR would incorrectly delete all LBHCs and VIPs matching
that IP across all VPCs. This fix reads the VPC annotation from the
SLR's service, collects the VPC's LB names, and scopes all LBHC
operations to only affect load balancers belonging to the correct VPC.

Fixes #6390

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>

* fix: address review feedback - VPC annotation fallback, error handling, and e2e fixes

- Read LogicalRouterAnnotation as fallback when VpcAnnotation is not yet
  set by the endpoint_slice controller
- Explicitly handle vpcsLister.Get errors: requeue on transient errors,
  warn and fall back on NotFound
- Skip e2e test for IPv6-only environments (health checks are IPv4-only)
- Fix VIP wait logic to use WaitUntil (tolerates NotFound during polling)
  instead of WaitToBeReady which fails immediately if VIP doesn't exist

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>

* fix: preserve shared LBHCs referenced by other VPCs

When an LBHC is referenced by LBs in multiple VPCs (same VIP IP:port),
only delete it after removing our VPC's reference if no other VPC's LBs
still reference it. This prevents breaking health checks in other VPCs
that share the same LBHC.

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>

---------

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

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

12618 of 54493 relevant lines covered (23.16%)

0.27 hits per line

Uncovered Changes

Lines Coverage ∆ File
49
6.21
-0.49% pkg/controller/switch_lb_rule.go
Jobs
ID Job ID Ran Files Coverage
1 22908574771.1 10 Mar 2026 02:55PM UTC 204
23.16
GitHub Action Run
Source Files on build 22908574771
  • Tree
  • List 204
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 78b2f742 on github
  • Prev Build on master (#22905386412)
  • Next Build on master (#22910547360)
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