mlsorensen commented on PR #7963:
URL: https://github.com/apache/cloudstack/pull/7963#issuecomment-1723721362

   > code seems to do what you describe @mlsorensen . To be double clear; this 
marks VMs as Stopped when they are either stopped from within the client OS, or 
from the host CLI, leaving other functionality as is.
   > This is in addition to the migration events you recently submitted, is it?
   
   It will notify Management Server immediately if VM is stopped within guest 
OS, or in the event of a crash.  As for admin CLI on host, Libvirt events don't 
seem to be able to make a distinction between CloudStack calling it to destroy 
a VM vs admin CLI doing something like a `virsh destroy` or `virsh shutdown` - 
they are both calling the same Libvirt API with the same commands. In order to 
do that, we would probably need to add some sort of tracking to filter 
out/ignore events if we know the CloudStack agent is in the middle of 
processing a shutdown.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to