Skip to content

fix(vm): fix vm pod placement for local disks with hotplug volumes#2363

Open
eofff wants to merge 2 commits into
mainfrom
fix/vd/vm-main-pod-affinity
Open

fix(vm): fix vm pod placement for local disks with hotplug volumes#2363
eofff wants to merge 2 commits into
mainfrom
fix/vd/vm-main-pod-affinity

Conversation

@eofff
Copy link
Copy Markdown
Contributor

@eofff eofff commented May 19, 2026

Description

Fixes VM pod placement for VMs using local disks together with hotplug disks.

Previously, a VM with hotplugable disks could be scheduled or migrated to a node where its local disk was not available. This happened because the virt-launcher pod did not receive the required affinity rules for local disk placement.

This PR ensures that the necessary affinity is properly applied to virt-launcher, so VMs with local disks are placed only on nodes where the required local storage is available.

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

What is the expected result?

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: Fix VM pod placement for local disks with hotplug volumes.

Valeriy Khorunzhin added 2 commits May 19, 2026 08:30
Signed-off-by: Valeriy Khorunzhin <valeriy.khorunzhin@flant.com>
Signed-off-by: Valeriy Khorunzhin <valeriy.khorunzhin@flant.com>
@eofff eofff self-assigned this May 19, 2026
@eofff eofff added this to the v1.9.0 milestone May 19, 2026
@eofff eofff added the e2e/run Run e2e test on cluster of PR author label May 19, 2026
@deckhouse-BOaTswain
Copy link
Copy Markdown
Contributor

deckhouse-BOaTswain commented May 19, 2026

Workflow has started.
Follow the progress here: Workflow Run

The target step completed with status: failure.

@deckhouse-BOaTswain deckhouse-BOaTswain removed the e2e/run Run e2e test on cluster of PR author label May 19, 2026
@deckhouse-BOaTswain
Copy link
Copy Markdown
Contributor

deckhouse-BOaTswain commented May 19, 2026

Workflow has started.
Follow the progress here: Workflow Run

The target step completed with status: failure.

@eofff eofff changed the title fix(vm): vm pod affinitiy fix with sds-local fix(vm): fix vm pod placement for local disks with hotplug volumes May 20, 2026
@eofff eofff requested a review from loktev-d May 20, 2026 08:54
@eofff eofff marked this pull request as ready for review May 20, 2026 08:54
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