Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E8636D2D2 for ; Mon, 29 Oct 2012 19:06:08 +0000 (UTC) Received: (qmail 60781 invoked by uid 500); 29 Oct 2012 19:06:08 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 60628 invoked by uid 500); 29 Oct 2012 19:06:08 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 60619 invoked by uid 99); 29 Oct 2012 19:06:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Oct 2012 19:06:08 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of runseb@gmail.com designates 209.85.213.47 as permitted sender) Received: from [209.85.213.47] (HELO mail-yh0-f47.google.com) (209.85.213.47) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Oct 2012 19:06:00 +0000 Received: by mail-yh0-f47.google.com with SMTP id g23so991105yhg.6 for ; Mon, 29 Oct 2012 12:05:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=oxEnKRYw+LOCwM4BegsyVkwZ30o2jo/ZAZ2yYQEVsac=; b=RqKGLNPTEGhwvZz8bRrUReHfCwurLTP4qOn5uUXM7wrSNlwq/Fcbvx+8wiGPx4yUqr kP8ZDqRYCAYnQUbc18lPmxaFr6sWtt1Sq+jbbPeou0/IXgNLCyfBmVG2RymnSC2ikQjy hC988YLzFGZv2jN8EA8+dK40qINSKFA7lWOl7ZwNWQRNEqOJQvrqkMD6pju/sq+dWFzs vDLCgu255Cx2zNRbGth293sskbNq6yy6mkaVh95fe9GjnRjYZTLjnFHBE66cFuk3pccO ku4SUL7ZhSDoRDACs4qlmB3pXMM06lpEcFVwM278fI8+ro+hX0uK7Tb3ppLme8R4+4Nm 4fcg== Received: by 10.236.128.141 with SMTP id f13mr18603761yhi.52.1351537539853; Mon, 29 Oct 2012 12:05:39 -0700 (PDT) Received: from [10.0.0.4] (212-232.193-178.cust.bluewin.ch. [178.193.232.212]) by mx.google.com with ESMTPS id t46sm10319326yhi.3.2012.10.29.12.05.36 (version=SSLv3 cipher=OTHER); Mon, 29 Oct 2012 12:05:37 -0700 (PDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: devcloud with maven issue From: Sebastien Goasguen In-Reply-To: <0BCCCE152323764BB7FD6AE6D7A1D90601004B4359AA@BANPMAILBOX01.citrite.net> Date: Mon, 29 Oct 2012 20:05:34 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <31850FA4-A1C0-4A87-AD38-7224FCECE9CD@gmail.com> References: <0BCCCE152323764BB7FD6AE6D7A1D90601004B4359AA@BANPMAILBOX01.citrite.net> To: cloudstack-dev@incubator.apache.org X-Mailer: Apple Mail (2.1499) X-Virus-Checked: Checked by ClamAV on apache.org 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:=20 % uname -a Linux ttylinux_host 2.6.32-5-686-bigmem #1 SMP Mon Jun 13 05:03:09 UTC = 2011 i686 unknown %=20 % 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=3D0 ttl=3D64 time=3D0.528 ms 64 bytes from 192.168.56.102: icmp_seq=3D1 ttl=3D64 time=3D2.020 ms 64 bytes from 192.168.56.102: icmp_seq=3D2 ttl=3D64 time=3D0.654 ms I had my first experience with Quickview as well=85this was like a first = date :) Only glitch was that I had to install the mysql-connector-python to get = marvin going=85I 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 wrote: > Hi Sebastien, >=20 > I fixed the problem; = https://git-wip-us.apache.org/repos/asf?p=3Dincubator-cloudstack.git;a=3Dc= ommit;h=3Dc68c7e2a2d47cd8df628fa30791a00f6ec1f1c44 > git pull and let me know if that still fails; about the commands: >=20 >> mvn -P developer -pl developer -Ddeploydb > This one deploys several sql files needed to setup db for mgmt server. >=20 >> 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. >=20 >> mvn -pl :cloud-client-ui jetty:run > Run mgmt server! >=20 > 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 >=20 > Regards. >=20 > ________________________________________ > 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 >=20 > Hi, > I have followed: > = https://cwiki.apache.org/confluence/display/CLOUDSTACK/Building+with+Maven= #BuildingwithMaven-Dependencies >=20 > And I am able to run the mgt server locally with: >=20 > mvn -P developer -pl developer -Ddeploydb > mvn -pl :cloud-client-ui jetty:run >=20 > Now I am trying to check devcloud with maven as in: > = https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+devcloud= +environment+setup >=20 > mvn -P developer -pl developer -Ddeploydb >=20 > mvn -P developer -pl tools/devcloud -Ddeploydb > mvn -pl :cloud-client-ui jetty:run >=20 > What is the second line supposed to do ? >=20 > I am getting errors like these: >=20 > [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] >=20 > thanks, >=20 > -Sebastien