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: dev@cloudstack.apache.org Subject: Re: developers and mysql Hey, StaticStrategy is an optional component, so it should be perfectly OK

Re: developers and mysql

2014-02-27 Thread Hugo Trippaers
Subject: Re: developers and mysql Hey, StaticStrategy is an optional component, so it should be perfectly OK to include it at compile time in our source code. If i understand the apache rules correctly we can keep it in the code base without problems as long as it is optional. We should

RE: developers and mysql

2014-02-27 Thread Alex Huang
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 licensing issues we should maintain the status-quo

Re: developers and mysql

2014-02-27 Thread Hugo Trippaers
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@cloudstack.apache.org; Damoder Reddy Subject: Re: developers and mysql Immediately

Re: developers and mysql

2014-02-27 Thread Hugo Trippaers
: developers and mysql Immediately if there are no specific licensing issues we should maintain the status-quo. The fact is that some other HA solutions will not work as all the schema related scripts are mysql engine specific. When we decide to move the mysql dependency out of cloudstack we

RE: developers and mysql

2014-02-27 Thread Santhosh Edukulla
27, 2014 3:51 AM To: dev@cloudstack.apache.org Subject: Re: developers and mysql Done commit a0f932437c9ac9a0a82cc9b45b1aa6f17e8a478a Author: Hugo Trippaers htrippa...@schubergphilis.com Date: Thu Feb 27 09:48:55 2014 +0100 Move mysql ha strategy to a plugin. Activate this plugin using

RE: developers and mysql

2014-02-27 Thread Damoder Reddy
, February 27, 2014 2:22 PM To: dev@cloudstack.apache.org Subject: Re: developers and mysql Done commit a0f932437c9ac9a0a82cc9b45b1aa6f17e8a478a Author: Hugo Trippaers htrippa...@schubergphilis.com Date: Thu Feb 27 09:48:55 2014 +0100 Move mysql ha strategy to a plugin. Activate this plugin

RE: developers and mysql

2014-02-27 Thread Santhosh Edukulla
@cloudstack.apache.org 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

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: dev@cloudstack.apache.org Subject: Re: developers and mysql We don't

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 is that

Re: developers and mysql

2014-02-27 Thread Chip Childers
On Thu, Feb 27, 2014 at 4:02 AM, Santhosh Edukulla santhosh.eduku...@citrix.com 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 Chip Childers
Never mind - I see that was asked and answered. On Thu, Feb 27, 2014 at 10:25 AM, Chip Childers chipchild...@apache.org wrote: On Thu, Feb 27, 2014 at 4:02 AM, Santhosh Edukulla santhosh.eduku...@citrix.com wrote: Does this all warrant a process sign off of upgrade testing? HA working in

Re: developers and mysql

2014-02-27 Thread Mike Tutkowski
Trippaers Sent: Tuesday, February 25, 2014 3:34 AM To: dev@cloudstack.apache.orgmailto:dev@cloudstack.apache.orgmailto: 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

Re: developers and mysql

2014-02-27 Thread Mike Tutkowski
@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 dependency from framework- db. As the client target is responsible for building the war file for the packages

Re: developers and mysql

2014-02-27 Thread John Kinsella
@cloudstack.apache.orgmailto: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 dependency from framework- db. As the client target

Re: developers and mysql

2014-02-27 Thread Mike Tutkowski
@cloudstack.apache.orgmailto:dev@cloudstack.apache.orgmailto: 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 dependency from framework

Re: developers and mysql

2014-02-27 Thread Mike Tutkowski
@cloudstack.apache.orgmailto: 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 dependency from framework- db. As the client target is responsible

Re: developers and mysql

2014-02-27 Thread Mike Tutkowski
-Original Message- From: Trippie [mailto:trip...@gmail.com] On Behalf Of Hugo Trippaers Sent: Tuesday, February 25, 2014 3:34 AM To: dev@cloudstack.apache.orgmailto:dev@cloudstack.apache.orgmailto: dev@cloudstack.apache.org mailto:dev@cloudstack.apache.org Subject: Re: developers

Re: developers and mysql

2014-02-26 Thread Sonal Ojha
: Trippie [mailto:trip...@gmail.com] On Behalf Of Hugo Trippaers Sent: Tuesday, February 25, 2014 3:34 AM To: 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

Re: developers and mysql

2014-02-26 Thread Mike Tutkowski
@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 dependency from framework- db. As the client target is responsible for building the war file

Re: developers and mysql

2014-02-26 Thread John Kinsella
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, 2014 3:34 AM To: dev@cloudstack.apache.orgmailto:dev@cloudstack.apache.org Subject: Re: developers

Re: developers and mysql

2014-02-26 Thread Mike Tutkowski
Trippaers Sent: Tuesday, February 25, 2014 3:34 AM To: dev@cloudstack.apache.orgmailto: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 dependency from framework- db

Re: developers and mysql

2014-02-26 Thread John Kinsella
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, 2014 3:34 AM To: dev@cloudstack.apache.orgmailto:dev@cloudstack.apache.orgmailto:dev@cloudstack.apache.org Subject: Re: developers and mysql

Re: developers and mysql

2014-02-26 Thread Mike Tutkowski
, February 25, 2014 3:34 AM To: dev@cloudstack.apache.orgmailto:dev@cloudstack.apache.orgmailto: 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 dependency from

RE: developers and mysql

2014-02-26 Thread Damoder Reddy
: 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 been introduced. @Damoder

RE: developers and mysql

2014-02-26 Thread Alex Huang
. 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, The mysql dependency is on for only

Re: developers and mysql

2014-02-26 Thread Abhinandan Prateek
- 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 is on for only StaticStrategy.java as mentioned by you. And this is not used anywhere in the code base

Re: developers and mysql

2014-02-26 Thread Abhinandan Prateek
: developers and mysql Hi Alex, The mysql dependency is on for only StaticStrategy.java as mentioned by you. And this is not used anywhere in the code base as a compile time dependency rather used as a run time dependency in db.properties. this will be passed to mysql driver as part of mysql

Re: developers and mysql

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

Re: developers and mysql

2014-02-26 Thread Hugo Trippaers
-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 dependency is on for only StaticStrategy.java as mentioned by you. And this is not used anywhere

RE: developers and mysql

2014-02-25 Thread Alex Huang
, February 25, 2014 3:34 AM To: 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 dependency from framework- db. As the client target is responsible for building

Re: developers and mysql

2014-02-25 Thread David Nalley
@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 dependency from framework- db. As the client target is responsible for building the war file for the packages including

Re: developers and mysql

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

Re: developers and mysql

2014-02-25 Thread Hugo Trippaers
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, 2014 3:34 AM To: dev@cloudstack.apache.org Subject: Re: developers and mysql Heya

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-25 Thread John Kinsella
Yep that works - thanks! Will close 6157. On Feb 25, 2014, at 3:33 AM, Hugo Trippaers h...@trippaers.nlmailto: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

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=trueprepStmtCacheSize=517cachePrepStmts=true I built using mvn -P

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 mike.tutkow...@solidfire.commailto: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

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 db

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 j...@stratosec.co wrote: Did you re-run mvn -P deps? On Feb 25, 2014, at 12:16 PM, Mike Tutkowski mike.tutkow...@solidfire.com mailto:mike.tutkow...@solidfire.com wrote: I'm still getting the following error:

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

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 mike.tutkow...@solidfire.commailto: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,

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 j...@stratosec.co wrote: Ah - don't think that's been cherry-picked yet to 4.3... On Feb 25, 2014, at 12:23 PM, Mike Tutkowski mike.tutkow...@solidfire.com mailto:mike.tutkow...@solidfire.com

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

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: 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 j...@stratosec.co wrote: I created CLOUDSTACK-6157 over the weekend to

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 da...@gnsa.us wrote: So it should be ok to include the jar in non-default

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=trueprepStmtCacheSize=517 cachePrepStmts=true

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 alena.prokharc...@citrix.com 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:

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 John Kinsella
Nope. That’s the current state of things. On Feb 24, 2014, at 2:28 PM, Alena Prokharchyk alena.prokharc...@citrix.commailto: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

RE: developers and mysql

2014-02-24 Thread Alex Huang
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 fighting with maven all day to get the development profile to include MySql

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) profile iddeveloper/id dependencies dependency groupIdmysql/groupId artifactIdmysql-connector-java/artifactId