cloudstack/engine
Vishesh 8b01c0aa62
Update VM's state if powerstate & state are not in sync (#368)
* Update VM's state if powerstate & state are not in sync

* Add unit tests

* some code improvements for instacne / power state check

* Update power state after vm stop confirmation (as power state 'PowerOn' is kept after vm stop and not updated later)

* Reset the power state update counter before migrate, to allow power state sync to proper state / host

* Do not consider transitional states (Starting, Stopping) to check power state sync

* set powerstate to off for all vm types

---------

Co-authored-by: Suresh Kumar Anaparti <suresh.anaparti@shapeblue.com>
2024-02-20 14:44:04 +05:30
..
api api,server,ui: tagged resource limits (#327) 2024-02-07 17:35:15 +05:30
components-api api,server,ui: tagged resource limits (#327) 2024-02-07 17:35:15 +05:30
network Updating pom.xml version numbers for release 4.18.1.0 2023-09-07 08:50:50 +02:00
orchestration Update VM's state if powerstate & state are not in sync (#368) 2024-02-20 14:44:04 +05:30
schema Update VM's state if powerstate & state are not in sync (#368) 2024-02-20 14:44:04 +05:30
service Updating pom.xml version numbers for release 4.18.1.0 2023-09-07 08:50:50 +02:00
storage api,server,ui: tagged resource limits (#327) 2024-02-07 17:35:15 +05:30
userdata Fix build, missing imports 2023-09-28 14:31:24 +05:30
pom.xml Generate cloud-init multipart user data for template append policy (#7643) 2023-09-27 16:50:41 +05:30