<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks, but I am looking for how this is done via API.<div><br></div><div>-George</div><div><br><div><div>On Jul 30, 2012, at 11:11 AM, Pengjun Pan <<a href="mailto:panpengjun@gmail.com">panpengjun@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">I never tried to stop a VM using api. But run a "nova help", it has<br>pause, reboot, resume, etc.<br><br>To bypass nova api, you can use virsh to stop instances. Do a "sudo<br>virsh list --all", it will list all the running instances even if nova<br>cannot see it for some reason. And then you can kill all the "ghost"<br>instances by "sudo virsh shutdown <id>".<br><br>Hope this helps.<br><br>PJ<br><br><br>On Mon, Jul 30, 2012 at 10:50 AM, George Reese<br><<a href="mailto:george.reese@enstratus.com">george.reese@enstratus.com</a>> wrote:<br><blockquote type="cite">I must be missing something, but I can't find any docs on how to suspend or<br>stop a VM via API.<br><br>Any pointers, please? :)<br><br>-George<br><br>--<br>George Reese - Chief Technology Officer, enStratus<br>e: <a href="mailto:george.reese@enstratus.com">george.reese@enstratus.com</a>    Skype: nspollution    t: @GeorgeReese    p:<br>+1.207.956.0217<br>enStratus: Enterprise Cloud Management - @enStratus -<br><a href="http://www.enstratus.com">http://www.enstratus.com</a><br>To schedule a meeting with me: http://tungle.me/GeorgeReese<br><br><br>_______________________________________________<br>Mailing list: https://launchpad.net/~openstack<br>Post to     : openstack@lists.launchpad.net<br>Unsubscribe : https://launchpad.net/~openstack<br>More help   : https://help.launchpad.net/ListHelp<br><br></blockquote></blockquote></div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">--<br>George Reese - Chief Technology Officer, enStratus<br>e: <a href="mailto:george.reese@enstratus.com">george.reese@enstratus.com</a>    Skype: nspollution    t: @GeorgeReese    p: +1.207.956.0217<br>enStratus: Enterprise Cloud Management - @enStratus - <a href="http://www.enstratus.com/">http://www.enstratus.com</a><br>To schedule a meeting with me: <a href="http://tungle.me/GeorgeReese">http://tungle.me/GeorgeReese</a></div></span></span>
</div>
<br></div></body></html>