[
https://issues.apache.org/jira/browse/CLOUDSTACK-152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13459294#comment-13459294
]
Chandan Purushothama commented on CLOUDSTACK-152:
-------------------------------------------------
The OS Type is Other-Linux-64bit. This guest OS Type CentOS 6.3 is not a valid
guest OS Type on XenServer 6.0.2.
Besides XenServer limitation, CloudStack Guest OS Types doesnt list CentOS 6.3
as one of them.
mysql> select * from guest_os where display_name like "%CentOS%";
+-----+-------------+------+--------------------------------------+-----------------------+
| id | category_id | name | uuid |
display_name |
+-----+-------------+------+--------------------------------------+-----------------------+
| 1 | 1 | NULL | 3e361836-00ba-4742-bac0-1bb32a47f885 | CentOS 4.5
(32-bit) |
| 2 | 1 | NULL | ab8b35cb-5ae9-4339-bf11-54530f442715 | CentOS 4.6
(32-bit) |
| 3 | 1 | NULL | a2782798-10af-4279-a146-685d8b276702 | CentOS 4.7
(32-bit) |
| 4 | 1 | NULL | 5ca78cbc-c31e-4a92-9549-e140c798361e | CentOS 4.8
(32-bit) |
| 5 | 1 | NULL | 9befee3e-1539-4402-8be3-0a48478b28c9 | CentOS 5.0
(32-bit) |
| 6 | 1 | NULL | 7ca4eaf2-1679-46ee-80b0-325561f91841 | CentOS 5.0
(64-bit) |
| 7 | 1 | NULL | 22c0a7b8-ff1c-42e2-90fd-ebab6014478c | CentOS 5.1
(32-bit) |
| 8 | 1 | NULL | 6481a7d1-3ccb-4da1-be24-4d4df1526369 | CentOS 5.1
(64-bit) |
| 9 | 1 | NULL | c05318ad-ef14-4231-bb44-eda375c27019 | CentOS 5.2
(32-bit) |
| 10 | 1 | NULL | 5fe3b662-72ea-43a5-9560-fa7079cb430c | CentOS 5.2
(64-bit) |
| 11 | 1 | NULL | f4e9f640-93f1-486c-9179-0aaf79631c56 | CentOS 5.3
(32-bit) |
| 12 | 1 | NULL | ca6c5d25-90b1-4c24-8b3a-2327e9b0ed38 | CentOS 5.3
(64-bit) |
| 13 | 1 | NULL | 2a0b1aba-573a-460f-8cdd-008ffe9c10a2 | CentOS 5.4
(32-bit) |
| 14 | 1 | NULL | f515d410-11a0-4434-bd62-070ce5325549 | CentOS 5.4
(64-bit) |
| 111 | 1 | NULL | 36ee39b5-8e8c-4688-b662-5e84099dec35 | CentOS 5.5
(32-bit) |
| 112 | 1 | NULL | 1d126c4b-26dd-4cb4-885d-ce3fe1675b91 | CentOS 5.5
(64-bit) |
| 141 | 1 | NULL | f89ca09a-6da0-44b3-84e6-11c36e9fe90f | CentOS 5.6
(32-bit) |
| 142 | 1 | NULL | dae42679-3fe4-4760-83f4-37ad823ea535 | CentOS 5.6
(64-bit) |
| 143 | 1 | NULL | 05baa6ca-bee3-426f-a352-cca6ae5d1f78 | CentOS 6.0
(32-bit) |
| 144 | 1 | NULL | ad58d8f1-e30b-4743-829f-dd9a63551564 | CentOS 6.0
(64-bit) |
| 161 | 1 | NULL | a8d7d9a2-b7ad-417d-815b-33424418a0bf | CentOS 5.7
(32-bit) |
| 162 | 1 | NULL | cbe79d82-312b-4833-b4b4-57a1929dcfaa | CentOS 5.7
(64-bit) |
| 200 | 1 | NULL | a72697d3-d2a5-4a14-8c27-7a38a009f733 | Other
CentOS (32-bit) |
| 201 | 1 | NULL | 408fb7ef-54a4-4683-9334-9bfec04ca427 | Other
CentOS (64-bit) |
+-----+-------------+------+--------------------------------------+-----------------------+
24 rows in set (0.00 sec)
> Routes on the User VM are programmed incorrectly on a VM present on both
> Isolated and Shared Guest Networks
> -----------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-152
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-152
> Project: CloudStack
> Issue Type: Bug
> Components: Management Server
> Affects Versions: pre-4.0.0
> Reporter: Chandan Purushothama
> Fix For: pre-4.0.0
>
> Attachments: messagesontheUserVM.zip
>
>
> ==================
> Steps to Reproduce:
> ==================
> 1. As the Admin of ROOT domain, Create a shared guest network using the
> DefaultNetworkOfferingforSharedNetworks.
> 2. Login as a Regular User. Create an isolated guest network using the
> "DefaultNetworkOfferingwithSourceNATService"
> 3. Register a CentOS6.3_x86_64 ISO
> 4. Deploy a VM on the Isolated and Shared Guest Network using the ISO. Make
> sure that the Isolated Guest Network is chosen as the default Guest Network.
> 5. View the VM's Console. Observe that the only IP Address present on the VM
> is the loopback address.
> 6. Edit the two ifcfg-ethx files present under
> /etc/sysconfig/network-scripts/. Set the ONBOOT parameter to yes.
> 7. Reboot the VM or restart the network service.
> 8. Observe the routes on the VM after the Reboot.
> ==========
> Observations:
> ==========
> [root@B-regnet-shdnet-iso-vm-4 ~]# history
> 1 ifconfig
> 2 reboot
> 3 history
> [root@B-regnet-shdnet-iso-vm-4 ~]# ifconfig
> eth0 Link encap:Ethernet HWaddr 02:00:47:BD:00:06
> inet addr:10.1.1.48 Bcast:10.1.1.255 Mask:255.255.255.0
> inet6 addr: fe80::47ff:febd:6/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:2 errors:0 dropped:0 overruns:0 frame:0
> TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:379 (379.0 b) TX bytes:1116 (1.0 KiB)
> Interrupt:165
> eth1 Link encap:Ethernet HWaddr 06:74:B6:00:00:3A
> inet addr:10.223.137.78 Bcast:10.223.137.127 Mask:255.255.255.192
> inet6 addr: fe80::474:b6ff:fe00:3a/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:108 errors:0 dropped:0 overruns:0 frame:0
> TX packets:84 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:9425 (9.2 KiB) TX bytes:10289 (10.0 KiB)
> Interrupt:164
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> inet6 addr: ::1/128 Scope:Host
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
> **Observe that except the second and the third route all the remaining routes
> are wrong. Notice that 10.1.1.48 is on eth0 while 10.223.137.78 is on eth1**
> [root@B-regnet-shdnet-iso-vm-4 ~]# ip route
> 10.1.1.1 dev eth1 scope link
> 10.223.137.64/26 dev eth1 proto kernel scope link src 10.223.137.78
> 10.1.1.0/24 dev eth0 proto kernel scope link src 10.1.1.48
> 169.254.0.0/16 dev eth0 scope link metric 1002
> 169.254.0.0/16 dev eth1 scope link metric 1003
> default via 10.1.1.1 dev eth1
> [root@B-regnet-shdnet-iso-vm-4 ~]# cat
> /etc/sysconfig/network-scripts/ifcfg-eth0
> DEVICE="eth0"
> BOOTPROTO="dhcp"
> HWADDR="02:00:47:BD:00:06"
> NM_CONTROLLED="yes"
> ONBOOT="yes"
> TYPE="Ethernet"
> UUID="b74145e6-eaf5-4b53-b19a-9a4051fa4a75"
> [root@B-regnet-shdnet-iso-vm-4 ~]# cat
> /etc/sysconfig/network-scripts/ifcfg-eth1
> DEVICE="eth1"
> BOOTPROTO="dhcp"
> HWADDR="06:74:B6:00:00:3A"
> NM_CONTROLLED="yes"
> ONBOOT="yes"
> TYPE="Ethernet"
> UUID="a5afb535-0eb0-4196-a324-87aec613f38a"
> [root@B-regnet-shdnet-iso-vm-4 ~]# cat /etc/redhat-release
> CentOS release 6.3 (Final)
> =======
> Git Info:
> =======
> Git Revision: 54f9af1695bc359b02e9fc906b3b335cc0bfec41
> Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git
--
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