Skip to content

fix(virt-handler): skip stale hotplug volumes during mount#2422

Merged
danilrwx merged 1 commit into
release-1.8from
v1.6.2-virtualization-fix-hotplug
Jun 1, 2026
Merged

fix(virt-handler): skip stale hotplug volumes during mount#2422
danilrwx merged 1 commit into
release-1.8from
v1.6.2-virtualization-fix-hotplug

Conversation

@danilrwx

@danilrwx danilrwx commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Description

Updates the 3p-kubevirt component reference to the branch that contains the virt-handler hotplug mount fix.

The referenced KubeVirt change makes virt-handler skip stale hotplug VolumeStatus entries that are no longer present in VMI.spec.volumes during the mount phase.

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

When a hotplug disk is removed from a VM, KubeVirt can keep a stale Ready volume status for a disk that is already absent from VMI.spec.volumes. virt-handler then tries to mount this stale volume from an old hp pod path, fails before housekeeping/unmount is executed, and old d8v-hp-* pods remain running.

This update pulls the KubeVirt fix that prevents mount from processing removed hotplug volumes, allowing the normal unmount/status cleanup flow to continue.

What is the expected result?

  1. Remove a hotplug disk from a running VM.
  2. Verify virt-handler does not fail while mounting stale hotplug status entries.
  3. Verify stale hotplug volumes can transition to cleanup and old d8v-hp-* pods are deleted.

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: Fixed duplicate service pods (`d8v-hp-*`) when hot-unplugging disks from VMs.

Signed-off-by: Daniil Antoshin <daniil.antoshin@flant.com>
@universal-itengineer universal-itengineer added this to the v1.8.3 milestone Jun 1, 2026
@danilrwx danilrwx marked this pull request as ready for review June 1, 2026 10:23
@danilrwx danilrwx requested a review from Isteb4k as a code owner June 1, 2026 10:23
@danilrwx danilrwx merged commit 55578dd into release-1.8 Jun 1, 2026
31 of 34 checks passed
@danilrwx danilrwx deleted the v1.6.2-virtualization-fix-hotplug branch June 1, 2026 10:39
This was referenced Jun 2, 2026
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.

3 participants