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 3C061184AA for ; Sun, 6 Dec 2015 18:43:14 +0000 (UTC) Received: (qmail 76276 invoked by uid 500); 6 Dec 2015 18:43:11 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 76244 invoked by uid 500); 6 Dec 2015 18:43:11 -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 76235 invoked by uid 500); 6 Dec 2015 18:43:11 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 76228 invoked by uid 99); 6 Dec 2015 18:43:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Dec 2015 18:43:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E67582C1F57 for ; Sun, 6 Dec 2015 18:43:10 +0000 (UTC) Date: Sun, 6 Dec 2015 18:43:10 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-9101) some issues in resize volume 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-9101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15044022#comment-15044022 ] ASF GitHub Bot commented on CLOUDSTACK-9101: -------------------------------------------- Github user DaanHoogland commented on the pull request: https://github.com/apache/cloudstack/pull/1161#issuecomment-162336211 lgtm, merging > some issues in resize volume > ---------------------------- > > Key: CLOUDSTACK-9101 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9101 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Reporter: Wei Zhou > Assignee: Wei Zhou > > I found some issues in the testing of resizeVolume > (1) it is not implemented on UI > (2) volume size is not updated even if the operation succeed > mysql> select volumes.id,volumes.size,disk_offering.disk_size from volumes left join disk_offering on volumes.disk_offering_id=disk_offering.id where volumes.uuid='999b8ad2-3664-44b9-8cf6-985e60a98cc8'; > +------+-------------+-------------+ > | id | size | disk_size | > +------+-------------+-------------+ > | 45 | 85899345920 | 85899345920 | > +------+-------------+-------------+ > | id | size | disk_size | > +------+-------------+-------------+ > | 7530 | 5368709120 | 21474836480 | > +------+-------------+-------------+ > 1 row in set (0.00 sec) > (3) on KVM, the resize on running vm is good > root@KVM015:~# qemu-img info /mnt/f773b66d-fd8c-3576-aa37-e3f0e685b183/e9ddd9b1-57c4-4ad7-b950-7b7f5c5cf2dc > image: /mnt/f773b66d-fd8c-3576-aa37-e3f0e685b183/e9ddd9b1-57c4-4ad7-b950-7b7f5c5cf2dc > file format: qcow2 > virtual size: 41G (44023414784 bytes) > but root volume on stopped vm is not correct > root@KVM015:~# qemu-img info /mnt/1dcbc42c-99bc-3276-9d86-4ad81ef1ad8e/2412a4c0-8271-4e21-a3d1-61b041d209d6 > image: /mnt/1dcbc42c-99bc-3276-9d86-4ad81ef1ad8e/2412a4c0-8271-4e21-a3d1-61b041d209d6 > file format: qcow2 > virtual size: 40G (42949672960 bytes) > (4) resource count of primary_storage is not updated after restorevm, if the root volume has been resized before. -- This message was sent by Atlassian JIRA (v6.3.4#6332)