Return-Path: X-Original-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DF63DE99F for ; Wed, 16 Jan 2013 21:59:34 +0000 (UTC) Received: (qmail 20015 invoked by uid 500); 16 Jan 2013 21:59:34 -0000 Delivered-To: apmail-incubator-cloudstack-users-archive@incubator.apache.org Received: (qmail 19928 invoked by uid 500); 16 Jan 2013 21:59:34 -0000 Mailing-List: contact cloudstack-users-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-users@incubator.apache.org Delivered-To: mailing list cloudstack-users@incubator.apache.org Received: (qmail 19920 invoked by uid 99); 16 Jan 2013 21:59:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jan 2013 21:59:34 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of stan.ieugen@gmail.com designates 209.85.214.180 as permitted sender) Received: from [209.85.214.180] (HELO mail-ob0-f180.google.com) (209.85.214.180) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jan 2013 21:59:28 +0000 Received: by mail-ob0-f180.google.com with SMTP id wd20so1929596obb.11 for ; Wed, 16 Jan 2013 13:59:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=arucUSx5ftjprJS8lkhkYp23cBXqatpyBjvnsaLZMjw=; b=Y+HcgRa+bHtCTS6j9rP7HYcMERqfJG6aJhYhjIbu+UO74YFjFpVcM01PhLZNn6rFUX jRJHV0Pu9KOkNyZUPmX97//Dm2rdom3MbvocN8xFDKWuGsYokO6bmWpH7qtBwGR53yS1 we/E/S6E1sQoI+u59el5tk37xLcoxxTUlc4pl/HKtsiTR1HoMRCtlVrknQZBfkrU2Ggl 0MWXO9eEKM3t3WeedbXV9VQXFxTKm6wVcl0ceZjOmqDmAn7BwCm/rxnZDCIjdkGdcVYn 3coxB/QgB7+WKMSNVBY7pXGczmCsYtmWTIaKagurizWNxFyBqVVpfWD39z6c7cOGNiNC e+BQ== MIME-Version: 1.0 X-Received: by 10.60.6.227 with SMTP id e3mr2228066oea.66.1358373547849; Wed, 16 Jan 2013 13:59:07 -0800 (PST) Received: by 10.182.102.73 with HTTP; Wed, 16 Jan 2013 13:59:07 -0800 (PST) Date: Wed, 16 Jan 2013 23:59:07 +0200 Message-ID: Subject: force expunge From: Ioan Eugen Stan To: cloudstack-users@incubator.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org 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