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 A79391092E for ; Fri, 9 Aug 2013 09:24:51 +0000 (UTC) Received: (qmail 18194 invoked by uid 500); 9 Aug 2013 09:24:51 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 18169 invoked by uid 500); 9 Aug 2013 09:24: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 18161 invoked by uid 500); 9 Aug 2013 09:24:50 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 18009 invoked by uid 99); 9 Aug 2013 09:24:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Aug 2013 09:24:49 +0000 Date: Fri, 9 Aug 2013 09:24:49 +0000 (UTC) From: "Abhinav Roy (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (CLOUDSTACK-3856) [ZWPS] Template downloaded from ROOT volume is not seen in the UI because of failure to get hypervisor_type for the ROOT 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-3856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Roy closed CLOUDSTACK-3856. ----------------------------------- working fine now > [ZWPS] Template downloaded from ROOT volume is not seen in the UI because of failure to get hypervisor_type for the ROOT volume. > -------------------------------------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-3856 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3856 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Storage Controller > Affects Versions: 4.2.0 > Reporter: Abhinav Roy > Assignee: Min Chen > Priority: Critical > Fix For: 4.2.0 > > Attachments: CS3856.jpg, DB_dumpCS3856.sql, management-server.log > > > Steps to Reproduce: > ================ > 1.Bringup CS in advanced zone with vmware cluster > 2.Deploy guest vm with default cent of template > 3. Stop the VM > 4.Create template from the ROOT volume of the VM > Expected Result: > ============== > Template should be created and displayed in the UI > Actual Result: > =========== > Template creation initially fails with https://issues.apache.org/jira/browse/CLOUDSTACK-3854 , passes after workaround. > But after template is created it is not displayed in the UI even though it has its entry in the DB. > mysql> SELECT * FROM cloud.vm_template where id=205; > +-----+---------------------------------------+-----------------+--------------------------------------+--------+----------+------+-----+------+------+--------+---------------------+---------+------------+----------+-----------------+-----------------+---------------+-------------+----------+-------------+-------------+-------------+-----------------+--------------------+--------------+----------+------------+-------+--------------+---------+----------------------+ > | id | unique_name | name | uuid | public | featured | type | hvm | bits | url | format | created | removed | account_id | checksum | display_text | enable_password | enable_sshkey | guest_os_id | bootable | prepopulate | cross_zones | extractable | hypervisor_type | source_template_id | template_tag | sort_key | size | state | update_count | updated | dynamically_scalable | > +-----+---------------------------------------+-----------------+--------------------------------------+--------+----------+------+-----+------+------+--------+---------------------+---------+------------+----------+-----------------+-----------------+---------------+-------------+----------+-------------+-------------+-------------+-----------------+--------------------+--------------+----------+------------+-------+--------------+---------+----------------------+ > | 205 | 4b3739f37-9d0f-3b5a-ab38-19fae53b734e | rootdisk-temp-7 | 4e6953a9-8925-45ae-bf9f-c195efe7153c | 0 | 1 | USER | 1 | 64 | NULL | OVA | 2013-07-26 11:20:10 | NULL | 4 | NULL | rootdisk-temp-7 | 0 | 0 | 12 | 1 | 0 | 0 | 1 | None | 203 | NULL | 0 | 2147483648 | NULL | 0 | NULL | 0 | > +-----+---------------------------------------+-----------------+--------------------------------------+--------+----------+------+-----+------+------+--------+---------------------+---------+------------+----------+-----------------+-----------------+---------------+-------------+----------+-------------+-------------+-------------+-----------------+--------------------+--------------+----------+------------+-------+--------------+---------+----------------------+ > 1 row in set (0.00 sec) > mysql> SELECT * FROM cloud.template_store_ref where template_id=205; > +----+----------+-------------+---------------------+---------------------+--------+--------------+------------+------------+---------------+----------------+-----------+------------+---------------------------------------------------------------+------+-------+-----------+---------+--------------+---------+---------------------+ > | id | store_id | template_id | created | last_updated | job_id | download_pct | size | store_role | physical_size | download_state | error_str | local_path | install_path | url | state | destroyed | is_copy | update_count | ref_cnt | updated | > +----+----------+-------------+---------------------+---------------------+--------+--------------+------------+------------+---------------+----------------+-----------+------------+---------------------------------------------------------------+------+-------+-----------+---------+--------------+---------+---------------------+ > | 10 | 1 | 205 | 2013-07-26 11:20:11 | 2013-07-26 12:29:05 | NULL | 100 | 2147483648 | Image | 458977280 | DOWNLOADED | NULL | NULL | template/tmpl/4/205/4b3739f37-9d0f-3b5a-ab38-19fae53b734e.ova | NULL | Ready | 0 | 0 | 2 | 0 | 2013-07-26 11:24:22 | > +----+----------+-------------+---------------------+---------------------+--------+--------------+------------+------------+---------------+----------------+-----------+------------+---------------------------------------------------------------+------+-------+-----------+---------+--------------+---------+---------------------+ > 1 row in set (0.00 sec) > mysql> SELECT * FROM cloud.template_zone_ref where template_id=205; > +----+---------+-------------+---------------------+---------------------+---------+ > | id | zone_id | template_id | created | last_updated | removed | > +----+---------+-------------+---------------------+---------------------+---------+ > | 12 | 1 | 205 | 2013-07-26 11:24:22 | 2013-07-26 11:24:22 | NULL | > +----+---------+-------------+---------------------+---------------------+---------+ > 1 row in set (0.00 sec) -- 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