Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 81E0610074 for ; Tue, 4 Nov 2014 12:25:34 +0000 (UTC) Received: (qmail 39879 invoked by uid 500); 4 Nov 2014 12:25:34 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 39846 invoked by uid 500); 4 Nov 2014 12:25:34 -0000 Mailing-List: contact issues-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 issues@cloudstack.apache.org Received: (qmail 39814 invoked by uid 500); 4 Nov 2014 12:25:34 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 39779 invoked by uid 99); 4 Nov 2014 12:25:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Nov 2014 12:25:34 +0000 Date: Tue, 4 Nov 2014 12:25:34 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-7835) Deleted volumes with null UUID and no removed timestamp in database still appear MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-7835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14196049#comment-14196049 ] ASF subversion and git services commented on CLOUDSTACK-7835: ------------------------------------------------------------- Commit a53d39c1b687df22768613d556637c34354cb96b in cloudstack's branch refs/heads/4.5 from [~sanjay.tripathi] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a53d39c1 ] CLOUDSTACK-7835: Deleted volumes with null UUID and no removed timestamp in database still appear. Also removed CREATING -> DESTROY via DESTROYREQUESTED, which was causing the volume to get stuck in expunging state. > Deleted volumes with null UUID and no removed timestamp in database still appear > -------------------------------------------------------------------------------- > > Key: CLOUDSTACK-7835 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7835 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Volumes > Environment: XS 6.2 > Latest code from 4.5 > Reporter: Sanjay Tripathi > Assignee: Sanjay Tripathi > Fix For: 4.5.0 > > > Occasionally when CS deletes a volume, it does not fully delete it out of the database. > Instead an entry is left behind with a null UUID and no removal timestamp, so the volume appears in the CS UI. However any attempt to view the volume's information will result in an exception. > And since there is no UUID, there is no way I know of to ask CS's API to do anything with them. > mysql> select id,name,uuid,created,attached from volumes where removed is null order by id asc; > id name uuid created attached > 8 vol3 NULL 2014-10-16 23:16:34 2014-10-16 23:17:47 > 11 vol4 NULL 2014-10-17 02:54:44 2014-10-17 02:55:47 > 15 vol6 NULL 2014-10-17 11:09:32 2014-10-17 11:11:23 > 19 vol10 NULL 2014-10-17 14:54:35 2014-10-17 14:56:09 -- This message was sent by Atlassian JIRA (v6.3.4#6332)