Suggest adding a feature request into Jira to add a 'force expunge' 
argument option to the API and UI elements.

Regards,

Kristoffer Sheather
Cloud Central
Scale Your Data Center In The Cloud 
Phone: 1300 144 007 | Mobile: +61 414 573 130 | Email: 
k...@cloudcentral.com.au
LinkedIn:   | Skype: kristoffer.sheather | Twitter: 
http://twitter.com/kristofferjon 

----------------------------------------
 From: "Ioan Eugen Stan" <stan.ieu...@gmail.com>
Sent: Thursday, January 17, 2013 9:44 AM
To: cloudstack-users@incubator.apache.org, "Nik Martin" 
<nik.mar...@nfinausa.com>
Subject: Re: force expunge

Hello Nick,

Thanks for the quick answer. I was hoping for a miracle :) but I guess
there is no forceExpunge flag that I can set. So the only thing left
to do is wait for the expunge job to finish. I wonder if there are any
plans to implement such a feature.

Cheers,

On Thu, Jan 17, 2013 at 12:07 AM, Nik Martin <nik.mar...@nfinausa.com> 
wrote:
> 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/clo
udstack/src/test/java/com/axemblr/provisionr/cloudstack/activities/CreateGat
ewayLiveTest.java
>> [3] end of README: https://github.com/ieugen/axemblr-provisionr
>> --
>> Ioan Eugen Stan / CTO / http://axemblr.com
>>
>

-- 
Ioan Eugen Stan / CTO / http://axemblr.com

Reply via email to