cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhinav Roy (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-3662) After installation of 4.2 the CloudStack DB is not displaying the correct version and type of the systemvm templates
Date Fri, 19 Jul 2013 09:16:53 GMT
Abhinav Roy created CLOUDSTACK-3662:
---------------------------------------

             Summary: After installation of 4.2 the CloudStack DB is not displaying the correct
version and type of the systemvm templates
                 Key: CLOUDSTACK-3662
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3662
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Install and Setup
    Affects Versions: 4.2.0
            Reporter: Abhinav Roy
            Priority: Critical
             Fix For: 4.2.0


1. Deploy a CS 4.2 Setup with XEN hypervisor.

2. Login to the secondary storage VM and check their version :

========================================================================
Debian GNU/Linux 7.0 s-1-VM hvc0

s-1-VM login: root
Password: 
Last login: Fri Jul 19 12:11:43 UTC 2013 on hvc0
Linux s-1-VM 3.2.0-4-686-pae #1 SMP Debian 3.2.41-2 i686

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@s-1-VM:~# uname -a
Linux s-1-VM 3.2.0-4-686-pae #1 SMP Debian 3.2.41-2 i686 GNU/Linux
root@s-1-VM:~# 
Debian GNU/Linux 7.0 s-1-VM hvc0

=======================================================================

So here we see that the actual OS type is Debian GNU/Linux 7.0 (32 bit) but there is no entry
in DB for this OS type. So the systemvm template is actually displayed in DB as :

========================================================================

mysql> select * from vm_template;
+-----+--------------------------------------------+---------------------------------------+--------------------------------------+--------+----------+---------+-----+------+------------------------------------------------------------------------------------------+--------+---------------------+---------------------+------------+----------------------------------+---------------------------------------+-----------------+---------------+-------------+----------+-------------+-------------+-------------+-----------------+--------------------+--------------+----------+-------------+-----------+--------------+---------+----------------------+
| 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
|
+-----+--------------------------------------------+---------------------------------------+--------------------------------------+--------+----------+---------+-----+------+------------------------------------------------------------------------------------------+--------+---------------------+---------------------+------------+----------------------------------+---------------------------------------+-----------------+---------------+-------------+----------+-------------+-------------+-------------+-----------------+--------------------+--------------+----------+-------------+-----------+--------------+---------+----------------------+
|   1 | routing-1                                  | SystemVM Template (XenServer)       
 | 1                                    |      0 |        0 | SYSTEM  |   0 |   64 | http://download.cloud.com/templates/acton/acton-systemvm-02062012.vhd.bz2
               | VHD    | 2013-07-17 18:21:21 | NULL                |          1 | f613f38c96bf039f2e5cbf92fa8ad4f8
| SystemVM Template (XenServer)         |               0 |             0 |         133 |
       1 |           0 |           1 |           0 | XenServer       |               NULL
| NULL         |        0 |   565240320 | Allocated |            0 | NULL    |           
        0 |

mysql> select * from guest_os;
+-----+-------------+------+--------------------------------------+------------------------------------------------+
| id  | category_id | name | uuid                                 | display_name         
                         |
           
| 133 |           2 | NULL | 133                                  | Debian GNU/Linux 6(64-bit)
                    |

============================================================
i.e. the systemvm template has guest os type 133, which turns out to be Debian GNU/Linux 6(64-bit)
which we see in our UI too.



****************************************************************************************************************************************
Similarly with the VMWARE host that the actual OS type is Debian GNU/Linux 7.0 (32 bit) but
it is displayed in the DB as Debian GNU/Linux 5.0 (32-bit)

and similar case with KVM also.







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

Mime
View raw message