Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 59363E3AB for ; Tue, 22 Jan 2013 20:22:38 +0000 (UTC) Received: (qmail 92019 invoked by uid 500); 22 Jan 2013 20:22:38 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 91978 invoked by uid 500); 22 Jan 2013 20:22:37 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 91970 invoked by uid 99); 22 Jan 2013 20:22:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jan 2013 20:22:37 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of cweise@iswest.net designates 207.178.128.122 as permitted sender) Received: from [207.178.128.122] (HELO agcex01.CORP.ISWEST.NET) (207.178.128.122) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jan 2013 20:22:31 +0000 Received: from AGCEX01.CORP.ISWEST.NET ([fe80::d81:d08c:4036:401d]) by agcex01.CORP.ISWEST.NET ([fe80::d81:d08c:4036:401d%11]) with mapi id 14.01.0218.012; Tue, 22 Jan 2013 12:22:02 -0800 From: Clayton Weise To: "cloudstack-dev@incubator.apache.org" Subject: RE: CloudStack and Networking Question Thread-Topic: CloudStack and Networking Question Thread-Index: AQHN+NBGGSOEBAZZBE6d+e6J9yAu85hWOZCAgAAV6oD//3rrgA== Date: Tue, 22 Jan 2013 20:22:01 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.254.157] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org The agent is what runs on KVM hosts to carry out requests from the manageme= nt server(s). The management server is the cloud-management service which = oversees all the stuff CloudStack does. -----Original Message----- From: Mike Tutkowski [mailto:mike.tutkowski@solidfire.com]=20 Sent: Tuesday, January 22, 2013 12:17 PM To: cloudstack-dev@incubator.apache.org Subject: Re: CloudStack and Networking Question Pranav =3D Yeah, good idea...I hooked my MacBook up via cable to the networ= k and disabled the wireless, but it didn't work. :( I did get an IP address and could access web sites on the Internet, but Tomcat was not running. Marcus =3D What is the difference between the Agent and the Management Server? I followed the instructions here: http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-i= ncubating/html/Installation_Guide/management-server-install-flow.html In NAT mode, I usually get 10.0.2.15 as my IP address (no access from my Mac). In bridged mode, as expected, I get an IP address on my company's LAN. I do have the source code in my Mac OX X environment, so maybe that is the route I will have to take. As an oddity on top of this all, if I run Tomcat 6 manually using the tomcat6 script in /etc/init.d/, Tomcat works. I can hit http://localhost:8080, but it doesn't know about http://localhost:8080/client/ On Tue, Jan 22, 2013 at 11:59 AM, Marcus Sorensen wrot= e: > Mike, are you just trying to run the management server, not the agent, in= a > VM? If you are trying to run the whole thing, it will fail with virtualbo= x > because cloudstack verifies that there is hardware support for > virtualization before starting the agent. This is not related to your iss= ue > now, but you may run into it. If you want to run the agent and VMs inside > this VM, you will need to use VMware fusion and enable the nested > virtualization. > > Aside from that, check your network in the Ubuntu box and see what you're > getting in each mode. In NAT mode with virtualbox, you'll have no access = to > the VM from your Mac, because your mac has no IP inside the NAT. This is > why devcloud uses both NAT and host-only. > > But it sounds like your issue is deeper because you cannot even get > cloud-management to start. In the past, if I have seen no errors in the > log, but no success, I have edited the startup script to print out the > actual command being run to start the management server (with class paths > and all), and then run it manually, perhaps adding a debug flag. That > usually gives me the error. > > As an alternative, you can pull the source code, build it, and do the > 'jetty:run' per devcloud instructions, and that should print debug code t= o > your screen. It could at least tell you why the management server won't > start, even if you don't want to install from master. That will require > cleaning out the database though, and then setting up the database again > when going back to 4.0. > > mvn -P developer,systemvm clean install > > mvn -P developer -pl developer,tools/devcloud -Ddeploydb > > mvn -pl :cloud-client-ui jetty:run > > > On Tue, Jan 22, 2013 at 11:42 AM, Mike Tutkowski < > mike.tutkowski@solidfire.com> wrote: > > > Hi, > > > > I'm running CloudStack on Ubuntu 12.04.1 in a VirtualBox VM. > > > > When I run it in NAT mode, it works (I can bring up the web page to log > in > > and my login works). > > > > In any other networking mode (bridged, internal, host only), it does no= t > > work (Tomcat is not running and I cannot get it to run (even though > there's > > no obvious error message) by running the cloud-management script). > > > > My host OS is Mac OS X and I am connected to my company's network over > > Mac's wireless network (AirPort). > > > > I have tried to use VMware instead of VirtualBox and come across the sa= me > > problem. > > > > Can anyone think of some reason this might be happening? Does anyone > else > > develop CloudStack on Mac OS X using virtual machines? > > > > Thanks! > > > > -- > > *Mike Tutkowski* > > *Senior CloudStack Developer, SolidFire Inc.* > > e: mike.tutkowski@solidfire.com > > o: 303.746.7302 > > Advancing the way the world uses the > > cloud > > *(tm)* > > > --=20 *Mike Tutkowski* *Senior CloudStack Developer, SolidFire Inc.* e: mike.tutkowski@solidfire.com o: 303.746.7302 Advancing the way the world uses the cloud *(tm)*