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

kubevirt / containerized-data-importer / #6164
50%
main: 50%

Build:
Build:
LAST BUILD BRANCH: add-hpe-xp-hitachi-min-pvc-size
DEFAULT BRANCH: main
Ran 05 Aug 2026 05:29PM UTC
Jobs 1
Files 159
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

05 Aug 2026 05:01PM UTC coverage: 49.8% (+0.009%) from 49.791%
#6164

Pull #4225

travis-ci

mnecas
Avoid PVC writes during scheduler retry to prevent SchedulerError loop

The import controller watches both PVCs and owned pods. When the importer
pod is pending and the scheduler hits a VolumeBinding error, each reconcile
writes PVC annotations, bumping resourceVersion. This fires the PVC watch
causing an immediate re-reconcile (bypassing the 2s RequeueAfter), which
writes again, creating a tight loop at ~10 writes/sec.

The scheduler's VolumeBinding plugin assumes a PVC resourceVersion during
filtering and expects it unchanged at reserve time. The constant writes
make this race unwinnable, so the pod is never scheduled.

Fix: skip PVC writes and RequeueAfter while the pod has PodScheduled=False
with a transient reason (e.g. SchedulerError). Pod/PVC watches resume
reconciliation once scheduling succeeds.

Signed-off-by: Martin Necas <mnecas@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Pull Request #4225: Avoid PVC writes during scheduler retry to prevent SchedulerError loop

13 of 16 new or added lines in 1 file covered. (81.25%)

4 existing lines in 1 file now uncovered.

15151 of 30424 relevant lines covered (49.8%)

0.56 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
71.22
0.32% pkg/controller/import-controller.go

Coverage Regressions

Lines Coverage ∆ File
4
80.3
-0.99% pkg/importer/http-datasource.go
Jobs
ID Job ID Ran Files Coverage
1 #6164.1 05 Aug 2026 05:29PM UTC 159
49.8
Source Files on build #6164
  • Tree
  • List 159
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #4225
  • PR Base - main (#)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc