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 E2E02E4AF for ; Thu, 24 Jan 2013 22:54:10 +0000 (UTC) Received: (qmail 23783 invoked by uid 500); 24 Jan 2013 22:54:10 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 23751 invoked by uid 500); 24 Jan 2013 22:54:10 -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 23741 invoked by uid 99); 24 Jan 2013 22:54:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jan 2013 22:54:10 +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.219.48 as permitted sender) Received: from [209.85.219.48] (HELO mail-oa0-f48.google.com) (209.85.219.48) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jan 2013 22:54:04 +0000 Received: by mail-oa0-f48.google.com with SMTP id h2so10726326oag.21 for ; Thu, 24 Jan 2013 14:53:43 -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=bl9K1j5qrckjL1luNJXeE51ltcz5Cc6PidH+B5utY+4=; b=CyDvAsVmslwnrzxDuiXD9y/fdPy1UM2TpeWzD2VqtR7ghc8/NzqPs0KY3yaXYaCMg1 FjQjqyCyTOlqqMTGSgciAgFH3NLlQd6pHEk1I5LbBXIoZNOIHRwAv0jCwJaLG1lcWWuK MQd9OEXp0INsKzNUJzqUj7Ee53q5RuU13oPQ+5pg0+3ONTIfDFZtDzCigda9MX9yMBqm 7+2TYxnHQAdYXIHAZjZ/uQAV+hg5UxQob4jD9VIfFJolUiQQefMbboJcQXVbMYgCI/ZL OWPc+XB2UmU4WveRQjM23TNrwEZpeWpmFbvlONoJeICt8NCApUJYa2Rljja7fYkvWWa6 UE6g== MIME-Version: 1.0 X-Received: by 10.60.7.167 with SMTP id k7mr3053743oea.20.1359068023126; Thu, 24 Jan 2013 14:53:43 -0800 (PST) Received: by 10.182.49.202 with HTTP; Thu, 24 Jan 2013 14:53:42 -0800 (PST) In-Reply-To: References: <8ECD6DAC-55B6-40B2-ABD8-4F4697F7D4C4@gmail.com> <4D35F9DF-F74C-49A9-9B38-89CF025D29E0@gmail.com> Date: Thu, 24 Jan 2013 15:53:43 -0700 Message-ID: Subject: Re: DevCloud Question From: Mike Tutkowski To: cloudstack-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=e89a8ff1c686be7b0704d410aebd X-Gm-Message-State: ALoCoQmBGhA5gzZMt8GC3KYPOPJkW5kvHBbhpIBuML6kSRhYOdZx08c7Ns93+3PE2OKj+epo/fss X-Virus-Checked: Checked by ClamAV on apache.org --e89a8ff1c686be7b0704d410aebd Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable I was in the wrong place. :) Found it now. On Thu, Jan 24, 2013 at 3:40 PM, Mike Tutkowski < mike.tutkowski@solidfire.com> wrote: > Hey Marcus, > > I'm trying to walk through your suggestions here: > > "Then I would add a primary storage of type iscsi, point it at > your solidfire server, and set a storage tag of 'solidfire'. You should s= ee > on the xen host (devcloud) that it creates a new SR and attaches to your > iscsi storage. Then I would create a service offering that uses this > storage (set a storage tag on it of 'solid fire'), and select this servic= e > offering when deploying a VM." > > I brought the GUI up and went to the Service Offerings tab. I elected to > add a Disk Offering. Under Storage Type, I don't see an iSCSI option - > just shared and local. Am I in the wrong place? > > Thanks! > > > On Wed, Jan 23, 2013 at 3:20 PM, Mike Tutkowski < > mike.tutkowski@solidfire.com> wrote: > >> Thanks for all the help, guys, in getting me up and running. :) >> >> >> On Wed, Jan 23, 2013 at 3:18 PM, Mike Tutkowski < >> mike.tutkowski@solidfire.com> wrote: >> >>> Looks like I had something messed up in my environment. I believe it's >>> OK now. :) >>> >>> >>> On Wed, Jan 23, 2013 at 3:04 PM, Mike Tutkowski < >>> mike.tutkowski@solidfire.com> wrote: >>> >>>> Let's see...I have Jetty running (as was the case earlier). I looked >>>> in devcloud.cfg and the IP addresses seem fine (192.168.56.1 and >>>> 192.168.56.10 are probably the most important ones). >>>> >>>> Are you thinking the dataCenterDeploy.py script (which references a >>>> non-existent tools/marvin/marvin/datacenterCfg file) should reference >>>> tools/devcloud/devcloud.cfg? >>>> >>>> >>>> On Wed, Jan 23, 2013 at 2:58 PM, Sebastien Goasguen = wrote: >>>> >>>>> >>>>> On Jan 23, 2013, at 10:54 PM, Mike Tutkowski < >>>>> mike.tutkowski@solidfire.com> wrote: >>>>> >>>>> > Well...it was worth a shot. Apparently it actually wants there to = be >>>>> > useful data in the file, too. :) >>>>> >>>>> Your mgt server needs to be running. >>>>> the maven command just calls marvin to deploy the "datacenter" on you= r >>>>> mgt server. >>>>> >>>>> the cfg file is in tools/devcloud/devcloud.cfg >>>>> >>>>> All the data is in there, you should not have to write it from >>>>> scratch. What may happen is that you have to edit it to change the ip= of >>>>> the host.. >>>>> >>>>> >>>>> >>>>> > >>>>> > >>>>> > On Wed, Jan 23, 2013 at 2:47 PM, Mike Tutkowski < >>>>> > mike.tutkowski@solidfire.com> wrote: >>>>> > >>>>> >> Interesting...that didn't work either. :) >>>>> >> >>>>> >> I looked in the script and it does reference a datacenterCfg file. >>>>> Maybe >>>>> >> I can just create a blank one and see what happens. :) >>>>> >> >>>>> >> >>>>> >> On Wed, Jan 23, 2013 at 2:45 PM, Sebastien Goasguen < >>>>> runseb@gmail.com>wrote: >>>>> >> >>>>> >>> >>>>> >>> On Jan 23, 2013, at 10:42 PM, Sebastien Goasguen >>>> > >>>>> >>> wrote: >>>>> >>> >>>>> >>>> >>>>> >>>> On Jan 23, 2013, at 10:38 PM, Mike Tutkowski < >>>>> >>> mike.tutkowski@solidfire.com> wrote: >>>>> >>>> >>>>> >>>>> Cool...that problem's solved now. :) However, the script can'= t >>>>> find a >>>>> >>>>> config file now. I don't see this config file anywhere on my >>>>> system. >>>>> >>>>> >>>>> >>>>> IOError: config file ./datacenterCfg not found. please specify = a >>>>> valid >>>>> >>>>> config file >>>>> >>>>> >>>>> >>>> >>>>> >>>> try: >>>>> >>>> mvn -P developer -pl tools/devcloud -Ddeploysvr >>>>> >>> >>>>> >>> or: >>>>> >>> >>>>> >>> mvn -P developer,deploysvr -pl tools/devcloud -Ddeploysvr >>>>> >>> >>>>> >>> I am no maven expert=85:( >>>>> >>> >>>>> >>>> >>>>> >>>> this will use marvin to configure your mgt server infrastructure= . >>>>> >>>> >>>>> >>>> if that does not work try: >>>>> >>>> >>>>> >>>> cd tools/devcloud >>>>> >>>> python ../marvin/marvin/deployDataCenter.py -i devcloud.cfg >>>>> >>>> >>>>> >>>> this is straight up out of Rohit's blog: >>>>> >>>> http://rohityadav.in >>>>> >>>> >>>>> >>>> Once you become familiar with this you can edit the devcloud.cfg >>>>> file >>>>> >>> and modify it to do what you want (storage, hosts, hypervisor >>>>> type, etc=85) >>>>> >>>> >>>>> >>>> >>>>> >>>> >>>>> >>>>> >>>>> >>>>> On Wed, Jan 23, 2013 at 2:17 PM, Sebastien Goasguen < >>>>> runseb@gmail.com >>>>> >>>> wrote: >>>>> >>>>> >>>>> >>>>>> >>>>> >>>>>> On Jan 23, 2013, at 10:10 PM, Mike Tutkowski < >>>>> >>> mike.tutkowski@solidfire.com> >>>>> >>>>>> wrote: >>>>> >>>>>> >>>>> >>>>>>> I tried the "backup" approach, as well, but it didn't work fo= r >>>>> me. >>>>> >>> Looks >>>>> >>>>>>> like I'm missing a Python module? >>>>> >>>>>>> >>>>> >>>>>>> mtutkowski-lt:incubator-cloudstack mtutkowski$ cd >>>>> tools/devcloud >>>>> >>>>>>> mtutkowski-lt:devcloud mtutkowski$ pwd >>>>> >>>>>>> >>>>> >>>>>> >>>>> >>> >>>>> /Users/mtutkowski/documents/cloudstack/src/incubator-cloudstack/tools= /devcloud >>>>> >>>>>>> mtutkowski-lt:devcloud mtutkowski$ python >>>>> >>>>>>> ../marvin/marvin/deployDataCenter.py >>>>> >>>>>>> Traceback (most recent call last): >>>>> >>>>>>> File "../marvin/marvin/deployDataCenter.py", line 21, in >>>>> >>>>> >>>>>>> import cloudstackTestClient >>>>> >>>>>>> File >>>>> >>>>>>> >>>>> >>>>>> >>>>> >>> >>>>> "/Users/mtutkowski/Documents/CloudStack/src/incubator-cloudstack/tool= s/marvin/marvin/cloudstackTestClient.py", >>>>> >>>>>>> line 20, in >>>>> >>>>>>> import dbConnection >>>>> >>>>>>> File >>>>> >>>>>>> >>>>> >>>>>> >>>>> >>> >>>>> "/Users/mtutkowski/Documents/CloudStack/src/incubator-cloudstack/tool= s/marvin/marvin/dbConnection.py", >>>>> >>>>>>> line 18, in >>>>> >>>>>>> import mysql >>>>> >>>>>>> ImportError: No module named mysql >>>>> >>>>>>> >>>>> >>>>>>> I did download mysql-connector-python, but I'm not that >>>>> familiar with >>>>> >>>>>>> Python and where to put this download so it can be leveraged. >>>>> >>>>>> >>>>> >>>>>> How did you install it ? >>>>> >>>>>> >>>>> >>>>>> you should try something like: >>>>> >>>>>> >>>>> >>>>>> sudo easy_install mysql-connector-python 1.0 >>>>> >>>>>> >>>>> >>>>>>> >>>>> >>>>>>> Thanks! >>>>> >>>>>>> >>>>> >>>>>>> >>>>> >>>>>>> On Wed, Jan 23, 2013 at 1:49 PM, Sebastien Goasguen < >>>>> >>> runseb@gmail.com >>>>> >>>>>>> wrote: >>>>> >>>>>>> >>>>> >>>>>>>> >>>>> >>>>>>>> On Jan 23, 2013, at 9:16 PM, David Nalley >>>>> wrote: >>>>> >>>>>>>> >>>>> >>>>>>>>> On Wed, Jan 23, 2013 at 2:35 PM, Mike Tutkowski >>>>> >>>>>>>>> wrote: >>>>> >>>>>>>>>> This really was a great overview of using DevCloud. I >>>>> wonder if >>>>> >>> we >>>>> >>>>>>>> might >>>>> >>>>>>>>>> link to it from here: >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> >>>>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/DevCloud >>>>> >>>>>>>>>> >>>>> >>>>>>>>> >>>>> >>>>>>>>> >>>>> >>>>>>>>> It's a wiki, please edit boldly! >>>>> >>>>>>>>> >>>>> >>>>>>>>> --David >>>>> >>>>>>>> >>>>> >>>>>>>> Mike, I added the video link to the new docs, but it won't >>>>> hit until >>>>> >>>>>>>> release... >>>>> >>>>>>>> >>>>> >>>>>>>> >>>>> >>>>>>> >>>>> >>>>>>> >>>>> >>>>>>> -- >>>>> >>>>>>> *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* >>>>> >>>> >>>>> >>> >>>>> >>> >>>>> >> >>>>> >> >>>>> >> -- >>>>> >> *Mike Tutkowski* >>>>> >> *Senior CloudStack Developer, SolidFire Inc.* >>>>> >> e: mike.tutkowski@solidfire.com >>>>> >> o: 303.746.7302 >>>>> >> Advancing the way the world uses the cloud< >>>>> http://solidfire.com/solution/overview/?video=3Dplay> >>>>> >> *=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* >>>>> >>>>> >>>> >>>> >>>> -- >>>> *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* >>> >> >> >> >> -- >> *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* --e89a8ff1c686be7b0704d410aebd--