[
https://issues.apache.org/jira/browse/CLOUDSTACK-7215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14084373#comment-14084373
]
ASF subversion and git services commented on CLOUDSTACK-7215:
-------------------------------------------------------------
Commit c32b19a07d0eaa6dc0195ecf1aa9b952a91dc997 in cloudstack's branch
refs/heads/master from [~gauravaradhye]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=c32b19a ]
CLOUDSTACK-7215: Make expunge=True as default parameter value while calling
destroyVirtualMachine through base library
Signed-off-by: Santhosh Edukulla <[email protected]>
> [Automation] Make expunge=True as default parameter value for
> destroyVirtualMachine api call through base library
> -----------------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-7215
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7215
> Project: CloudStack
> Issue Type: Improvement
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Automation
> Affects Versions: 4.5.0
> Reporter: Gaurav Aradhye
> Assignee: Gaurav Aradhye
> Labels: automation
> Fix For: 4.5.0
>
>
> In almost 90% of the scenarios where VMs are created through test case, VMs
> are added to cleanup list and the delete method is called for them through
> cleanup_resources method in utils.py file.
> These VMs remain in destroyed state for long time and keep blocking the
> resources (IP Address etc) and hence the load on the setup on which
> regression build is fired increases.
> Making expunge=True as default parameter in destroyVirtualMachine api call
> through base library will make all these VMs expunge quickly making resources
> available for next test cases.
> Also, it can be passed as False whenever we don't want VM to expunge
> immediately, and in case when we recover the VM through test case after
> destroying it. Pass expunge=False for all such scenarios.
> This will hugely boost the test cases execution speed too.
--
This message was sent by Atlassian JIRA
(v6.2#6252)