I'm not sure what can be the issue, probably some env. config issue. Try what Edison recommends, with that you should be able to setup your database.
Regards. On 10-Dec-2012, at 1:58 PM, Kanzhe Jiang <kanzhe.ji...@bigswitch.com> wrote: > 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