Skip to content

HA VM restart host up is not working as expected #12560

Closed

Description

@chunkyen

problem

When the HA VM restart host up is enabled, it is expected that when an out of band stop of a VM is detected, the VM will be power up again. However this does not happen in cloudstack 4.22

Image

After manually shutting down an HA instance from within the VM, it does not restart automatically.
I only see these events generated again and again. I do remember seeing this work before though.

Image

versions

Cloudstack 4.22 on Alma 8 and Cloudstack Agent on Alma 8 with NFS

The steps to reproduce the bug

  1. Create HA enabled VM
  2. Ensure HA VM restart host up is Enabled
  3. Shutdown the VM from console
  4. Events showd out-of-band shutdown detected
  5. VM does not startup
    ...

What to do about it?

VM should be started when it is shutdown from within the VM when HA VM restart host up is Enabled

Activity

  1. added this to the 4.22.1 milestone on Feb 1, 2026
  2. added theissue type on Feb 1, 2026
  3. kiranchavala commented on Feb 2, 2026

    @kiranchavala
    Member

    Thanks @chunkyen Able to reproduce the issue

    I believe the issue should get resolved with this PR based on the issue

    #12463

    #12411

    cc @DaanHoogland

  4. DaanHoogland commented on Feb 3, 2026

    @DaanHoogland
    Contributor

    I believe the issue should get resolved with this PR based on the issue

    @kiranchavala , you are saying that both this and #12411 can be closed with #12463 merged, are you?

  5. zidz commented on Feb 4, 2026

    @zidz

    This issue is also discussed here: #12528 (comment)

  6. kiranchavala commented on Feb 4, 2026

    @kiranchavala
    Member

    @DaanHoogland

    Yes the VM HA issue is resolved with pr #12463 ,

    Image

    Only pending is the HOST HA related issue

    #7543 (comment)
    #12528 (comment)

  7. modified the milestones: 4.22.1, 4.20.3 on Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions