cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Tutkowski <mike.tutkow...@solidfire.com>
Subject Re: DevCloud Question
Date Thu, 24 Jan 2013 22:53:43 GMT
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 see
> 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 service
> 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 <runseb@gmail.com>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 your
>>>>> 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 <runseb@gmail.com
>>>>> >
>>>>> >>> 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…:(
>>>>> >>>
>>>>> >>>>
>>>>> >>>> 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…)
>>>>> >>>>
>>>>> >>>>
>>>>> >>>>
>>>>> >>>>>
>>>>> >>>>> 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 for
>>>>> 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
>>>>> <module>
>>>>> >>>>>>> import cloudstackTestClient
>>>>> >>>>>>> File
>>>>> >>>>>>>
>>>>> >>>>>>
>>>>> >>>
>>>>> "/Users/mtutkowski/Documents/CloudStack/src/incubator-cloudstack/tools/marvin/marvin/cloudstackTestClient.py",
>>>>> >>>>>>> line 20, in <module>
>>>>> >>>>>>> import dbConnection
>>>>> >>>>>>> File
>>>>> >>>>>>>
>>>>> >>>>>>
>>>>> >>>
>>>>> "/Users/mtutkowski/Documents/CloudStack/src/incubator-cloudstack/tools/marvin/marvin/dbConnection.py",
>>>>> >>>>>>> line 18, in <module>
>>>>> >>>>>>> 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
<david@gnsa.us>
>>>>> wrote:
>>>>> >>>>>>>>
>>>>> >>>>>>>>> On Wed, Jan 23, 2013 at 2:35 PM,
Mike Tutkowski
>>>>> >>>>>>>>> <mike.tutkowski@solidfire.com>
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<http://solidfire.com/solution/overview/?video=play>
>>>>> >>>>>>> *™*
>>>>> >>>>>>
>>>>> >>>>>>
>>>>> >>>>>
>>>>> >>>>>
>>>>> >>>>> --
>>>>> >>>>> *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=play>
>>>>> >>>>> *™*
>>>>> >>>>
>>>>> >>>
>>>>> >>>
>>>>> >>
>>>>> >>
>>>>> >> --
>>>>> >> *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=play>
>>>>> >> *™*
>>>>> >>
>>>>> >
>>>>> >
>>>>> >
>>>>> > --
>>>>> > *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=play>
>>>>> > *™*
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *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=play>
>>>> *™*
>>>>
>>>
>>>
>>>
>>> --
>>> *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=play>
>>> *™*
>>>
>>
>>
>>
>> --
>> *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=play>
>> *™*
>>
>
>
>
> --
> *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=play>
> *™*
>



-- 
*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=play>
*™*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message