You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/07/26 22:41:48 UTC

[jira] [Commented] (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.

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-3856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13721188#comment-13721188 ] 

ASF subversion and git services commented on CLOUDSTACK-3856:
-------------------------------------------------------------

Commit 7589ddbe633aa6e0d951482d44008ef583cd3132 in branch refs/heads/4.2 from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=7589ddb ]

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
for zone-wide primary storage.

                
> [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