Skip to content

fix(core): report active vm migration progress#2190

Merged
danilrwx merged 1 commit into
mainfrom
fix/vm/migrate-pending-phase
Apr 10, 2026
Merged

fix(core): report active vm migration progress#2190
danilrwx merged 1 commit into
mainfrom
fix/vm/migrate-pending-phase

Conversation

@danilrwx
Copy link
Copy Markdown
Contributor

@danilrwx danilrwx commented Apr 7, 2026

Description

Update migration progress semantics in images/virtualization-artifact so VM-facing status reflects that migration is already underway once target scheduling/preparation has started.

The change updates migration condition messages and adds tests for active-progress states in VM and VMOP controllers.

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

During live migration, the target pod can already be created or scheduled and target preparation can already be running, while the user still sees a pending/awaiting-start style status.

This is misleading because the migration workflow has already started. The PR makes these intermediate states look like active progress instead of waiting.

What is the expected result?

  1. Start a VM migration.
  2. When migration enters target scheduling / target preparation stages, observe VM migration status.
  3. Verify that the message reports active progress instead of "awaiting start" or similar pending wording.
  4. Verify unit tests cover the updated semantics.

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: core
type: fix
summary: "Improve VM migration progress reporting while target scheduling and preparation are already in progress."
impact_level: low

@danilrwx danilrwx added this to the v1.8.0 milestone Apr 7, 2026
@danilrwx danilrwx changed the title task(vm-migration): update migration progress semantics fim(vm-migration): update migration progress semantics Apr 7, 2026
@danilrwx danilrwx changed the title fim(vm-migration): update migration progress semantics fix(vm-migration): update migration progress semantics Apr 7, 2026
Signed-off-by: Daniil Antoshin <daniil.antoshin@flant.com>
@danilrwx danilrwx force-pushed the fix/vm/migrate-pending-phase branch from de306a3 to 4dc6783 Compare April 7, 2026 15:13
@danilrwx danilrwx changed the title fix(vm-migration): update migration progress semantics fix(core): report active vm migration progress Apr 7, 2026
@danilrwx danilrwx marked this pull request as ready for review April 9, 2026 07:15
@danilrwx danilrwx requested a review from LopatinDmitr April 9, 2026 15:05
@danilrwx danilrwx merged commit 1d89f59 into main Apr 10, 2026
30 of 32 checks passed
@danilrwx danilrwx deleted the fix/vm/migrate-pending-phase branch April 10, 2026 08:03
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