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

prashant kumar mishra updated CLOUDSTACK-5718:
----------------------------------------------

    Description: 
guest os id should be id of CentOS5.6 ID

mysql> select *  from vm_template where id=5\G;
*************************** 1. row ***************************
                  id: 5
         unique_name: centos56-x86_64-xen
                name: CentOS 5.6(64-bit) no GUI (XenServer)
                uuid: 2879fdde-7306-11e3-8e46-067fae000058
              public: 1
            featured: 1
                type: BUILTIN
                 hvm: 0
                bits: 64
                 url: 
http://download.cloud.com/templates/builtin/centos56-x86_64.vhd.bz2
              format: VHD
             created: 2014-01-01 12:00:03
             removed: NULL
          account_id: 1
            checksum: 905cec879afd9c9d22ecc8036131a180
        display_text: CentOS 5.6(64-bit) no GUI (XenServer)
     enable_password: 0
       enable_sshkey: 0
         guest_os_id: 12
            bootable: 1
         prepopulate: 0
         cross_zones: 1
         extractable: 1
     hypervisor_type: XenServer
  source_template_id: NULL
        template_tag: NULL
            sort_key: 0
                size: 21474836480
               state: Active
        update_count: 0
             updated: NULL
dynamically_scalable: 1
1 row in set (0.00 sec)

ERROR:
No query specified

mysql> select * from guest_os where id=12;
+----+-------------+------+--------------------------------------+---------------------+
| id | category_id | name | uuid                                 | display_name 
       |
+----+-------------+------+--------------------------------------+---------------------+
| 12 |           1 | NULL | 289896a4-7306-11e3-8e46-067fae000058 | CentOS 5.3 
(64-bit) |
+----+-------------+------+--------------------------------------+---------------------+
1 row in set (0.00 sec)


  was:
mysql> select *  from vm_template where id=5\G;
*************************** 1. row ***************************
                  id: 5
         unique_name: centos56-x86_64-xen
                name: CentOS 5.6(64-bit) no GUI (XenServer)
                uuid: 2879fdde-7306-11e3-8e46-067fae000058
              public: 1
            featured: 1
                type: BUILTIN
                 hvm: 0
                bits: 64
                 url: 
http://download.cloud.com/templates/builtin/centos56-x86_64.vhd.bz2
              format: VHD
             created: 2014-01-01 12:00:03
             removed: NULL
          account_id: 1
            checksum: 905cec879afd9c9d22ecc8036131a180
        display_text: CentOS 5.6(64-bit) no GUI (XenServer)
     enable_password: 0
       enable_sshkey: 0
         guest_os_id: 12
            bootable: 1
         prepopulate: 0
         cross_zones: 1
         extractable: 1
     hypervisor_type: XenServer
  source_template_id: NULL
        template_tag: NULL
            sort_key: 0
                size: 21474836480
               state: Active
        update_count: 0
             updated: NULL
dynamically_scalable: 1
1 row in set (0.00 sec)

ERROR:
No query specified

mysql> select * from guest_os where id=12;
+----+-------------+------+--------------------------------------+---------------------+
| id | category_id | name | uuid                                 | display_name 
       |
+----+-------------+------+--------------------------------------+---------------------+
| 12 |           1 | NULL | 289896a4-7306-11e3-8e46-067fae000058 | CentOS 5.3 
(64-bit) |
+----+-------------+------+--------------------------------------+---------------------+
1 row in set (0.00 sec)



> guest OS type for default template "CentOS 5.6(64-bit) no GUI (XenServer)" is 
> CentOS 5.3(64-bit) 
> -------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5718
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5718
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>    Affects Versions: 4.3.0
>            Reporter: prashant kumar mishra
>             Fix For: 4.3.0
>
>
> guest os id should be id of CentOS5.6 ID
> mysql> select *  from vm_template where id=5\G;
> *************************** 1. row ***************************
>                   id: 5
>          unique_name: centos56-x86_64-xen
>                 name: CentOS 5.6(64-bit) no GUI (XenServer)
>                 uuid: 2879fdde-7306-11e3-8e46-067fae000058
>               public: 1
>             featured: 1
>                 type: BUILTIN
>                  hvm: 0
>                 bits: 64
>                  url: 
> http://download.cloud.com/templates/builtin/centos56-x86_64.vhd.bz2
>               format: VHD
>              created: 2014-01-01 12:00:03
>              removed: NULL
>           account_id: 1
>             checksum: 905cec879afd9c9d22ecc8036131a180
>         display_text: CentOS 5.6(64-bit) no GUI (XenServer)
>      enable_password: 0
>        enable_sshkey: 0
>          guest_os_id: 12
>             bootable: 1
>          prepopulate: 0
>          cross_zones: 1
>          extractable: 1
>      hypervisor_type: XenServer
>   source_template_id: NULL
>         template_tag: NULL
>             sort_key: 0
>                 size: 21474836480
>                state: Active
>         update_count: 0
>              updated: NULL
> dynamically_scalable: 1
> 1 row in set (0.00 sec)
> ERROR:
> No query specified
> mysql> select * from guest_os where id=12;
> +----+-------------+------+--------------------------------------+---------------------+
> | id | category_id | name | uuid                                 | 
> display_name        |
> +----+-------------+------+--------------------------------------+---------------------+
> | 12 |           1 | NULL | 289896a4-7306-11e3-8e46-067fae000058 | CentOS 5.3 
> (64-bit) |
> +----+-------------+------+--------------------------------------+---------------------+
> 1 row in set (0.00 sec)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to