meysamfarazmand commented on issue #3749: Calling scaleVirtualMachine fails due to incorrect power state examination. URL: https://github.com/apache/cloudstack/issues/3749#issuecomment-562824812 In cloudstack 4.9.3 there is no issue with scaleVirtualMachine. also an alternate way to scale down a VM is using changeServiceForVirtualMachine api call and it will end up without job failing because it checks VM state by calling getState() function instead of getPowerState(). in addition this bug has been appeared after this commit: [https://github.com/apache/cloudstack/commit/ec66256149989db1dc332e05d37c6dd905514aca#diff-20f8e78483a4fa2314fac998afb116d1](https://github.com/apache/cloudstack/commit/ec66256149989db1dc332e05d37c6dd905514aca#diff-20f8e78483a4fa2314fac998afb116d1)
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
