incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien Goasguen <run...@gmail.com>
Subject Re: devcloud with maven issue
Date Mon, 29 Oct 2012 19:05:34 GMT
Rohit, you are the man !!!!

Juts works:

air:Desktop sebastiengoasguen$ ssh root@192.168.56.102
The authenticity of host '192.168.56.102 (192.168.56.102)' can't be established.
RSA key fingerprint is 02:43:6c:24:c5:79:b6:e2:c8:b7:e8:3c:8d:13:37:91.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.56.102' (RSA) to the list of known hosts.
root@192.168.56.102's password: 
% uname -a
Linux ttylinux_host 2.6.32-5-686-bigmem #1 SMP Mon Jun 13 05:03:09 UTC 2011 i686 unknown
% 
% exit
logout
Connection to 192.168.56.102 closed.
air:Desktop sebastiengoasguen$ ping 192.168.56.102
PING 192.168.56.102 (192.168.56.102): 56 data bytes
64 bytes from 192.168.56.102: icmp_seq=0 ttl=64 time=0.528 ms
64 bytes from 192.168.56.102: icmp_seq=1 ttl=64 time=2.020 ms
64 bytes from 192.168.56.102: icmp_seq=2 ttl=64 time=0.654 ms


I had my first experience with Quickview as well…this was like a first date :)

Only glitch was that I had to install the mysql-connector-python to get marvin going…I recalled
the email thread about it, I will check tomorrow if it's documented properly.

Cheers, done for the night.

-Sebastien


On Oct 29, 2012, at 5:06 PM, Rohit Yadav <rohit.yadav@citrix.com> wrote:

> Hi Sebastien,
> 
> I fixed the problem; https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;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
> 
> Regards.
> 
> ________________________________________
> From: Sebastien Goasguen [runseb@gmail.com]
> Sent: Monday, October 29, 2012 9:09 PM
> To: cloudstack-dev@incubator.apache.org
> Subject: devcloud with maven issue
> 
> Hi,
> I have followed:
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Building+with+Maven#BuildingwithMaven-Dependencies
> 
> 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:
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+devcloud+environment+setup
> 
> 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] BUILD FAILURE
> [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]
> [ERROR]
> 
> thanks,
> 
> -Sebastien


Mime
View raw message