[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16038511#comment-16038511
 ] 

ASF subversion and git services commented on CLOUDSTACK-9860:
-------------------------------------------------------------

Commit 8323a175f138137d8eb4a81835054bbc04838901 in cloudstack's branch 
refs/heads/4.9 from [~rohit.ya...@shapeblue.com]
[ https://gitbox.apache.org/repos/asf?p=cloudstack.git;h=8323a17 ]

CLOUDSTACK-9860: Power off VMs when stopVM is called with forced=true

The 'force' option provided with the stopVirtualMachine API command is
often assumed to be a hard shutdown sent to the hypervisor, when in fact
it is for CloudStacks' internal use. CloudStack should be able to send
the 'hard' power-off request to the hosts.

When forced parameter on the stopVM API is true, power off (hard shutdown)
a VM. This uses initial changes from #1635 to pass the forced parameter
to hypervisor plugin via the StopCommand, and fixes force stop (poweroff)
handling for KVM, VMware and XenServer.

Signed-off-by: Rohit Yadav <rohit.ya...@shapeblue.com>


> CloudStack should be able to pass 'hard' shutdown instruction to hosts to 
> force a guest instance shutdown
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-9860
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9860
>             Project: CloudStack
>          Issue Type: Improvement
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Hypervisor Controller, Management Server
>            Reporter: Paul Angus
>            Assignee: Rohit Yadav
>
> The 'force' option provided with the stopVirtualMachine API command is often 
> assumed to be a hard shutdown sent to the hypervisor, when in fact it is for 
> CloudStacks' internal use.
> CloudStack should be able to send the 'hard' power-off request to the hosts.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to