[ https://issues.apache.org/jira/browse/CLOUDSTACK-4894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13800904#comment-13800904 ]
ASF subversion and git services commented on CLOUDSTACK-4894: ------------------------------------------------------------- Commit 2e75e8ced0a9d7c59e39dbfececb50fcc9e13f6a in branch refs/heads/4.2 from [~alena1108] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=2e75e8c ] CLOUDSTACK-4894: DestroyVirtualMachine API - added "expunge" admin-only parameter. When passed as true, the vm gets expunged immediately (false by default to preserve the initial command behavior) > destroyVm API: add support to force expunge the vm immediately > --------------------------------------------------------------- > > Key: CLOUDSTACK-4894 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4894 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server > Affects Versions: 4.2.0 > Reporter: Alena Prokharchyk > Assignee: Alena Prokharchyk > Fix For: 4.2.1 > > > When destroyVM API is called, the vm gets destroyed only in the DB. The > actual expunge is being taken care later on by expunge thread (configured > using expunge.interval and expunge.delay params). As we keep on getting the > requests on adding a support for forceful expunge - when vm is expunged > immediately after the call is made - it would make sense to introduce some > flag to destroyVm command, controlling the behavior. > So destroyVm will get new parameter - expunge (boolean, false by default). > When true is passed as a value, the vm will be expunged right away. -- This message was sent by Atlassian JIRA (v6.1#6144)