Skip to content

fix(vm): create pvc disk.img for hotplug volumes on migration target#2367

Merged
yaroslavborbat merged 1 commit into
mainfrom
fix/vm/migration-target-hotplug-pvc-diskimg-creation
May 20, 2026
Merged

fix(vm): create pvc disk.img for hotplug volumes on migration target#2367
yaroslavborbat merged 1 commit into
mainfrom
fix/vm/migration-target-hotplug-pvc-diskimg-creation

Conversation

@yaroslavborbat
Copy link
Copy Markdown
Member

@yaroslavborbat yaroslavborbat commented May 19, 2026

Description

Bump KubeVirt version in Deckhouse Virtualization to include our upstream fork fix for migration target hotplug volume handling.

The fix enables disk.img creation for filesystem hotplug PVCs on migration target before mount.

Why do we need it, and what problem does it solve?

Live migration of VMs with filesystem hotplug PVCs could fail on target with:
.../disk.img: no such file or directory.

Reason: migration target path did not create disk.img when needed.

After this bump, migration target uses the fixed behavior and migration succeeds for this case.

What is the expected result?

  1. Deploy virtualization with updated KubeVirt.
  2. Run a VM with filesystem hotplug RWO PVC.
  3. Start live migration.
  4. Confirm migration succeeds and no disk.img mount errors appear in target virt-handler logs.

Checklist

  • The code is covered by unit tests.
  • e2e tests passed.
  • Documentation updated according to the changes.
  • Changes were tested in the Kubernetes cluster manually.

Changelog entries

section: vm
type: fix
summary: "Bump KubeVirt with fix for `disk.img` creation on migration target for filesystem hotplug PVCs."

@yaroslavborbat yaroslavborbat added this to the v1.9.0 milestone May 19, 2026
@yaroslavborbat yaroslavborbat marked this pull request as ready for review May 19, 2026 13:32
@yaroslavborbat yaroslavborbat requested a review from Isteb4k as a code owner May 19, 2026 13:32
@yaroslavborbat yaroslavborbat force-pushed the fix/vm/migration-target-hotplug-pvc-diskimg-creation branch from e3934a7 to 66878da Compare May 20, 2026 07:59
Signed-off-by: Yaroslav Borbat <yaroslav.borbat@flant.com>
@yaroslavborbat yaroslavborbat force-pushed the fix/vm/migration-target-hotplug-pvc-diskimg-creation branch from 66878da to 1469c46 Compare May 20, 2026 10:03
@yaroslavborbat yaroslavborbat merged commit e289e37 into main May 20, 2026
27 of 28 checks passed
@yaroslavborbat yaroslavborbat deleted the fix/vm/migration-target-hotplug-pvc-diskimg-creation branch May 20, 2026 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants