incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kanzhe Jiang <kanzhe.ji...@bigswitch.com>
Subject Re: Error when running cloud-setup-databases from the source
Date Mon, 10 Dec 2012 22:09:04 GMT
The mvn command was fine. The reason I tried "cloud-setup-databases" was
trying to fix the error when trying to prepare the system vm template with
the following command.

./scripts/storage/secondary/cloud-install-sys-tmplt -m /export/secondary -u
http://download.cloud.com/templates/acton/acton-systemvm-02062012.vhd.bz2-h
xenserver -F
sed: can't read /etc/cloud/management/db.properties: No such file or
directory
sed: can't read /etc/cloud/management/db.properties: No such file or
directory
sed: can't read /etc/cloud/management/db.properties: No such file or
directory
ERROR 2005 (HY000): Unknown MySQL server host '--user=' (0)
Unable to get template Id from database
Installation failed


On Mon, Dec 10, 2012 at 2:03 PM, Edison Su <Edison.su@citrix.com> wrote:

> 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.jiang@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
>



-- 
Kanzhe Jiang
MTS at BigSwitch

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