Charles, looks to me like a missing dependency in Rohit's image, try:

root@devcloud:~# easy_install mysql-connector-python
Searching for mysql-connector-python
Reading http://pypi.python.org/simple/mysql-connector-python/
Reading http://dev.mysql.com/doc/connector-python/en/index.html
Reading http://dev.mysql.com/usingmysql/python/
Reading http://dev.mysql.com/downloads/connector/python/
Best match: mysql-connector-python 1.0.7
Downloading 
http://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python-1.0.7.zip
Processing mysql-connector-python-1.0.7.zip
Running mysql-connector-python-1.0.7/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-AaNj6M/mysql-connector-python-1.0.7/egg-dist-tmp-fFnbZX
zip_safe flag not set; analyzing archive contents...
Adding mysql-connector-python 1.0.7 to easy-install.pth file

Installed 
/usr/local/lib/python2.7/dist-packages/mysql_connector_python-1.0.7-py2.7.egg
Processing dependencies for mysql-connector-python
Finished processing dependencies for mysql-connector-python
root@devcloud:~# python
Python 2.7.3rc2 (default, Apr 22 2012, 22:35:38) 
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import mysql
>>> 



On Nov 30, 2012, at 11:45 AM, Charles Moulliard <ch0...@gmail.com> wrote:

> I think that there is a missing info in the blog entry (
> http://rohityadav.in/logs/devcloud/)
> 
> This command should be executed after compilation to deploy config in the
> DB of the management server :
> 
> mvn -P developer -pl tools/devcloud -Ddeploysvr
> 
> But we get this error :
> 
> Traceback (most recent call last):
>  File "../marvin/marvin/deployDataCenter.py", line 21, in <module>
>    import cloudstackTestClient
>  File
> "/opt/cloudstack/incubator-cloudstack/tools/marvin/marvin/cloudstackTestClient.py",
> line 20, in <module>
>    import dbConnection
>  File
> "/opt/cloudstack/incubator-cloudstack/tools/marvin/marvin/dbConnection.py",
> line 18, in <module>
>    import mysql
> 
> 
> 
> On Thu, Nov 29, 2012 at 3:37 PM, Hieu Le <hieul...@gmail.com> wrote:
> 
>> Great news, thank you Rohit !
>> 
>> I think you can tweak in devcloud project by adding more options in maven
>> to set up advance zone instead of basic zone in devcloud VM (devcloud.cfg
>> is just basic).
>> 
>> On Thu, Nov 29, 2012 at 8:46 PM, Rohit Yadav <rohit.ya...@citrix.com>
>> wrote:
>> 
>>> One more thing, if you are developing inside DevCloud, you'll have to
>> make
>>> sure host ip is 192.168.56.10 (or if you change the ip from
>>> /etc/network/interfaces) and make sure you've mkisofs preinstalled. I've
>>> fixed this issue in the image which I'll upload later sometime, but the
>>> change is simply to compile and install mkisofs (there was no default pkg
>>> in debian).
>>> 
>>> Regards.
>>> ________________________________________
>>> From: sebgoa [run...@gmail.com]
>>> Sent: Thursday, November 29, 2012 6:49 PM
>>> To: cloudstack-dev@incubator.apache.org
>>> Subject: Re: New DevCloud Appliance
>>> 
>>> On Nov 28, 2012, at 7:49 PM, Rohit Yadav wrote:
>>> 
>>>> Already did that, just git pull:
>>>> 
>>> 
>> https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;a=commitdiff;h=af12a25a608cdef45547a4da83515f57fd6129bf
>>>> 
>>>> Let me know if there are any other issues.
>>> 
>>> I am using it as a host and nfs server, running the mgt server on my
>>> laptop. Everything works fine, except that the tiny linux VM never gets
>>> available. I tried to register it, but it never gets to the "ready"
>> stage.
>>> 
>>> thoughts ?
>>> 
>>> -sebastien
>>> 
>>>> 
>>>> Regards.
>>>> 
>>>> On 28-Nov-2012, at 8:28 AM, Sebastien Goasguen <run...@gmail.com>
>> wrote:
>>>> 
>>>>> Rohit, small tweak maybe:
>>>>> 
>>>>> Since you set 192.168.56.10, the tools/devcloud/devcloud.cfg needs to
>>> be updated (was 192.168.56.2)
>>>>> 
>>>>> -sebastien
>>>>> 
>>>>> On Nov 28, 2012, at 3:08 AM, Rohit Yadav <rohit.ya...@citrix.com>
>>> wrote:
>>>>> 
>>>>>> I finally got the new DevCloud appliance working and tested in
>>> different appliances, thanks to Prasanna. The new appliance can be used
>>> both as a all in a box solution like the original DevCloud or you can run
>>> mgmt server and mysql on your host os and use it as a Xen server host and
>>> NFS infrastructure. It's about 862MB, and the whole setup can run within
>> 1G
>>> RAM if you disable console proxy vm from global settings, also you may
>> run
>>> multiple DevClouds.
>>>>>> 
>>>>>> It's available for download from:
>>>>>> http://people.apache.org/~bhaisaab/cloudstack/devcloud
>>>>>> 
>>>>>> More details on the blog:
>>>>>> http://rohityadav.in/logs/devcloud/
>>>>>> 
>>>>>> Please try the new appliance and report any issues.
>>>>>> Also help write a page on cwiki.a.o. Thanks.
>>>>>> 
>>>>>> Regards.
>>>>> 
>>>> 
>>> 
>>> 
>> 
>> 
>> --
>> 
>> ------------------------------------
>> 
>> Le Quang Hieu
>> 
>> Specialist – Core Cloud Computing  Dept
>> 
>> Cloud Computing Research Center
>> 
>> Viettel Research and Development Institute
>> 
>> No. 380 Lac Long Quan Str, Tay Ho Dist, Hanoi, Vietnam
>> 
>> Mobile: (84) 974616850
>> 
> 
> 
> 
> -- 
> Charles Moulliard
> Apache Committer / Sr. Enterprise Architect (RedHat)
> Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com

Reply via email to