You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "Bart-vanDongen (via GitHub)" <gi...@apache.org> on 2024/08/27 10:35:31 UTC

[I] VM State Not Updating in CloudStack After Shutdown on KVM Hypervisor in Version 4.19.1.1 [cloudstack]

Bart-vanDongen opened a new issue, #9593:
URL: https://github.com/apache/cloudstack/issues/9593

   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and main branch are affected too.
   Always add information AFTER these HTML comments, but no need to delete the comments.
   -->
   
   ##### ISSUE TYPE
    * Bug Report
   
   ##### COMPONENT NAME
   ~~~
   KVM / Agent
   ~~~
   
   ##### CLOUDSTACK VERSION
   ~~~
   4.19.1.1
   ~~~
   
   ##### CONFIGURATION
   ~~~
   KVM Hypervisor
   ~~~
   
   ##### OS / ENVIRONMENT
   ~~~
   N/A
   ~~~
   
   ##### SUMMARY
   In Apache CloudStack version 4.19.1.1, the state of a VM does not update in the CloudStack UI when the VM is shut down directly on the KVM hypervisor using `virsh`. The state remains "Running" even after the VM has been shut down. This issue does not occur in version 4.19.0.2, where the VM state is correctly updated.
   
   ##### STEPS TO REPRODUCE
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   1. Start a VM instance using the Apache CloudStack UI.
   2. On the hypervisor, execute `virsh shutdown <instance>` to shut down the VM directly.
   3. Wait a few minutes and check the VM state in the Apache CloudStack UI.
   ~~~
   
   ##### EXPECTED RESULTS
   ~~~
   The VM state in the CloudStack UI should update to "Stopped" after the VM is shut down on the hypervisor.
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   In version 4.19.1.1, the VM state remains "Running" in the CloudStack UI even though the VM has been shut down on the hypervisor.
   ~~~
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] VM State Not Updating in CloudStack After Shutdown on KVM Hypervisor in Version 4.19.1.1 [cloudstack]

Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #9593:
URL: https://github.com/apache/cloudstack/issues/9593#issuecomment-2312162193

   Thanks for opening your first issue here! Be sure to follow the issue template!
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] VM State Not Updating in CloudStack After Shutdown on KVM Hypervisor in Version 4.19.1.1 [cloudstack]

Posted by "Bart-vanDongen (via GitHub)" <gi...@apache.org>.
Bart-vanDongen commented on issue #9593:
URL: https://github.com/apache/cloudstack/issues/9593#issuecomment-2315202612

   I tested in a didn't environment and this was indeed still working. 
   After restarting management servers this issue was resolved on the existing environment.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] VM State Not Updating in CloudStack After Shutdown on KVM Hypervisor in Version 4.19.1.1 [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #9593:
URL: https://github.com/apache/cloudstack/issues/9593#issuecomment-2314566907

   @Bart-vanDongen I just tried a 4.19.1 version to test your scenario, but the VM was marked as stopped quite quickly. It could take about 3 minutes with my settings but it was withing half a minute. In the UI I did have to press refresh to see it but internally there was no delay.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] VM State Not Updating in CloudStack After Shutdown on KVM Hypervisor in Version 4.19.1.1 [cloudstack]

Posted by "Bart-vanDongen (via GitHub)" <gi...@apache.org>.
Bart-vanDongen closed issue #9593: VM State Not Updating in CloudStack After Shutdown on KVM Hypervisor in Version 4.19.1.1
URL: https://github.com/apache/cloudstack/issues/9593


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org