On Jan 23, 2013, at 10:38 PM, Mike Tutkowski <mike.tutkow...@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 

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 <run...@gmail.com>wrote:
> 
>> 
>> On Jan 23, 2013, at 10:10 PM, Mike Tutkowski <mike.tutkow...@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 <run...@gmail.com
>>> wrote:
>>> 
>>>> 
>>>> On Jan 23, 2013, at 9:16 PM, David Nalley <da...@gnsa.us> wrote:
>>>> 
>>>>> On Wed, Jan 23, 2013 at 2:35 PM, Mike Tutkowski
>>>>> <mike.tutkow...@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.tutkow...@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.tutkow...@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the
> cloud<http://solidfire.com/solution/overview/?video=play>
> *™*

Reply via email to