cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rohit Yadav <>
Subject RE: devcloud with maven issue
Date Mon, 29 Oct 2012 16:06:35 GMT
Hi Sebastien,

I fixed the problem;;a=commit;h=c68c7e2a2d47cd8df628fa30791a00f6ec1f1c44
git pull and let me know if that still fails; about the commands:

> mvn -P developer -pl developer -Ddeploydb
This one deploys several sql files needed to setup db for mgmt server.

> mvn -P developer -pl tools/devcloud -Ddeploydb
This one sets up tools/devcloud/devcloud.sql over the db schema applied by previous command.
If you see the file, it simply sets some global settings and built-in template.

> mvn -pl :cloud-client-ui jetty:run
Run mgmt server!

Make sure to restart mgmt server after you deploy the datacenter, the default toold/devcloud/devcloud.cfg
using: (this would require python and mysql-connector-python, get it via easy_install or pip):
 mvn -P developer,deploysvr -pl tools/devcloud -Ddeploysvr


From: Sebastien Goasguen []
Sent: Monday, October 29, 2012 9:09 PM
Subject: devcloud with maven issue

I have followed:

And I am able to run the mgt server locally with:

mvn -P developer -pl developer -Ddeploydb
mvn -pl :cloud-client-ui jetty:run

Now I am trying to check devcloud with maven as in:

 mvn -P developer -pl developer -Ddeploydb

 mvn -P developer -pl tools/devcloud -Ddeploydb
 mvn -pl :cloud-client-ui jetty:run

What is the second line supposed to do ?

I am getting errors like these:

[INFO] --- sql-maven-plugin:1.5:execute (create-schema) @ cloud-devcloud ---
[INFO] Executing file: /var/folders/78/47rnllms4dz54_nqwq44q1w80000gn/T/devcloud.2089700605sql
[ERROR] Failed to execute:  INSERT INTO `cloud`.`configuration` (instance, name, value) VALUE('DEFAULT',
'integration.api.port', '8096')
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.070s
[INFO] Finished at: Mon Oct 29 16:31:30 CET 2012
[INFO] Final Memory: 11M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:sql-maven-plugin:1.5:execute (create-schema)
on project cloud-devcloud: Duplicate entry 'integration.api.port' for key 'PRIMARY' ->
[Help 1]



View raw message