Return-Path: X-Original-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1AC70D521 for ; Wed, 19 Dec 2012 23:22:55 +0000 (UTC) Received: (qmail 94539 invoked by uid 500); 19 Dec 2012 23:22:54 -0000 Delivered-To: apmail-incubator-cloudstack-users-archive@incubator.apache.org Received: (qmail 94473 invoked by uid 500); 19 Dec 2012 23:22:54 -0000 Mailing-List: contact cloudstack-users-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-users@incubator.apache.org Delivered-To: mailing list cloudstack-users@incubator.apache.org Received: (qmail 94463 invoked by uid 99); 19 Dec 2012 23:22:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Dec 2012 23:22:54 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS,T_FILL_THIS_FORM_SHORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mathias.mullins@citrix.com designates 66.165.176.63 as permitted sender) Received: from [66.165.176.63] (HELO SMTP02.CITRIX.COM) (66.165.176.63) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Dec 2012 23:22:49 +0000 X-IronPort-AV: E=Sophos;i="4.84,320,1355097600"; d="png'150?scan'150,208,150";a="1277144" Received: from ftlpmailmx02.citrite.net ([10.13.107.66]) by FTLPIPO02.CITRIX.COM with ESMTP/TLS/RC4-MD5; 19 Dec 2012 23:22:28 +0000 Received: from FTLPMAILBOX02.citrite.net ([10.13.98.210]) by FTLPMAILMX02.citrite.net ([10.13.107.66]) with mapi; Wed, 19 Dec 2012 18:22:28 -0500 From: Mathias Mullins To: "cloudstack-users@incubator.apache.org" Date: Wed, 19 Dec 2012 18:22:27 -0500 Subject: Re: ssvm completely messed up Thread-Topic: ssvm completely messed up Thread-Index: Ac3eP7WRbSXx5XaqQZqgb/1NGOKEMg== Message-ID: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.2.3.120616 acceptlanguage: en-US Content-Type: multipart/mixed; boundary="_002_CCF78BDE10A30mattmullinscitrixcom_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_002_CCF78BDE10A30mattmullinscitrixcom_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Mark,=20 Refer to section 4.5.7 of the install guide for the template. http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-i ncubating/html/Installation_Guide/management-server-install-flow.html#prepa re-system-vm-template Command for XenServer: =09 =09 =09 =09 =09 =09 =09 =09 =09 =09 #=20 /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/secondary -u http://download.cloud.com/templates/acton/acton-systemvm-02062012.vhd.bz2 -h xenserver -s -F =09 =09 =09 =09 =09 Matt Mullins CloudPlatform Implementation Engineer Worldwide Cloud Services =AD Citrix System, Inc. +1 (407) 920-1107 =AD Office/Cell Phone matt.mullins@citrix.com On 12/19/12 3:02 PM, "Kraig Amador" wrote: >Do you have the cloud-system-iso package installed? It's needed >everywhere AFAIK. > >--=20 >Kraig Amador > > >On Wednesday, December 19, 2012 at 2:59 PM, Hooper, Mark E (Mark) wrote: > >> Folks, >> Need your opinion on where to look to fix my problem. I just did a >>fresh install of cloudstack 4.0.0, manager/nfs server on system and 3 >>hosts all on Ubuntu 12.04. I have the hosts all setup with 2 vlans and >>connected to public (vlan 20 - 192.168.20.x) and private (vlan >>10-192.168.10.x) bridges. I have got it to the point where my SSVM and >>CPVM startup but thats where everything goes to hell. >>=20 >> From the below output of "brctl show" you can see that one of the >>system vms has an additional nic (turns out to me the ssvm). I have also >>added the ifconfig output below from the ssvm. >>=20 >> root@compute-2:~# brctl show >> bridge name bridge id STP enabled interfaces >> cloud0 8000.fe00a9fe0149 no >> vnet0 >> vnet3 >> cloudbr0 8000.00164153f812 no eth0.10 >> vnet1 >> vnet4 >> vnet6 >> cloudbr1 8000.00164153f812 no eth0.20 >> vnet2 >> vnet5 >> virbr0 8000.000000000000 yes >>=20 >> root@v-9-VM:/usr/local/cloud# ifconfig >> eth0 Link encap:Ethernet HWaddr 0e:00:a9:fe:02:89 >> inet addr:169.254.2.137 Bcast:169.254.255.255 Mask:255.255.0.0 >> inet6 addr: fe80::c00:a9ff:fefe:289/64 Scope:Link >> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 >> RX packets:283 errors:0 dropped:0 overruns:0 frame:0 >> TX packets:151 errors:0 dropped:0 overruns:0 carrier:0 >> collisions:0 txqueuelen:1000 >> RX bytes:27768 (27.1 KiB) TX bytes:20809 (20.3 KiB) >>=20 >> eth1 Link encap:Ethernet HWaddr 06:61:8a:00:00:03 >> inet addr:192.168.10.52 Bcast:192.168.10.255 Mask:255.255.255.0 >> inet6 addr: fe80::461:8aff:fe00:3/64 Scope:Link >> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 >> RX packets:41 errors:0 dropped:0 overruns:0 frame:0 >> TX packets:16 errors:0 dropped:0 overruns:0 carrier:0 >> collisions:0 txqueuelen:1000 >> RX bytes:2740 (2.6 KiB) TX bytes:1276 (1.2 KiB) >>=20 >> eth2 Link encap:Ethernet HWaddr 06:01:9e:00:00:2f >> inet addr:192.168.20.120 Bcast:192.168.20.255 Mask:255.255.255.0 >> inet6 addr: fe80::401:9eff:fe00:2f/64 Scope:Link >> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 >> RX packets:44 errors:0 dropped:0 overruns:0 frame:0 >> TX packets:18 errors:0 dropped:0 overruns:0 carrier:0 >> collisions:0 txqueuelen:1000 >> RX bytes:3096 (3.0 KiB) TX bytes:1438 (1.4 KiB) >>=20 >> 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:8 errors:0 dropped:0 overruns:0 frame:0 >> TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 >> collisions:0 txqueuelen:0 >> RX bytes:560 (560.0 B) TX bytes:560 (560.0 B) >>=20 >> root@v-9-VM:/usr/local/cloud# >>=20 >> So I have tested that the extra nic doesn't affect routing or anything >>and in fact the ssvm can DNS resolve and ping on both private and public >>nics no problem. Where things get really weird is when I try to find the >>check-ssvm.sh (http://check-ssvm.sh) script to run it. Well is it no >>where to be found !!! I also check to see if the cloud service is >>running and obviously it isn't this is due to NOTHING being in >>/usr/local/cloud/ >>=20 >> root@compute-2:~# ssh -i >>/usr/lib/cloud/common/scripts/vm/systemvm/id_rsa.cloud -p 3922 >>root@169.254.2.137 (mailto:root@169.254.2.137) >> Linux v-9-VM 2.6.32-5-686-bigmem #1 SMP Mon Jan 16 16:42:05 UTC 2012 >>i686 >>=20 >> 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. >>=20 >> Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent >> permitted by applicable law. >> Last login: Wed Dec 19 22:47:30 2012 from 169.254.0.1 >> Linux v-9-VM 2.6.32-5-686-bigmem #1 SMP Mon Jan 16 16:42:05 UTC 2012 >>i686 >>=20 >> 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. >>=20 >> Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent >> permitted by applicable law. >> root@v-9-VM:~# cd /usr/local/cloud >> root@v-9-VM:/usr/local/cloud# ls -la >> total 8 >> drwxr-sr-x 2 root staff 4096 Feb 6 2012 . >> drwxrwsr-x 11 root staff 4096 Feb 6 2012 .. >> root@v-9-VM:~# service cloud status >> cloud.com (http://cloud.com) service is not running >> root@v-9-VM:~# service cloud restart >> Stopping cloud.com (http://cloud.com) service (type=3Dconsoleproxy): >>Success >>=20 >> /etc/init.d/cloud: line 106: /usr/local/cloud/systemvm/user_request: No >>such file or directory >> Starting cloud.com (http://cloud.com) service (type=3Dconsoleproxy) Fail= ed >>=20 >> /etc/init.d/cloud: line 94: /usr/local/cloud/systemvm/user_request: No >>such file or directory >> root@v-9-VM:~# >>=20 >>=20 >> So at this point i believe my System VM template is garbage so I rerun >>"cloud-install-sys-tmplt -m /mnt/secondary -u >>http://download.cloud.com/templates/acton/acton-systemvm-02062012.qcow2.b >>z2 -h kvm -F" from the installation documents. Nuke both CPVM and SSVM >>then rerun the exact same tests and again my system VMs are borked. >>Because I know someone is going to ask for it here is my >>agent.properties from compute-2 where the system vms seem to like being >>spawned on. >>=20 >> root@compute-2:~# cat /etc/cloud/agent/agent.properties >> #Storage >> #Wed Dec 19 15:28:43 CST 2012 >> guest.network.device=3Dcloudbr1 >> workers=3D5 >> private.network.device=3Dcloudbr0 >> port=3D8250 >> resource=3Dcom.cloud.hypervisor.kvm.resource.LibvirtComputingResource >> pod=3D1 >> zone=3D1 >> guid=3D778949c4-472f-3cec-b166-21324d686eae >> cluster=3D1 >> public.network.device=3Dcloudbr1 >> local.storage.uuid=3Decb48df9-9e54-404f-a26a-9a7ecb614328 >> domr.scripts.dir=3Dscripts/network/domr/kvm >> LibvirtComputingResource.id=3D4 >> host=3D192.168.10.2 >>=20 >>=20 >>=20 >> Regards >> Mark Hooper >>=20 >>=20 > > --_002_CCF78BDE10A30mattmullinscitrixcom_--