Re: developers and mysql

2014-02-27 Thread Mike Tutkowski
p...@gmail.com><mailto:trip...@gmail.com>>> >>> wrote: >>> >>> We are already pretty much locked in as all our database scripts are >>> MySQL >>> specific. If we want to be neutral we should fix that. >>> >>> Cheers, >>> &

Re: developers and mysql

2014-02-27 Thread Mike Tutkowski
should fix that. >> >> Cheers, >> >> Hugo >> >> Sent from my iPhone >> >> On 25 feb. 2014, at 22:57, David Nalley > da...@gnsa.us>> da...@gnsa.us<mailto:da...@gnsa.us>>> da...@gnsa.us<mailto:da...@gnsa.us><mailto:da...@gns

Re: developers and mysql

2014-02-27 Thread Mike Tutkowski
25, 2014 at 4:44 PM, Alex Huang alex.hu...@citrix.com> > <mailto:alex.hu...@citrix.com> alex.hu...@citrix.com<mailto:alex.hu...@citrix.com> alex.hu...@citrix.com>>> > wrote: > Who added the dependency on mysql for framework-db? We actually > worked > hard t

Re: developers and mysql

2014-02-27 Thread John Kinsella
te: Who added the dependency on mysql for framework-db? We actually worked hard to keep that depending on jdbc only. It should not depend on mysql. We need to fix that. --Alex -Original Message- From: Trippie [mailto:trip...@gmail.com] On Behalf Of Hugo Trippaers Sent: Tuesday, February 25, 20

Re: developers and mysql

2014-02-27 Thread Mike Tutkowski
5 feb. 2014, at 22:57, David Nalley >>> da...@gnsa.us>>>> da...@gnsa.us<mailto:da...@gnsa.us>>> wrote: >>>> >>>> git blame showed that it came from the HA/replication work from >>>> Damoder. >>>> I didn't sp

Re: developers and mysql

2014-02-27 Thread Mike Tutkowski
On 25 feb. 2014, at 22:57, David Nalley >> da...@gnsa.us>>> da...@gnsa.us<mailto:da...@gnsa.us>>> wrote: >>> >>> git blame showed that it came from the HA/replication work from >>> Damoder. >>> I didn't speak up at the time, but

Re: developers and mysql

2014-02-27 Thread Chip Childers
Never mind - I see that was asked and answered. On Thu, Feb 27, 2014 at 10:25 AM, Chip Childers wrote: > On Thu, Feb 27, 2014 at 4:02 AM, Santhosh Edukulla > wrote: >> Does this all warrant a process sign off of upgrade testing? HA working in >> production and upgrading to felton with changes b

Re: developers and mysql

2014-02-27 Thread Chip Childers
On Thu, Feb 27, 2014 at 4:02 AM, Santhosh Edukulla wrote: > Does this all warrant a process sign off of upgrade testing? HA working in > production and upgrading to felton with changes below? > > Thanks! > Santhosh What is "felton"?

RE: developers and mysql

2014-02-27 Thread Alex Huang
> > > > I would prefer the entire file is not in CloudStack as it really has > > nothing to > do with CloudStack itself. But, I'm fine with Hugo suggestion of this being > put > into pluginin enabled by noredist and mysql is only dependent upon in that > plugin's pom.xml. > > My reasoning here

RE: developers and mysql

2014-02-27 Thread Alex Huang
Hugo, Felton is release name in citrix. I think Santhosh meant 4.4. --Alex > -Original Message- > From: Trippie [mailto:trip...@gmail.com] On Behalf Of Hugo Trippaers > Sent: Thursday, February 27, 2014 4:35 AM > To: > Subject: Re: developers and mysql > >

RE: developers and mysql

2014-02-27 Thread Santhosh Edukulla
7:35 AM To: Subject: Re: developers and mysql We don’t need to do anything for upgrade testing, in the release this feature is disabled, so there will be no issues when upgrading a stock release. However it might be worth mentioning that if the admin switched to the HA procedure he should either di

Re: developers and mysql

2014-02-27 Thread Hugo Trippaers
anges below? > > Thanks! > Santhosh > > From: Trippie [trip...@gmail.com] on behalf of Hugo Trippaers > [h...@trippaers.nl] > Sent: Thursday, February 27, 2014 3:51 AM > To: > Subject: Re: deve

RE: developers and mysql

2014-02-27 Thread Damoder Reddy
sday, February 27, 2014 2:22 PM To: Subject: Re: developers and mysql Done commit a0f932437c9ac9a0a82cc9b45b1aa6f17e8a478a Author: Hugo Trippaers Date: Thu Feb 27 09:48:55 2014 +0100 Move mysql ha strategy to a plugin. Activate this plugin using the mysqlha profile or the noredist flag O

RE: developers and mysql

2014-02-27 Thread Santhosh Edukulla
27, 2014 3:51 AM To: Subject: Re: developers and mysql Done commit a0f932437c9ac9a0a82cc9b45b1aa6f17e8a478a Author: Hugo Trippaers Date: Thu Feb 27 09:48:55 2014 +0100 Move mysql ha strategy to a plugin. Activate this plugin using the mysqlha profile or the noredist flag On 27 feb

Re: developers and mysql

2014-02-27 Thread Hugo Trippaers
t;> >>>> -abhi >>>> >>>> >>>> On 27/02/14 10:54 am, "Alex Huang" wrote: >>>> >>>>> Hi Damoder, >>>>> >>>>> I don't think I follow. There's clearly compile dependency on m

Re: developers and mysql

2014-02-27 Thread Hugo Trippaers
on is valuable. That said i would be curious to know if anyone is relying on this at the moment. > > --Alex > >> -Original Message- >> From: Abhinandan Prateek [mailto:abhinandan.prat...@citrix.com] >> Sent: Wednesday, February 26, 2014 9:54 PM >> To: dev

RE: developers and mysql

2014-02-27 Thread Alex Huang
. --Alex > -Original Message- > From: Abhinandan Prateek [mailto:abhinandan.prat...@citrix.com] > Sent: Wednesday, February 26, 2014 9:54 PM > To: dev@cloudstack.apache.org; Damoder Reddy > Subject: Re: developers and mysql > > Immediately if there are no specific l

Re: developers and mysql

2014-02-27 Thread Hugo Trippaers
Ok, I’ll fix it in the poms then. Cheers, Hugo On 27 feb. 2014, at 09:02, Alex Huang wrote: > > >> -Original Message- >> From: Trippie [mailto:trip...@gmail.com] On Behalf Of Hugo Trippaers >> Sent: Wednesday, February 26, 2014 11:36 PM >> To: >&g

RE: developers and mysql

2014-02-27 Thread Alex Huang
> -Original Message- > From: Trippie [mailto:trip...@gmail.com] On Behalf Of Hugo Trippaers > Sent: Wednesday, February 26, 2014 11:36 PM > To: > Subject: Re: developers and mysql > > Hey, > > StaticStrategy is an optional component, so it should be perf

Re: developers and mysql

2014-02-26 Thread Hugo Trippaers
it a > runtime dependency only. > > --Alex > >> -Original Message- >> From: Damoder Reddy >> Sent: Wednesday, February 26, 2014 9:20 PM >> To: Alex Huang; dev@cloudstack.apache.org >> Subject: RE: developers and mysql >> >> Hi Alex, >> &g

Re: developers and mysql

2014-02-26 Thread Mike Tutkowski
d lock us in. >> >> On Tue, Feb 25, 2014 at 4:44 PM, Alex Huang > <mailto:alex.hu...@citrix.com>> alex.hu...@citrix.com<mailto:alex.hu...@citrix.com>>> >> wrote: >> Who added the dependency on mysql for framework-db? We actually >> worked &g

Re: developers and mysql

2014-02-26 Thread Abhinandan Prateek
riginal Message----- >>> From: Damoder Reddy >>> Sent: Wednesday, February 26, 2014 9:20 PM >>> To: Alex Huang; dev@cloudstack.apache.org >>> Subject: RE: developers and mysql >>> >>> Hi Alex, >>> >>> The mysql dependency

Re: developers and mysql

2014-02-26 Thread Abhinandan Prateek
ncy only. > >--Alex > >> -Original Message- >> From: Damoder Reddy >> Sent: Wednesday, February 26, 2014 9:20 PM >> To: Alex Huang; dev@cloudstack.apache.org >> Subject: RE: developers and mysql >> >> Hi Alex, >> >> The mysql

RE: developers and mysql

2014-02-26 Thread Alex Huang
DB HA wiki. That to me would make it a runtime dependency only. --Alex > -Original Message- > From: Damoder Reddy > Sent: Wednesday, February 26, 2014 9:20 PM > To: Alex Huang; dev@cloudstack.apache.org > Subject: RE: developers and mysql > > Hi Alex, > >

RE: developers and mysql

2014-02-26 Thread Damoder Reddy
dy Subject: RE: developers and mysql @Hugo The mysql scripts is a legacy of we used to dump the mysql db to create the create-schema sql but it is at worst still a runtime dependency. We should fix it but I don't think it's as high a priority as the compile time dependency that has be

Re: developers and mysql

2014-02-26 Thread Mike Tutkowski
alex.hu...@citrix.com> alex.hu...@citrix.com<mailto:alex.hu...@citrix.com>>> > wrote: > Who added the dependency on mysql for framework-db? We actually > worked > hard to keep that depending on jdbc only. It should not depend on mysql. > We need to fix that. > &g

Re: developers and mysql

2014-02-26 Thread John Kinsella
Behalf Of Hugo Trippaers Sent: Tuesday, February 25, 2014 3:34 AM To: mailto:dev@cloudstack.apache.org><mailto:dev@cloudstack.apache.org>> Subject: Re: developers and mysql Heya, Just pushed a change that will make the database work again. :-) @Alex. The mysql jar used to be pulled in as a de

Re: developers and mysql

2014-02-26 Thread Mike Tutkowski
iginal Message- > From: Trippie [mailto:trip...@gmail.com] On Behalf Of Hugo Trippaers > Sent: Tuesday, February 25, 2014 3:34 AM > To: mailto:dev@cloudstack.apache.org>> > Subject: Re: developers and mysql > > Heya, > > Just pushed a change that will make the database wo

Re: developers and mysql

2014-02-26 Thread John Kinsella
to fix that. --Alex -Original Message- From: Trippie [mailto:trip...@gmail.com] On Behalf Of Hugo Trippaers Sent: Tuesday, February 25, 2014 3:34 AM To: mailto:dev@cloudstack.apache.org>> Subject: Re: developers and mysql Heya, Just pushed a change that will make the database work

Re: developers and mysql

2014-02-26 Thread Mike Tutkowski
gt; >> > > >> --Alex > > >> > > >>> -Original Message- > > >>> From: Trippie [mailto:trip...@gmail.com] On Behalf Of Hugo Trippaers > > >>> Sent: Tuesday, February 25, 2014 3:34 AM > > >>> To: >

RE: developers and mysql

2014-02-26 Thread Alex Huang
-Alex > -Original Message- > From: Hugo Trippaers [mailto:trip...@gmail.com] > Sent: Tuesday, February 25, 2014 2:02 PM > To: dev@cloudstack.apache.org > Cc: dev@cloudstack.apache.org > Subject: Re: developers and mysql > > We are already pretty much locked in as all

Re: developers and mysql

2014-02-26 Thread Sonal Ojha
We need to fix that. > >> > >> --Alex > >> > >>> -Original Message- > >>> From: Trippie [mailto:trip...@gmail.com] On Behalf Of Hugo Trippaers > >>> Sent: Tuesday, February 25, 2014 3:34 AM > >>> To: > >>&

Re: developers and mysql

2014-02-25 Thread Hugo Trippaers
to keep that depending on jdbc only. It should not depend on mysql. We >> need to fix that. >> >> --Alex >> >>> -Original Message- >>> From: Trippie [mailto:trip...@gmail.com] On Behalf Of Hugo Trippaers >>> Sent: Tuesday, February

Re: developers and mysql

2014-02-25 Thread Hugo Trippaers
at. > > --Alex > >> -Original Message- >> From: Trippie [mailto:trip...@gmail.com] On Behalf Of Hugo Trippaers >> Sent: Tuesday, February 25, 2014 3:34 AM >> To: >> Subject: Re: developers and mysql >> >> Heya, >> >> Just pushed a

Re: developers and mysql

2014-02-25 Thread David Nalley
y 25, 2014 3:34 AM >> To: >> Subject: Re: developers and mysql >> >> Heya, >> >> Just pushed a change that will make the database work again. :-) >> >> >> @Alex. The mysql jar used to be pulled in as a dependency from framework- >> db. As

RE: developers and mysql

2014-02-25 Thread Alex Huang
: Tuesday, February 25, 2014 3:34 AM > To: > Subject: Re: developers and mysql > > Heya, > > Just pushed a change that will make the database work again. :-) > > > @Alex. The mysql jar used to be pulled in as a dependency from framework- > db. As the client target i

Re: developers and mysql

2014-02-25 Thread Mike Tutkowski
Ah, not back ported to 4.3...that will do it. :) On Tue, Feb 25, 2014 at 1:59 PM, John Kinsella wrote: > Ah - don't think that's been cherry-picked yet to 4.3... > > On Feb 25, 2014, at 12:23 PM, Mike Tutkowski > wrote: > > I should point out that I'm havin

Re: developers and mysql

2014-02-25 Thread Mike Tutkowski
After examining the output more, I noticed that a lot of tests were run, but at the very end this warning was printed: [WARNING] The requested profile "deps" could not be activated because it does not exist. On Tue, Feb 25, 2014 at 1:30 PM, Mike Tutkowski < mike.tutkow...@solidfire.com> wrote:

Re: developers and mysql

2014-02-25 Thread John Kinsella
Ah - don’t think that’s been cherry-picked yet to 4.3... On Feb 25, 2014, at 12:23 PM, Mike Tutkowski mailto:mike.tutkow...@solidfire.com>> wrote: I should point out that I'm having this issue on 4.3 (haven't tried to run master in a couple weeks). On Tue, Feb 25, 2014 at 1:16 PM, Mike Tutkows

Re: developers and mysql

2014-02-25 Thread Mike Tutkowski
Unfortunately I get the same result after running "mvn -P deps". I've tried it on both Ubuntu 12.04 and Mac OS X 10.8.3. Same results: ERROR [c.c.u.d.Merovingian2] (main:null) Unable to get a new db connection java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/cloud?a

Re: developers and mysql

2014-02-25 Thread Mike Tutkowski
No, let me try that now. Thanks On Tue, Feb 25, 2014 at 1:22 PM, John Kinsella wrote: > Did you re-run mvn -P deps? > > On Feb 25, 2014, at 12:16 PM, Mike Tutkowski > wrote: > > I'm still getting the following error: > > ERROR [c.c.u.d.Merovingian2] (main:n

Re: developers and mysql

2014-02-25 Thread Mike Tutkowski
I should point out that I'm having this issue on 4.3 (haven't tried to run master in a couple weeks). On Tue, Feb 25, 2014 at 1:16 PM, Mike Tutkowski < mike.tutkow...@solidfire.com> wrote: > I'm still getting the following error: > > > ERROR [c.c.u.d.Merovingian2] (main:null) Unable to get a new

Re: developers and mysql

2014-02-25 Thread John Kinsella
Did you re-run mvn -P deps? On Feb 25, 2014, at 12:16 PM, Mike Tutkowski mailto:mike.tutkow...@solidfire.com>> wrote: I'm still getting the following error: ERROR [c.c.u.d.Merovingian2] (main:null) Unable to get a new db connection java.sql.SQLException: No suitable driver found for jdbc:mysql:

Re: developers and mysql

2014-02-25 Thread Mike Tutkowski
I'm still getting the following error: ERROR [c.c.u.d.Merovingian2] (main:null) Unable to get a new db connection java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/cloud?autoReconnect=true&prepStmtCacheSize=517&cachePrepStmts=true I built using "mvn -P developer,syst

Re: developers and mysql

2014-02-25 Thread John Kinsella
Yep that works - thanks! Will close 6157. On Feb 25, 2014, at 3:33 AM, Hugo Trippaers mailto:h...@trippaers.nl>> wrote: Heya, Just pushed a change that will make the database work again. :-) @Alex. The mysql jar used to be pulled in as a dependency from framework-db. As the client target is

Re: developers and mysql

2014-02-25 Thread Hugo Trippaers
Heya, Just pushed a change that will make the database work again. :-) @Alex. The mysql jar used to be pulled in as a dependency from framework-db. As the client target is responsible for building the war file for the packages including this in the client pom would also put it in the war file

Re: developers and mysql

2014-02-24 Thread Rajani Karuturi
Can we move the mysql-connector-java dependency to the parent POM(SOURCE-ROOT/pom.xml) and define it different scopes for each profile? ie) developer mysql mysql-connector-java compile production mysql

RE: developers and mysql

2014-02-24 Thread Alex Huang
--Alex > -Original Message- > From: Hugo Trippaers [mailto:trip...@gmail.com] > Sent: Monday, February 24, 2014 10:12 AM > To: dev@cloudstack.apache.org > Cc: dev@cloudstack.apache.org > Subject: Re: developers and mysql > > Indeed, > > I've been f

Re: developers and mysql

2014-02-24 Thread John Kinsella
Nope. That’s the current state of things. On Feb 24, 2014, at 2:28 PM, Alena Prokharchyk mailto:alena.prokharc...@citrix.com>> wrote: Sorry, forgot to mention the steps I¹ve done: mvn install -P developer,systemvm -DskipTests cp mysql-connector-java-5.1.21.jar client/target/cloud-client-ui-4.4.

Re: developers and mysql

2014-02-24 Thread Alena Prokharchyk
Sorry, forgot to mention the steps I¹ve done: mvn install -P developer,systemvm -DskipTests cp mysql-connector-java-5.1.21.jar client/target/cloud-client-ui-4.4.0-SNAPSHOT/WEB-INF/lib/ mvn -pl :cloud-client-ui jetty:run And I still hitting the error below. Am I missing something? Thanks, Alena.

Re: developers and mysql

2014-02-24 Thread Alena Prokharchyk
Sorry, forgot to mention the steps I¹ve done: On 2/24/14, 11:41 AM, "Alena Prokharchyk" wrote: >Hugo, fail to start latest master build on my machine, here is the error: > >ERROR [c.c.u.d.Merovingian2] (main:null) Unable to get a new db connection >java.sql.SQLException: No suitable driver foun

Re: developers and mysql

2014-02-24 Thread Alena Prokharchyk
Hugo, fail to start latest master build on my machine, here is the error: ERROR [c.c.u.d.Merovingian2] (main:null) Unable to get a new db connection java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/cloud?autoReconnect=true&prepStmtCacheSize=517& cachePrepStmts=true

Re: developers and mysql

2014-02-24 Thread Hugo Trippaers
Indeed, I've been fighting with maven all day to get the development profile to include MySql. No luck yet, will give it another shot tomorrow :-) Hugo Sent from my iPhone > On 24 feb. 2014, at 18:21, David Nalley wrote: > > So it should be ok to include the jar in non-default builds. deve

Re: developers and mysql

2014-02-24 Thread David Nalley
So it should be ok to include the jar in non-default builds. developer and deploydb are not what we'd expect a normal user to consume. (Anyone else's head spinning?) --David On Mon, Feb 24, 2014 at 11:44 AM, John Kinsella wrote: > I created CLOUDSTACK-6157 over the weekend to track this. Not sur

Re: developers and mysql

2014-02-24 Thread John Kinsella
I created CLOUDSTACK-6157 over the weekend to track this. Not sure adding the jar after compile will help the deploydb target, but will give it a try this morning. Could we set up the pom.xmls to use the jar for execution if it’s found in the user/system classpaths while respecting the legal re

RE: developers and mysql

2014-02-24 Thread Rayees Namathponnan
go Trippaers Sent: Monday, February 24, 2014 7:36 AM To: Subject: developers and mysql Heya, as the mysql dependency is now set to provided in all the poms to fix our license compliancy the jetty target and the deployed targets are not working. I'm trying to configure an optional prof

developers and mysql

2014-02-24 Thread Hugo Trippaers
Heya, as the mysql dependency is now set to provided in all the poms to fix our license compliancy the jetty target and the deployed targets are not working. I’m trying to configure an optional profile to enable those targets to include the mysql dependency while executing, but so far no luck.