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 8993FE125 for ; Tue, 22 Jan 2013 20:43:31 +0000 (UTC) Received: (qmail 62827 invoked by uid 500); 22 Jan 2013 20:43:31 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 62788 invoked by uid 500); 22 Jan 2013 20:43:31 -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 62780 invoked by uid 99); 22 Jan 2013 20:43:30 -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:43:30 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of mike.tutkowski@solidfire.com does not designate 209.85.214.179 as permitted sender) Received: from [209.85.214.179] (HELO mail-ob0-f179.google.com) (209.85.214.179) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jan 2013 20:43:24 +0000 Received: by mail-ob0-f179.google.com with SMTP id x4so7489724obh.38 for ; Tue, 22 Jan 2013 12:43:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:x-gm-message-state; bh=CXGBOxPJR44tcmr/FNSQdw4QMNR0tCHbqyeWJVZF2+E=; b=XqQQDc8Nq9U46vKEfXK0JE1I/fUF2pIuPuG0V9ZR5Qh99U2K4QkWVsgDJGNzHI1sZK yZ8aG0EAXDvY7dPeHelspSnIR8tsF/RZiguV/ifq+QD+m7f2jHN2sW8wXgKcyLP55nAF YEidc6Cj7I2ZtU+c2iU+IHiLDWfO2NklIb5XgJXMduFS4ltbJa+kISCAEtQ1CrO1ZcZ+ ag2dBDlv7PgZW0z2nyfiePVLNrq0g8qTKCH3G8zstBw9YQs82AiU2frpzITsMIzSwA0i K5uF/jcQJs3CVs1vyuODdw169hwtK2hAyBDnFLLKU/2Mv/fgYCWuOUPZ9hE5dNhD9/u4 7M/g== MIME-Version: 1.0 X-Received: by 10.60.22.7 with SMTP id z7mr17871948oee.113.1358887383006; Tue, 22 Jan 2013 12:43:03 -0800 (PST) Received: by 10.182.217.42 with HTTP; Tue, 22 Jan 2013 12:43:02 -0800 (PST) In-Reply-To: References: Date: Tue, 22 Jan 2013 13:43:02 -0700 Message-ID: Subject: Re: CloudStack and Networking Question From: Mike Tutkowski To: cloudstack-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=e89a8ff1c630c0ff0004d3e69f89 X-Gm-Message-State: ALoCoQmDeX9/uhfoPfH0Zte/+NFv+Y1UXcNpfF/ZFj25/A/mgeg20V1gpgicC0VTSPVEj0DtdkTl X-Virus-Checked: Checked by ClamAV on apache.org --e89a8ff1c630c0ff0004d3e69f89 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable So, it looks like DevCloud just uses NAT with port forwarding. I'm not sure how I could use DevCloud and leverage iSCSI storage on my company's LAN. That was the main reason I had switched over to trying to build up a CloudStack environment from scratch (in part, also, so I could see first hand how it's done). On Tue, Jan 22, 2013 at 1:28 PM, Mike Tutkowski < mike.tutkowski@solidfire.com> wrote: > Just heard back from a friend of mine. He said he had Windows as his hos= t > OS, was running Ubuntu in a VM under VirtualBox and had the same issue as= I > had (NAT worked; bridged didn't). > > > On Tue, Jan 22, 2013 at 1:24 PM, Mike Tutkowski < > mike.tutkowski@solidfire.com> wrote: > >> OK, thanks - I haven't gotten around to installing any agent software on >> a host. I'm just at the part where I was installing the MS on my OS in = a >> VM. >> >> >> On Tue, Jan 22, 2013 at 1:22 PM, Clayton Weise wrote= : >> >>> The agent is what runs on KVM hosts to carry out requests from the >>> management 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] >>> 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 >>> network >>> and disabled the wireless, but it didn't work. :( I did get an IP addre= ss >>> 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-incubating/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 m= y >>> 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 >> >wrote: >>> >>> > 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 >>> virtualbox >>> > because cloudstack verifies that there is hardware support for >>> > virtualization before starting the agent. This is not related to your >>> issue >>> > 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 t= he >>> > log, but no success, I have edited the startup script to print out th= e >>> > 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 to >>> > 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 requi= re >>> > 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 doe= s >>> not >>> > > 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 th= e >>> same >>> > > problem. >>> > > >>> > > Can anyone think of some reason this might be happening? Does anyo= ne >>> > 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)* >>> > > >>> > >>> >>> >>> >>> -- >>> *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)* >>> >> >> >> >> -- >> *Mike Tutkowski* >> *Senior CloudStack Developer, SolidFire Inc.* >> e: mike.tutkowski@solidfire.com >> o: 303.746.7302 >> Advancing the way the world uses the cloud >> *=99* >> > > > > -- > *Mike Tutkowski* > *Senior CloudStack Developer, SolidFire Inc.* > e: mike.tutkowski@solidfire.com > o: 303.746.7302 > Advancing the way the world uses the cloud > *=99* > --=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 *=99* --e89a8ff1c630c0ff0004d3e69f89--