Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 14139200BF0 for ; Fri, 30 Dec 2016 07:53:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 12B12160B32; Fri, 30 Dec 2016 06:53:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5DD94160B24 for ; Fri, 30 Dec 2016 07:52:59 +0100 (CET) Received: (qmail 7691 invoked by uid 500); 30 Dec 2016 06:52:58 -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 7682 invoked by uid 500); 30 Dec 2016 06:52:58 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 7679 invoked by uid 99); 30 Dec 2016 06:52:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Dec 2016 06:52:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 5BC552C1F54 for ; Fri, 30 Dec 2016 06:52:58 +0000 (UTC) Date: Fri, 30 Dec 2016 06:52:58 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-9668) disksizeallocated of PrimaryStorage is different from the total size of a volume MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 30 Dec 2016 06:53:00 -0000 [ https://issues.apache.org/jira/browse/CLOUDSTACK-9668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15787058#comment-15787058 ] ASF GitHub Bot commented on CLOUDSTACK-9668: -------------------------------------------- Github user koushik-das commented on the issue: https://github.com/apache/cloudstack/pull/1844 LGTM. Unit tests? > disksizeallocated of PrimaryStorage is different from the total size of a volume > -------------------------------------------------------------------------------- > > Key: CLOUDSTACK-9668 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9668 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Management Server > Affects Versions: 4.9.0 > Reporter: Sudhansu Sahu > Assignee: Sudhansu Sahu > > Disksizeallocated of PrimaryStorage is different from the total size of a volume. > steps to reproduce: > 1. create another primary storage( apart from default) with storage tag (say tag1) > 2. create a disk offering with storage tag as that step1. > 3. create a data disk with above disk offering. > 4. attach the disk to vm. > 5. when capacity checker thread runs it will update the used_capacity. Note down the op_host_capacity details for pool created in step1. > 6. detach the disk and destroy the volume. > 7. when capacity checker thread runs it will not update the used_capacity to 0. -- This message was sent by Atlassian JIRA (v6.3.4#6332)