cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nik Martin <nik.mar...@nfinausa.com>
Subject Re: force expunge
Date Wed, 16 Jan 2013 22:07:37 GMT
There is a global setting in the CS UI that sets the time for the expunge 
task to run. it runs on a schedule. Set the VM expunge timeout to 60 and 
it will rn once a minute.

Regards,

Nik

Nik Martin
+1.251.243.0043 x1003
Relentless Reliability


On Wed, 16 Jan 2013, Ioan Eugen Stan wrote:

> Hello,
>
> I'm working on the CloudStack driver for Axembrl Provisionr [1] and
> I'm having some issues with expunge. I can't delete a network before
> all VM's that use it are destroyed and expunged. Expunging takes
> forever and the delete network API call is executed before so I end
> not cleaning up ok.
>
> In a live test [2], I'm creating via jclouds API a network, register a
> ssh key and create a VM. Then I destroy them in reverse, but I don't
> wait for the VM to be expunged and this makes impossible the network
> deletion. I'm leaking networks, which is not nice. Instructions to run
> the live tests are here [3]
>
> What is the best strategy in this case? Is there any way that I can
> speed up/force expunging - API call, cloud configuration?
>
> Thanks,
>
> [1] https://github.com/axemblr/axemblr-provisionr/
> [2] https://github.com/ieugen/axemblr-provisionr/blob/run-instance/providers/cloudstack/src/test/java/com/axemblr/provisionr/cloudstack/activities/CreateGatewayLiveTest.java
> [3] end of README: https://github.com/ieugen/axemblr-provisionr
> -- 
> Ioan Eugen Stan / CTO / http://axemblr.com
>

Mime
View raw message