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 2E60410F06 for ; Wed, 31 Jul 2013 14:53:52 +0000 (UTC) Received: (qmail 64295 invoked by uid 500); 31 Jul 2013 14:53:51 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 64272 invoked by uid 500); 31 Jul 2013 14:53:51 -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 64257 invoked by uid 500); 31 Jul 2013 14:53:51 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 64251 invoked by uid 99); 31 Jul 2013 14:53:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Jul 2013 14:53:51 +0000 Date: Wed, 31 Jul 2013 14:53:51 +0000 (UTC) From: "Saksham Srivastava (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (CLOUDSTACK-3730) physical_size column in template_store_ref shows value as 0 when a template is created from a snapshot 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-3730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Saksham Srivastava reassigned CLOUDSTACK-3730: ---------------------------------------------- Assignee: (was: Saksham Srivastava) > physical_size column in template_store_ref shows value as 0 when a template is created from a snapshot > ------------------------------------------------------------------------------------------------------ > > Key: CLOUDSTACK-3730 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3730 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Template > Affects Versions: 4.2.0 > Environment: Xenserver > Reporter: Saksham Srivastava > Fix For: 4.2.0 > > > Creating a template from a snapshot does not update the physical_size column in template_store_ref, while registering a template does. > mysql> select * from template_store_ref; > id: 11 > store_id: 1 > template_id: 206 > created: 2013-07-23 09:16:42 > last_updated: NULL > job_id: NULL > download_pct: 100 > size: 5368709120 > store_role: Image > physical_size: 0 > download_state: DOWNLOADED > error_str: NULL > local_path: NULL > install_path: template/tmpl/2/206/af01d134-3fde-43b8-b144-a6db1dff6162.vhd > url: NULL > state: Ready > destroyed: 0 > is_copy: 0 > update_count: 2 > ref_cnt: 0 > updated: 2013-07-23 09:20:41 > *************************** 7. row *************************** > id: 12 > store_id: 1 > template_id: 207 > created: 2013-07-23 09:33:31 > last_updated: 2013-07-23 09:38:35 > job_id: 21d1b0df-d2ba-4d17-8f7e-6236af9fd4aa > download_pct: 100 > size: 8589934592 > store_role: Image > physical_size: 1928962560 > download_state: DOWNLOADED > error_str: Install completed successfully at 7/23/13 9:25 AM > local_path: /mnt/SecStorage/6afb4a4d-ac7f-3235-9d7b-f6551c108baf/template/tmpl/2/207/dnld7482648641266117804tmp_ > install_path: template/tmpl/2/207/8922d523-257a-363f-acd9-32d8a413940e.vhd > url: NULL > state: Ready > destroyed: 0 > is_copy: 0 > update_count: 3 > ref_cnt: 0 > updated: 2013-07-23 09:38:35 > 7 rows in set (0.00 sec) > template id 11 is template created from snapshot while 12 is registered from url. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira