Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3D86C10160 for ; Sat, 2 Nov 2013 05:50:09 +0000 (UTC) Received: (qmail 92479 invoked by uid 500); 2 Nov 2013 05:50:06 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 92454 invoked by uid 500); 2 Nov 2013 05:50:05 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 92443 invoked by uid 99); 2 Nov 2013 05:50:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Nov 2013 05:50:03 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of darren.s.shepherd@gmail.com designates 74.125.82.174 as permitted sender) Received: from [74.125.82.174] (HELO mail-we0-f174.google.com) (74.125.82.174) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Nov 2013 05:49:58 +0000 Received: by mail-we0-f174.google.com with SMTP id u56so306351wes.33 for ; Fri, 01 Nov 2013 22:49:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=yS4tjDMr5zL98MXcIBguh0r4K2WAOnAqpDBti++KxWA=; b=iBcTbWdJRpwaWdtBjZWsXgosmq+8vXETelgKvIQgvxj/Hoi0tLKy2gxdQlgv5bphQo IFVBhcffv7NR/5RDxUBlRzh19PWUaDhnoNHrTudx40ahFXEogf1nQkWif7zXFlOD1Hqs krf4F/ejp2gYTrcA933ZcmF9QmRentRE9IS7Tp2Igd1HwOvMmpFEguVpTr70Mh0ofcTS W8BmlfcMqw+PeBG3y+DmNSrrBdUnPBIrOjKD9UYqbjBC330nzUg6tNb1HyLsxTbx8+Pz HrDMeswl2pdbZ4EULlBGiU0MLryBp9gwKHRBE9sytYFLlJpmUcDawmuxEtpUaxWu4yLP bVww== MIME-Version: 1.0 X-Received: by 10.194.238.230 with SMTP id vn6mr100316wjc.57.1383371377214; Fri, 01 Nov 2013 22:49:37 -0700 (PDT) Received: by 10.216.152.9 with HTTP; Fri, 1 Nov 2013 22:49:37 -0700 (PDT) In-Reply-To: References: Date: Fri, 1 Nov 2013 22:49:37 -0700 Message-ID: Subject: Re: note to devcloud users on db.properties.override From: Darren Shepherd To: "dev@cloudstack.apache.org" Content-Type: multipart/alternative; boundary=089e01493984880cdc04ea2b3fa2 X-Virus-Checked: Checked by ClamAV on apache.org --089e01493984880cdc04ea2b3fa2 Content-Type: text/plain; charset=ISO-8859-1 Yeah, I see there was a commit a3cec3802c4c56173c33ccc1e08af059547fe90e that broke it again. I'll reverted that commit and ran the following to sanity test and its seems to be working now mvn -T 1.5C -DskipTests clean install chmod +x plugins/network-elements/juniper-contrail/test/resources/mysql_db_start.sh plugins/network-elements/juniper-contrail/test/resources/mysql_db_start.sh 5000 sed s/3306/5000/g utils/conf/db.properties > utils/conf/db.properties.override mvn -P developer -pl developer -Ddeploydb Make sure you run "mvn clean install" once after you update. Darren On Fri, Nov 1, 2013 at 6:34 PM, Pedro Roque Marques < pedro.r.marques@gmail.com> wrote: > Darren, > > On Oct 31, 2013, at 9:27 AM, Darren Shepherd > wrote: > > > This is fixed now. > > Maybe i'm doing something really dumb... but i still see the problem. > I do see the commit afaf637 in the branch history. > > Steps to reproduce: > 1. > plugins/network-elements/juniper-contrail/test/resources/mysql_db_start.sh > 50000 > 2 copy utils/conf/db.properties to db.properties.override > 3 modify > > # CloudStack database settings > db.cloud.username=${USER} > db.cloud.password= > db.root.password= > db.cloud.host=localhost > db.cloud.port=50000 > db.cloud.name=cloud > > 4. mvn -P developer -pl developer -Ddeploydb > ========> Initializing database=cloud with host=localhost port=3306 > username=cloud password=cloud > > It should display port=50000 and username=${USER) > > > I'll dig into this further... most likely it is being caused by something > really stupid i'm doing. But anyway i thought i would suggest a way to > start a local mysql as a way to test. The contrail plugin test harness is > allocating a random port and then trying to create a DB that is used for > the test. > > Pedro. --089e01493984880cdc04ea2b3fa2--