Skip to content

chore(vm): more messages about cpu and memory hotplug fails#2406

Open
diafour wants to merge 4 commits into
mainfrom
fix/vm/hotplug-add-more-messages-when-migration-fails
Open

chore(vm): more messages about cpu and memory hotplug fails#2406
diafour wants to merge 4 commits into
mainfrom
fix/vm/hotplug-add-more-messages-when-migration-fails

Conversation

@diafour
Copy link
Copy Markdown
Member

@diafour diafour commented May 26, 2026

Description

  • Do not start live migration to apply cpu or memory changes with hotplug if VM is NonMigratable.
  • Fix sync_kvvm_test: fill PrintableStatus for kvvm as it is required to detect if disruptive changes may be applied.
  • Add test for Upgrade*ChangesToRestart mutators.

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

No need to run live migration if VM is NonMigratable, backoff to RequireRestart.

What is the expected result?

CPU and memory changes are always require restart if VM in NonMigratable.

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: chore
summary: "CPU and memory changes are always require restart if VM in NonMigratable."

@diafour diafour added this to the v1.9.0 milestone May 26, 2026
@diafour diafour requested review from LopatinDmitr and danilrwx May 26, 2026 16:45
@diafour diafour self-assigned this May 26, 2026
Copy link
Copy Markdown
Contributor

@LopatinDmitr LopatinDmitr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add tests for negative cases

diafour added 4 commits May 27, 2026 21:58
- Do not start live migration to apply cpu or memory changes with hotplug if VM is NonMigratable.
- Fix sync_kvvm_test: fill PrintableStatus for kvvm as it is required to detect if disruptive changes may be applied.
- Add test for Upgrade*ChangesToRestart mutators.

Signed-off-by: Ivan Mikheykin <ivan.mikheykin@flant.com>
Signed-off-by: Ivan Mikheykin <ivan.mikheykin@flant.com>
Signed-off-by: Ivan Mikheykin <ivan.mikheykin@flant.com>
…n for NonMigratable VM" test

Signed-off-by: Ivan Mikheykin <ivan.mikheykin@flant.com>
@diafour diafour force-pushed the fix/vm/hotplug-add-more-messages-when-migration-fails branch from 614bda2 to 58b1aed Compare May 27, 2026 18:59
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