Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BFCF917CE6 for ; Wed, 18 Mar 2015 19:53:15 +0000 (UTC) Received: (qmail 59955 invoked by uid 500); 18 Mar 2015 19:53:15 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 59902 invoked by uid 500); 18 Mar 2015 19:53:15 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 59889 invoked by uid 99); 18 Mar 2015 19:53:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Mar 2015 19:53:15 +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 (athena.apache.org: domain of ilya.mailing.lists@gmail.com designates 209.85.192.169 as permitted sender) Received: from [209.85.192.169] (HELO mail-pd0-f169.google.com) (209.85.192.169) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Mar 2015 19:53:05 +0000 Received: by pdbni2 with SMTP id ni2so52410780pdb.1 for ; Wed, 18 Mar 2015 12:52:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=IRybInHiU4b5WXQ3ZmRQKfIkDp1JqmUzkIFZbqeRzog=; b=utqhshClHXzv9KlptnRFgB1VgzaunzYIvgUWnKq131grgHJeoWcL7u5c/vzAdMyDH+ JR+nz2eXfjlT7BSP6rLCHLTVgZiLYiL4StCe1hE/Wxvr4/FkmIO0c9vNiu6h+0PPbW5C oNYMrEBbFfSbZepGPwnCd924fUSvaFRtPXqZ7RPac/ebN5PHCqwaCf1ahvQHrjB0r+0H gTJMZhxMrKGkICbUnAgOCyarXcaDPK33yWboh98T4jY8CBc13MyNcWG3g4uFCL63tgy7 lnjwPB5SQpQgYs5/Ad2yJIU4NP4vf1sDrMhwI9kYkfpobU1bPHpQRl0Um3rwv4+fZ1jc 2sdA== X-Received: by 10.70.89.8 with SMTP id bk8mr126955998pdb.139.1426708365418; Wed, 18 Mar 2015 12:52:45 -0700 (PDT) Received: from [0.0.0.0] (dev1.cloudsand.com. [162.243.147.22]) by mx.google.com with ESMTPSA id y14sm15378588pdl.3.2015.03.18.12.52.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Mar 2015 12:52:44 -0700 (PDT) Message-ID: <5509D789.7000306@gmail.com> Date: Wed, 18 Mar 2015 12:52:41 -0700 From: ilya User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: dev@cloudstack.apache.org Subject: Re: BUG: anybody addressing this one ? References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org It looks like we have 2 issues here. 1) you are seeing volumes you should not see 2) volume purging is not implemented There are several solution to #2 1) I've written a shell script that deletes all volumes that are in detached state for over X number of days. I'll see if i can share the script. This could be temporary solution run as cronjob periodically. 2) Marcus has written an API extension call that will delete the VM with volumes, slightly different API call needs to be invoked, something like destroyVmWithVolumes, the volumes will be expunged at the same time as VM. Its not part of the cloudstack UI, but could be integrated - hoping someone with UI experience can do that. The code will be committed upstream hopefully soon, there is some internal delay for releasing that, but we will work this through. On 3/18/15 4:58 AM, Andrija Panic wrote: > Hi, > > https://issues.apache.org/jira/browse/CLOUDSTACK-7926 > > Currently I have hit a bug, when I click on some instance, then on View > Volumes, and then I get listed volumes that belong to some other VM - it > already happened to me that I deleted the volumes - beacuse of ACS bug in > GUI ! > > So, I suggest to consider maybe to implement purging volumes the same way > it is implemented with VM-s - so the VM is not really deleted - and the > purge thread in ACS will acually delete it when it runs... >