You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "venkata swamybabu budumuru (JIRA)" <ji...@apache.org> on 2013/07/22 13:58:48 UTC

[jira] [Closed] (CLOUDSTACK-2588) [cloud.vm_templates] All the default templates got the same uuid

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-2588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

venkata swamybabu budumuru closed CLOUDSTACK-2588.
--------------------------------------------------


Agree with Mice. overlooked at the uuids.

Closing the issue.
                
> [cloud.vm_templates] All the default templates got the same uuid
> ----------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2588
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2588
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.2.0
>         Environment: commit # 85d54cd1c088997dd08f0328984bee1a55703636
>            Reporter: venkata swamybabu budumuru
>             Fix For: 4.2.0
>
>         Attachments: logs.tgz, Screen Shot 2013-05-20 at 10.14.28 PM.png
>
>
> Steps to reproduce :
> 1. Have latest CloudStack setup with at least 1 zone up and working
> 2. verify the listtemplatesrespone or vm_templates
> Observations :
> (i) Found that all the default templates (except ISOs) are inserted in the db with the same uuid.
> Here is the snapshot of cloud.vm_templates
> mysql> select * from vm_template where format <> 'ISO';  
> +----+---------------------+---------------------------------------+--------------------------------------+--------+----------+---------+-----+------+-----------------------------------------------------------------------------------+--------+---------------------+---------------------+------------+----------------------------------+---------------------------------------+-----------------+---------------+-------------+----------+-------------+-------------+-------------+-----------------+--------------------+--------------+----------+------------+-------+--------------+---------+---------------------+
> | 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 | image_data_store_id |
> +----+---------------------+---------------------------------------+--------------------------------------+--------+----------+---------+-----+------+-----------------------------------------------------------------------------------+--------+---------------------+---------------------+------------+----------------------------------+---------------------------------------+-----------------+---------------+-------------+----------+-------------+-------------+-------------+-----------------+--------------------+--------------+----------+------------+-------+--------------+---------+---------------------+
> |  1 | routing-1           | SystemVM Template (XenServer)         | 5cc26ae4-c12d-11e2-8a66-069f2c0000aa |      0 |        0 | SYSTEM  |   0 |   64 | http://10.147.28.7/templates/acton/acton-systemvm-02062012.vhd.bz2                | VHD    | 2013-05-20 05:12:14 | NULL                |          1 | f613f38c96bf039f2e5cbf92fa8ad4f8 | SystemVM Template (XenServer)         |               0 |             0 |         133 |        1 |           0 |           1 |           0 | XenServer       |               NULL | NULL         |        0 |       NULL | NULL  |         NULL | NULL    |                   1 |
> |  2 | centos53-x86_64     | CentOS 5.3(64-bit) no GUI (XenServer) | 5cc30648-c12d-11e2-8a66-069f2c0000aa |      1 |        1 | BUILTIN |   0 |   64 | http://10.147.28.7/templates/builtin/f59f18fb-ae94-4f97-afd2-f84755767aca.vhd.bz2 | VHD    | 2013-05-20 05:12:14 | 2013-05-20 05:12:14 |          1 | b63d854a9560c013142567bbae8d98cf | CentOS 5.3(64-bit) no GUI (XenServer) |               0 |             0 |          12 |        1 |           0 |           1 |           1 | XenServer       |               NULL | NULL         |        0 |       NULL | NULL  |         NULL | NULL    |                   1 |
> |  3 | routing-3           | SystemVM Template (KVM)               | 5cc38df2-c12d-11e2-8a66-069f2c0000aa |      0 |        0 | SYSTEM  |   0 |   64 | http://10.147.28.7/templates/acton/acton-systemvm-02062012.qcow2.bz2              | QCOW2  | 2013-05-20 05:12:14 | NULL                |          1 | 2755de1f9ef2ce4d6f2bee2efbb4da92 | SystemVM Template (KVM)               |               0 |             0 |          15 |        1 |           0 |           1 |           0 | KVM             |               NULL | NULL         |        0 |       NULL | NULL  |         NULL | NULL    |                   1 |
> |  4 | centos55-x86_64     | CentOS 5.5(64-bit) no GUI (KVM)       | 5cc411d2-c12d-11e2-8a66-069f2c0000aa |      1 |        1 | BUILTIN |   0 |   64 | http://10.147.28.7/releases/2.2.0/eec2209b-9875-3c8d-92be-c001bd8a0faf.qcow2.bz2  | QCOW2  | 2013-05-20 05:12:14 | NULL                |          1 | ed0e788280ff2912ea40f7f91ca7a249 | CentOS 5.5(64-bit) no GUI (KVM)       |               0 |             0 |         112 |        1 |           0 |           1 |           1 | KVM             |               NULL | NULL         |        0 | 1769537536 | NULL  |         NULL | NULL    |                   1 |
> |  5 | centos56-x86_64-xen | CentOS 5.6(64-bit) no GUI (XenServer) | 5cc48928-c12d-11e2-8a66-069f2c0000aa |      1 |        1 | BUILTIN |   0 |   64 | http://10.147.28.7/templates/builtin/centos56-x86_64.vhd.bz2                      | VHD    | 2013-05-20 05:12:14 | NULL                |          1 | 905cec879afd9c9d22ecc8036131a180 | CentOS 5.6(64-bit) no GUI (XenServer) |               0 |             0 |          12 |        1 |           0 |           1 |           1 | XenServer       |               NULL | NULL         |        0 | 1758786048 | NULL  |         NULL | NULL    |                   1 |
> |  7 | centos53-x64        | CentOS 5.3(64-bit) no GUI (vSphere)   | 5cc4feee-c12d-11e2-8a66-069f2c0000aa |      1 |        1 | BUILTIN |   0 |   64 | http://10.147.28.7/releases/2.2.0/CentOS5.3-x86_64.ova                            | OVA    | 2013-05-20 05:12:14 | NULL                |          1 | f6f881b7f2292948d8494db837fe0f47 | CentOS 5.3(64-bit) no GUI (vSphere)   |               0 |             0 |          12 |        1 |           0 |           1 |           1 | VMware          |               NULL | NULL         |        0 |  459320832 | NULL  |         NULL | NULL    |                   1 |
> |  8 | routing-8           | SystemVM Template (vSphere)           | 5cc5754a-c12d-11e2-8a66-069f2c0000aa |      0 |        0 | SYSTEM  |   0 |   32 | http://10.147.28.7/templates/burbank/burbank-systemvm-08012012.ova                | OVA    | 2013-05-20 05:12:14 | NULL                |          1 | 7137e453f950079ea2ba6feaafd939e8 | SystemVM Template (vSphere)           |               0 |             0 |          15 |        1 |           0 |           1 |           0 | VMware          |               NULL | NULL         |        0 |       NULL | NULL  |         NULL | NULL    |                   1 |
> |  9 | routing-9           | SystemVM Template (HyperV)            | 5cc5fc2c-c12d-11e2-8a66-069f2c0000aa |      0 |        0 | SYSTEM  |   0 |   32 | http://10.147.28.7/templates/acton/acton-systemvm-02062012.vhd.bz2                | VHD    | 2013-05-20 05:12:14 | NULL                |          1 | f613f38c96bf039f2e5cbf92fa8ad4f8 | SystemVM Template (HyperV)            |               0 |             0 |          15 |        1 |           0 |           1 |           0 | Hyperv          |               NULL | NULL         |        0 |       NULL | NULL  |         NULL | NULL    |                   1 |
> | 10 | routing-10          | SystemVM Template (LXC)               | NULL                                 |      0 |        0 | SYSTEM  |   0 |   64 | http://download.cloud.com/templates/acton/acton-systemvm-02062012.qcow2.bz2       | QCOW2  | 2013-05-20 05:13:36 | NULL                |          1 | 2755de1f9ef2ce4d6f2bee2efbb4da92 | SystemVM Template (LXC)               |               0 |             0 |          15 |        1 |           0 |           1 |           0 | LXC             |               NULL | NULL         |        0 |       NULL | NULL  |         NULL | NULL    |                   1 |
> Attaching the screenshot of the listtempates response, logs and db dump to the bug.

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