For developer, you can run maven command to deploydb:
mvn -P developer -pl developer -Ddeploydb
The developer build ref: 
https://cwiki.apache.org/CLOUDSTACK/building-with-maven.html

> -----Original Message-----
> From: Kanzhe Jiang [mailto:kanzhe.ji...@bigswitch.com]
> Sent: Monday, December 10, 2012 4:58 PM
> To: cloudstack-dev@incubator.apache.org
> Subject: Error when running cloud-setup-databases from the source
> 
> I cloned master branch on a ubuntu 12.04 server and installed all required
> packages that were listed.
> Failed with the following error when trying to set up the database.
> cloud_utils.py is under <repo>/python/lib.
> 
> bsn@CloudstackDev:~/incubator-
> cloudstack$ python ./client/target/utilities/bin/cloud-setup-databases
> cloud:pass@localhost--deploy-as:root:password
> Traceback (most recent call last):
>   File "./client/target/utilities/bin/cloud-setup-databases", line 46, in
> <module>
>     from cloud_utils import check_selinux, CheckFailed, resolves_to_ipv6
> 
> Question:
> 1. Should python scripts under client/target/utilities/bin be changed to
> executable and the directory is added to the path?
> 2. Am I missing a step to set up python path correctly?
> 
> Thanks,
> --
> Kanzhe Jiang
> MTS at BigSwitch

Reply via email to