Skip to content

Conversation

@LopatinDmitr
Copy link
Contributor

@LopatinDmitr LopatinDmitr commented Jan 22, 2026

Description

Fix race condition in VM controller that caused incorrect AwaitingRestartToApplyConfiguration condition when VM is rebooted from inside the guest OS.

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

When a VM is rebooted from inside the guest OS (guest-reset), the AwaitingRestartToApplyConfiguration condition was incorrectly set to True with reason RestartAwaitingUnexpectedState.

What is the expected result?

When a VM is rebooted from inside the guest OS, the restart should complete cleanly without setting the AwaitingRestartToApplyConfiguration condition.

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: Prevent a false "Restart Required" condition when a reboot is initiated from within the OS.

…ed reboot

Signed-off-by: Dmitry Lopatin <dmitry.lopatin@flant.com>
@LopatinDmitr LopatinDmitr changed the title fix(vm): prevent false RestartRequired condition during os reboot fix(vm): prevent false RestartRequired condition during reboot into OS Jan 22, 2026
@LopatinDmitr LopatinDmitr changed the title fix(vm): prevent false RestartRequired condition during reboot into OS fix(vm): prevent false RestartRequired condition during reboot inside OS Jan 22, 2026
@LopatinDmitr LopatinDmitr added this to the v1.5.0 milestone Jan 22, 2026
@LopatinDmitr LopatinDmitr changed the title fix(vm): prevent false RestartRequired condition during reboot inside OS fix(vm): prevent False 'Restart Required' When OS Reboots Jan 22, 2026
@LopatinDmitr LopatinDmitr changed the title fix(vm): prevent False 'Restart Required' When OS Reboots fix(vm): prevent False 'Restart Required' when OS Reboots Jan 22, 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.

2 participants