Skip to content

[Backport release-1.5] fix(kubevirt-instancetypes): drop persistent EFI/TPM to unblock live-migration - #3016

Merged
myasnikovdaniil merged 1 commit into
release-1.5from
backport-3006-to-release-1.5
Jun 23, 2026
Merged

[Backport release-1.5] fix(kubevirt-instancetypes): drop persistent EFI/TPM to unblock live-migration#3016
myasnikovdaniil merged 1 commit into
release-1.5from
backport-3006-to-release-1.5

Conversation

@github-actions

Copy link
Copy Markdown

Description

Backport of #3006 to release-1.5.

…migration

TEMPORARY revert. Restoring persistent EFI/TPM state (4cc60e3) makes
windows.11/2k22/2k25 VMs get a backend-storage PVC that is ReadWriteOnce on the
default StorageClass, which pins the VM to its node and blocks live-migration and
node drains (with evictionStrategy: LiveMigrate this can stall cluster upgrades).
See #3005.

Strip persistent EFI/TPM from the preferences again, but with `yq del` so an
emptied preferredTPM stays `{}` (the v1.8 CRD rejects null) — the bug the original
sed strip caused. Secure Boot and the vTPM stay present, just non-persistent.

Stopgap until vm-state can request an RWX backend (RWX-Block via the upstream
KubeVirt change, or an RWX-Filesystem vmStateStorageClass).

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Andrei Kvapil <andrei.kvapil@aenix.io>
(cherry picked from commit 6ac2601)
@dosubot dosubot Bot added area/virtualization Issues or PRs related to virtualization (kubevirt, cdi, vmi, vm-import) backport Should change be backported on previous release kind/bug Categorizes issue or PR as related to a bug labels Jun 23, 2026
@myasnikovdaniil
myasnikovdaniil merged commit af5b724 into release-1.5 Jun 23, 2026
7 checks passed
@myasnikovdaniil
myasnikovdaniil deleted the backport-3006-to-release-1.5 branch June 23, 2026 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/virtualization Issues or PRs related to virtualization (kubevirt, cdi, vmi, vm-import) backport Should change be backported on previous release kind/bug Categorizes issue or PR as related to a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants