[jira] [Commented] (CLOUDSTACK-6892) Database HA Config prevents mgmt server from starting
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14209673#comment-14209673 ] ASF subversion and git services commented on CLOUDSTACK-6892: - Commit a18d067278f6b58914dc6a5d44b775ada6cf073e in cloudstack's branch refs/heads/master from [~rohit.ya...@shapeblue.com] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a18d067 ] CLOUDSTACK-6892: use lowercase noredist, as package.sh lowercases build type Signed-off-by: Rohit Yadav rohit.ya...@shapeblue.com Database HA Config prevents mgmt server from starting - Key: CLOUDSTACK-6892 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6892 Project: CloudStack Issue Type: Bug Security Level: Public(Anyone can view this level - this is the default.) Components: Install and Setup, Management Server Affects Versions: Future, 4.3.0, 4.4.0 Environment: MySQL configured for DB HA Reporter: Adrian Lewis Assignee: Hugo Trippaers Priority: Critical Fix For: 4.5.0, 4.3.1, 4.4.1 When configuring the database HA feature introduced in 4.3, the manangement server fails to create the DB connection due to the mysql connector jar being loaded using tomcat's common class loader but the cloud-plugin-database-mysqlha-4.3.0.jar is loaded by the webapp class loader. The cloud-plugin-database-mysqlha-4.3.0.jar needs to also be loaded from the common class loader instead of webapp class loader. Fix is to declare the cloud-plugin-database-mysqlha-4.3.0.jar under the common.loader section in /etc/cloudstack/management/catalina.properties. Only tested using a fresh install on Centos 6.5 and the public repo packages. Manual fix provided by Damoder Reddy in users mailing list: Looks like we did not change the catalina.properties while refactoring out the mysql connector part -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CLOUDSTACK-6892) Database HA Config prevents mgmt server from starting
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14209679#comment-14209679 ] ASF subversion and git services commented on CLOUDSTACK-6892: - Commit 2aabcc11d305584dd200427bad13aaf1d46374a4 in cloudstack's branch refs/heads/4.3 from [~rohit.ya...@shapeblue.com] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=2aabcc1 ] CLOUDSTACK-6892: use lowercase noredist, as package.sh lowercases build type Signed-off-by: Rohit Yadav rohit.ya...@shapeblue.com (cherry picked from commit a18d067278f6b58914dc6a5d44b775ada6cf073e) Signed-off-by: Rohit Yadav rohit.ya...@shapeblue.com Database HA Config prevents mgmt server from starting - Key: CLOUDSTACK-6892 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6892 Project: CloudStack Issue Type: Bug Security Level: Public(Anyone can view this level - this is the default.) Components: Install and Setup, Management Server Affects Versions: Future, 4.3.0, 4.4.0 Environment: MySQL configured for DB HA Reporter: Adrian Lewis Assignee: Hugo Trippaers Priority: Critical Fix For: 4.5.0, 4.3.1, 4.4.1 When configuring the database HA feature introduced in 4.3, the manangement server fails to create the DB connection due to the mysql connector jar being loaded using tomcat's common class loader but the cloud-plugin-database-mysqlha-4.3.0.jar is loaded by the webapp class loader. The cloud-plugin-database-mysqlha-4.3.0.jar needs to also be loaded from the common class loader instead of webapp class loader. Fix is to declare the cloud-plugin-database-mysqlha-4.3.0.jar under the common.loader section in /etc/cloudstack/management/catalina.properties. Only tested using a fresh install on Centos 6.5 and the public repo packages. Manual fix provided by Damoder Reddy in users mailing list: Looks like we did not change the catalina.properties while refactoring out the mysql connector part -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CLOUDSTACK-6892) Database HA Config prevents mgmt server from starting
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14209687#comment-14209687 ] ASF subversion and git services commented on CLOUDSTACK-6892: - Commit 5107472a01eaadc8b7afdeee6085240379c19605 in cloudstack's branch refs/heads/master from [~rohit.ya...@shapeblue.com] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=5107472 ] CLOUDSTACK-6892: use lowercase noredist, as package.sh lowercases build type Signed-off-by: Rohit Yadav rohit.ya...@shapeblue.com (cherry picked from commit a18d067278f6b58914dc6a5d44b775ada6cf073e) Signed-off-by: Rohit Yadav rohit.ya...@shapeblue.com Database HA Config prevents mgmt server from starting - Key: CLOUDSTACK-6892 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6892 Project: CloudStack Issue Type: Bug Security Level: Public(Anyone can view this level - this is the default.) Components: Install and Setup, Management Server Affects Versions: Future, 4.3.0, 4.4.0 Environment: MySQL configured for DB HA Reporter: Adrian Lewis Assignee: Hugo Trippaers Priority: Critical Fix For: 4.5.0, 4.3.1, 4.4.1 When configuring the database HA feature introduced in 4.3, the manangement server fails to create the DB connection due to the mysql connector jar being loaded using tomcat's common class loader but the cloud-plugin-database-mysqlha-4.3.0.jar is loaded by the webapp class loader. The cloud-plugin-database-mysqlha-4.3.0.jar needs to also be loaded from the common class loader instead of webapp class loader. Fix is to declare the cloud-plugin-database-mysqlha-4.3.0.jar under the common.loader section in /etc/cloudstack/management/catalina.properties. Only tested using a fresh install on Centos 6.5 and the public repo packages. Manual fix provided by Damoder Reddy in users mailing list: Looks like we did not change the catalina.properties while refactoring out the mysql connector part -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CLOUDSTACK-6892) Database HA Config prevents mgmt server from starting
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14105381#comment-14105381 ] ASF subversion and git services commented on CLOUDSTACK-6892: - Commit b4601be4bf782772bb0b05d38a276d2ba3beb002 in cloudstack's branch refs/heads/4.4 from [~htrippaers] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=b4601be ] CLOUDSTACK-6892 Create separate package for the mysql HA component (cherry picked from commit 539db08956eff322efd11771d46d29df0c7289b2) Signed-off-by: Rohit Yadav rohit.ya...@shapeblue.com Conflicts: packaging/centos63/cloud.spec Database HA Config prevents mgmt server from starting - Key: CLOUDSTACK-6892 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6892 Project: CloudStack Issue Type: Bug Security Level: Public(Anyone can view this level - this is the default.) Components: Install and Setup, Management Server Affects Versions: Future, 4.3.0, 4.4.0 Environment: MySQL configured for DB HA Reporter: Adrian Lewis Assignee: Hugo Trippaers Priority: Critical When configuring the database HA feature introduced in 4.3, the manangement server fails to create the DB connection due to the mysql connector jar being loaded using tomcat's common class loader but the cloud-plugin-database-mysqlha-4.3.0.jar is loaded by the webapp class loader. The cloud-plugin-database-mysqlha-4.3.0.jar needs to also be loaded from the common class loader instead of webapp class loader. Fix is to declare the cloud-plugin-database-mysqlha-4.3.0.jar under the common.loader section in /etc/cloudstack/management/catalina.properties. Only tested using a fresh install on Centos 6.5 and the public repo packages. Manual fix provided by Damoder Reddy in users mailing list: Looks like we did not change the catalina.properties while refactoring out the mysql connector part -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CLOUDSTACK-6892) Database HA Config prevents mgmt server from starting
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14103704#comment-14103704 ] ASF subversion and git services commented on CLOUDSTACK-6892: - Commit 907d39fb949c9fc41ed83ba005774bfb14159a25 in cloudstack's branch refs/heads/hotfix/4.3/6892 from [~rohit.ya...@shapeblue.com] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=907d39f ] CLOUDSTACK-6892: Create separate package for the mysql HA component Manually picked from Hugo's fix: 539db08956eff322efd11771d46d29df0c7289b2 Signed-off-by: Rohit Yadav rohit.ya...@shapeblue.com Database HA Config prevents mgmt server from starting - Key: CLOUDSTACK-6892 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6892 Project: CloudStack Issue Type: Bug Security Level: Public(Anyone can view this level - this is the default.) Components: Install and Setup, Management Server Affects Versions: Future, 4.3.0, 4.4.0 Environment: MySQL configured for DB HA Reporter: Adrian Lewis Assignee: Hugo Trippaers Priority: Critical When configuring the database HA feature introduced in 4.3, the manangement server fails to create the DB connection due to the mysql connector jar being loaded using tomcat's common class loader but the cloud-plugin-database-mysqlha-4.3.0.jar is loaded by the webapp class loader. The cloud-plugin-database-mysqlha-4.3.0.jar needs to also be loaded from the common class loader instead of webapp class loader. Fix is to declare the cloud-plugin-database-mysqlha-4.3.0.jar under the common.loader section in /etc/cloudstack/management/catalina.properties. Only tested using a fresh install on Centos 6.5 and the public repo packages. Manual fix provided by Damoder Reddy in users mailing list: Looks like we did not change the catalina.properties while refactoring out the mysql connector part -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CLOUDSTACK-6892) Database HA Config prevents mgmt server from starting
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14103716#comment-14103716 ] ASF subversion and git services commented on CLOUDSTACK-6892: - Commit b4601be4bf782772bb0b05d38a276d2ba3beb002 in cloudstack's branch refs/heads/hotfix/4.4/7038 from [~htrippaers] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=b4601be ] CLOUDSTACK-6892 Create separate package for the mysql HA component (cherry picked from commit 539db08956eff322efd11771d46d29df0c7289b2) Signed-off-by: Rohit Yadav rohit.ya...@shapeblue.com Conflicts: packaging/centos63/cloud.spec Database HA Config prevents mgmt server from starting - Key: CLOUDSTACK-6892 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6892 Project: CloudStack Issue Type: Bug Security Level: Public(Anyone can view this level - this is the default.) Components: Install and Setup, Management Server Affects Versions: Future, 4.3.0, 4.4.0 Environment: MySQL configured for DB HA Reporter: Adrian Lewis Assignee: Hugo Trippaers Priority: Critical When configuring the database HA feature introduced in 4.3, the manangement server fails to create the DB connection due to the mysql connector jar being loaded using tomcat's common class loader but the cloud-plugin-database-mysqlha-4.3.0.jar is loaded by the webapp class loader. The cloud-plugin-database-mysqlha-4.3.0.jar needs to also be loaded from the common class loader instead of webapp class loader. Fix is to declare the cloud-plugin-database-mysqlha-4.3.0.jar under the common.loader section in /etc/cloudstack/management/catalina.properties. Only tested using a fresh install on Centos 6.5 and the public repo packages. Manual fix provided by Damoder Reddy in users mailing list: Looks like we did not change the catalina.properties while refactoring out the mysql connector part -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CLOUDSTACK-6892) Database HA Config prevents mgmt server from starting
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14103732#comment-14103732 ] Adrian Lewis commented on CLOUDSTACK-6892: -- Thank you Rohit Database HA Config prevents mgmt server from starting - Key: CLOUDSTACK-6892 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6892 Project: CloudStack Issue Type: Bug Security Level: Public(Anyone can view this level - this is the default.) Components: Install and Setup, Management Server Affects Versions: Future, 4.3.0, 4.4.0 Environment: MySQL configured for DB HA Reporter: Adrian Lewis Assignee: Hugo Trippaers Priority: Critical When configuring the database HA feature introduced in 4.3, the manangement server fails to create the DB connection due to the mysql connector jar being loaded using tomcat's common class loader but the cloud-plugin-database-mysqlha-4.3.0.jar is loaded by the webapp class loader. The cloud-plugin-database-mysqlha-4.3.0.jar needs to also be loaded from the common class loader instead of webapp class loader. Fix is to declare the cloud-plugin-database-mysqlha-4.3.0.jar under the common.loader section in /etc/cloudstack/management/catalina.properties. Only tested using a fresh install on Centos 6.5 and the public repo packages. Manual fix provided by Damoder Reddy in users mailing list: Looks like we did not change the catalina.properties while refactoring out the mysql connector part -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CLOUDSTACK-6892) Database HA Config prevents mgmt server from starting
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14103810#comment-14103810 ] sebastien goasguen commented on CLOUDSTACK-6892: [~adrianlewis] did you check that it solves your problem ? Database HA Config prevents mgmt server from starting - Key: CLOUDSTACK-6892 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6892 Project: CloudStack Issue Type: Bug Security Level: Public(Anyone can view this level - this is the default.) Components: Install and Setup, Management Server Affects Versions: Future, 4.3.0, 4.4.0 Environment: MySQL configured for DB HA Reporter: Adrian Lewis Assignee: Hugo Trippaers Priority: Critical When configuring the database HA feature introduced in 4.3, the manangement server fails to create the DB connection due to the mysql connector jar being loaded using tomcat's common class loader but the cloud-plugin-database-mysqlha-4.3.0.jar is loaded by the webapp class loader. The cloud-plugin-database-mysqlha-4.3.0.jar needs to also be loaded from the common class loader instead of webapp class loader. Fix is to declare the cloud-plugin-database-mysqlha-4.3.0.jar under the common.loader section in /etc/cloudstack/management/catalina.properties. Only tested using a fresh install on Centos 6.5 and the public repo packages. Manual fix provided by Damoder Reddy in users mailing list: Looks like we did not change the catalina.properties while refactoring out the mysql connector part -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CLOUDSTACK-6892) Database HA Config prevents mgmt server from starting
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14103815#comment-14103815 ] Rohit Yadav commented on CLOUDSTACK-6892: - [~adrianlewis] you may use the rpms from master builds for testing: http://jenkins.buildacloud.org/job/package-rhel63-master Though the builds for 4.3/4.4 will only work after the hotfixes are merged in those branches Database HA Config prevents mgmt server from starting - Key: CLOUDSTACK-6892 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6892 Project: CloudStack Issue Type: Bug Security Level: Public(Anyone can view this level - this is the default.) Components: Install and Setup, Management Server Affects Versions: Future, 4.3.0, 4.4.0 Environment: MySQL configured for DB HA Reporter: Adrian Lewis Assignee: Hugo Trippaers Priority: Critical When configuring the database HA feature introduced in 4.3, the manangement server fails to create the DB connection due to the mysql connector jar being loaded using tomcat's common class loader but the cloud-plugin-database-mysqlha-4.3.0.jar is loaded by the webapp class loader. The cloud-plugin-database-mysqlha-4.3.0.jar needs to also be loaded from the common class loader instead of webapp class loader. Fix is to declare the cloud-plugin-database-mysqlha-4.3.0.jar under the common.loader section in /etc/cloudstack/management/catalina.properties. Only tested using a fresh install on Centos 6.5 and the public repo packages. Manual fix provided by Damoder Reddy in users mailing list: Looks like we did not change the catalina.properties while refactoring out the mysql connector part -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CLOUDSTACK-6892) Database HA Config prevents mgmt server from starting
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14103827#comment-14103827 ] Adrian Lewis commented on CLOUDSTACK-6892: -- Haven't yet I'm afraid. Takes me an hour or two to test a new installation and I'm flat out with other priorities (personal and work) at the moment. Not tried installing any way other than using the repo either. The links provided by Erik seem to be 4.5 snapshots at the moment. Would they form a reasonable test for this commit or are the Jenkins snapshot rpms a better fit? Is there an easy way to know whether this commit is part of a Jenkins build or not (4.3 or 4.4)? Database HA Config prevents mgmt server from starting - Key: CLOUDSTACK-6892 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6892 Project: CloudStack Issue Type: Bug Security Level: Public(Anyone can view this level - this is the default.) Components: Install and Setup, Management Server Affects Versions: Future, 4.3.0, 4.4.0 Environment: MySQL configured for DB HA Reporter: Adrian Lewis Assignee: Hugo Trippaers Priority: Critical When configuring the database HA feature introduced in 4.3, the manangement server fails to create the DB connection due to the mysql connector jar being loaded using tomcat's common class loader but the cloud-plugin-database-mysqlha-4.3.0.jar is loaded by the webapp class loader. The cloud-plugin-database-mysqlha-4.3.0.jar needs to also be loaded from the common class loader instead of webapp class loader. Fix is to declare the cloud-plugin-database-mysqlha-4.3.0.jar under the common.loader section in /etc/cloudstack/management/catalina.properties. Only tested using a fresh install on Centos 6.5 and the public repo packages. Manual fix provided by Damoder Reddy in users mailing list: Looks like we did not change the catalina.properties while refactoring out the mysql connector part -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CLOUDSTACK-6892) Database HA Config prevents mgmt server from starting
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14103829#comment-14103829 ] ASF subversion and git services commented on CLOUDSTACK-6892: - Commit 907d39fb949c9fc41ed83ba005774bfb14159a25 in cloudstack's branch refs/heads/4.3 from [~rohit.ya...@shapeblue.com] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=907d39f ] CLOUDSTACK-6892: Create separate package for the mysql HA component Manually picked from Hugo's fix: 539db08956eff322efd11771d46d29df0c7289b2 Signed-off-by: Rohit Yadav rohit.ya...@shapeblue.com Database HA Config prevents mgmt server from starting - Key: CLOUDSTACK-6892 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6892 Project: CloudStack Issue Type: Bug Security Level: Public(Anyone can view this level - this is the default.) Components: Install and Setup, Management Server Affects Versions: Future, 4.3.0, 4.4.0 Environment: MySQL configured for DB HA Reporter: Adrian Lewis Assignee: Hugo Trippaers Priority: Critical When configuring the database HA feature introduced in 4.3, the manangement server fails to create the DB connection due to the mysql connector jar being loaded using tomcat's common class loader but the cloud-plugin-database-mysqlha-4.3.0.jar is loaded by the webapp class loader. The cloud-plugin-database-mysqlha-4.3.0.jar needs to also be loaded from the common class loader instead of webapp class loader. Fix is to declare the cloud-plugin-database-mysqlha-4.3.0.jar under the common.loader section in /etc/cloudstack/management/catalina.properties. Only tested using a fresh install on Centos 6.5 and the public repo packages. Manual fix provided by Damoder Reddy in users mailing list: Looks like we did not change the catalina.properties while refactoring out the mysql connector part -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CLOUDSTACK-6892) Database HA Config prevents mgmt server from starting
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14083553#comment-14083553 ] Erik Weber commented on CLOUDSTACK-6892: Adrian: you should be able to find a freshly built master here: http://dl-terbolous.rhcloud.com/acs-master/ Database HA Config prevents mgmt server from starting - Key: CLOUDSTACK-6892 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6892 Project: CloudStack Issue Type: Bug Security Level: Public(Anyone can view this level - this is the default.) Components: Install and Setup, Management Server Affects Versions: Future, 4.3.0, 4.4.0 Environment: MySQL configured for DB HA Reporter: Adrian Lewis Assignee: Hugo Trippaers Priority: Critical When configuring the database HA feature introduced in 4.3, the manangement server fails to create the DB connection due to the mysql connector jar being loaded using tomcat's common class loader but the cloud-plugin-database-mysqlha-4.3.0.jar is loaded by the webapp class loader. The cloud-plugin-database-mysqlha-4.3.0.jar needs to also be loaded from the common class loader instead of webapp class loader. Fix is to declare the cloud-plugin-database-mysqlha-4.3.0.jar under the common.loader section in /etc/cloudstack/management/catalina.properties. Only tested using a fresh install on Centos 6.5 and the public repo packages. Manual fix provided by Damoder Reddy in users mailing list: Looks like we did not change the catalina.properties while refactoring out the mysql connector part -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CLOUDSTACK-6892) Database HA Config prevents mgmt server from starting
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14052409#comment-14052409 ] ASF subversion and git services commented on CLOUDSTACK-6892: - Commit 539db08956eff322efd11771d46d29df0c7289b2 in cloudstack's branch refs/heads/master from [~htrippaers] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=539db08 ] CLOUDSTACK-6892 Create separate package for the mysql HA component Database HA Config prevents mgmt server from starting - Key: CLOUDSTACK-6892 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6892 Project: CloudStack Issue Type: Bug Security Level: Public(Anyone can view this level - this is the default.) Components: Install and Setup, Management Server Affects Versions: Future, 4.3.0, 4.4.0 Environment: MySQL configured for DB HA Reporter: Adrian Lewis Assignee: Hugo Trippaers Priority: Critical When configuring the database HA feature introduced in 4.3, the manangement server fails to create the DB connection due to the mysql connector jar being loaded using tomcat's common class loader but the cloud-plugin-database-mysqlha-4.3.0.jar is loaded by the webapp class loader. The cloud-plugin-database-mysqlha-4.3.0.jar needs to also be loaded from the common class loader instead of webapp class loader. Fix is to declare the cloud-plugin-database-mysqlha-4.3.0.jar under the common.loader section in /etc/cloudstack/management/catalina.properties. Only tested using a fresh install on Centos 6.5 and the public repo packages. Manual fix provided by Damoder Reddy in users mailing list: Looks like we did not change the catalina.properties while refactoring out the mysql connector part -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CLOUDSTACK-6892) Database HA Config prevents mgmt server from starting
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14052411#comment-14052411 ] Hugo Trippaers commented on CLOUDSTACK-6892: Adrian, I just pushed a commit to master that should resolve this issue. Are you able to verity this fix? Cheers, Hugo Database HA Config prevents mgmt server from starting - Key: CLOUDSTACK-6892 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6892 Project: CloudStack Issue Type: Bug Security Level: Public(Anyone can view this level - this is the default.) Components: Install and Setup, Management Server Affects Versions: Future, 4.3.0, 4.4.0 Environment: MySQL configured for DB HA Reporter: Adrian Lewis Assignee: Hugo Trippaers Priority: Critical When configuring the database HA feature introduced in 4.3, the manangement server fails to create the DB connection due to the mysql connector jar being loaded using tomcat's common class loader but the cloud-plugin-database-mysqlha-4.3.0.jar is loaded by the webapp class loader. The cloud-plugin-database-mysqlha-4.3.0.jar needs to also be loaded from the common class loader instead of webapp class loader. Fix is to declare the cloud-plugin-database-mysqlha-4.3.0.jar under the common.loader section in /etc/cloudstack/management/catalina.properties. Only tested using a fresh install on Centos 6.5 and the public repo packages. Manual fix provided by Damoder Reddy in users mailing list: Looks like we did not change the catalina.properties while refactoring out the mysql connector part -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CLOUDSTACK-6892) Database HA Config prevents mgmt server from starting
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14052530#comment-14052530 ] Adrian Lewis commented on CLOUDSTACK-6892: -- Hi Hugo, Sounds good and the diff on the catalina.properties looks right but the reason I'm using the packages is that I have no skills in compiling stuff from source - never used git or any other version control system either. If there's RPMs built based on master I can try those but then I'm also away for the next three weeks so finding the time to do so might be tricky. I'm more sysadmin than devops and more network engineer than sysadmin, if that makes sense. Many thanks for picking this up. Makes me feel a bit useless though! Database HA Config prevents mgmt server from starting - Key: CLOUDSTACK-6892 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6892 Project: CloudStack Issue Type: Bug Security Level: Public(Anyone can view this level - this is the default.) Components: Install and Setup, Management Server Affects Versions: Future, 4.3.0, 4.4.0 Environment: MySQL configured for DB HA Reporter: Adrian Lewis Assignee: Hugo Trippaers Priority: Critical When configuring the database HA feature introduced in 4.3, the manangement server fails to create the DB connection due to the mysql connector jar being loaded using tomcat's common class loader but the cloud-plugin-database-mysqlha-4.3.0.jar is loaded by the webapp class loader. The cloud-plugin-database-mysqlha-4.3.0.jar needs to also be loaded from the common class loader instead of webapp class loader. Fix is to declare the cloud-plugin-database-mysqlha-4.3.0.jar under the common.loader section in /etc/cloudstack/management/catalina.properties. Only tested using a fresh install on Centos 6.5 and the public repo packages. Manual fix provided by Damoder Reddy in users mailing list: Looks like we did not change the catalina.properties while refactoring out the mysql connector part -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CLOUDSTACK-6892) Database HA Config prevents mgmt server from starting
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14050025#comment-14050025 ] sebastien goasguen commented on CLOUDSTACK-6892: [~adrianlewis] what's your OS and hypervisor ? Database HA Config prevents mgmt server from starting - Key: CLOUDSTACK-6892 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6892 Project: CloudStack Issue Type: Bug Security Level: Public(Anyone can view this level - this is the default.) Components: Install and Setup, Management Server Affects Versions: Future, 4.3.0, 4.4.0 Environment: MySQL configured for DB HA Reporter: Adrian Lewis Assignee: Hugo Trippaers Priority: Critical When configuring the database HA feature introduced in 4.3, the manangement server fails to create the DB connection due to the mysql connector jar being loaded using tomcat's common class loader but the cloud-plugin-database-mysqlha-4.3.0.jar is loaded by the webapp class loader. The cloud-plugin-database-mysqlha-4.3.0.jar needs to also be loaded from the common class loader instead of webapp class loader. Fix is to declare the cloud-plugin-database-mysqlha-4.3.0.jar under the common.loader section in /etc/cloudstack/management/catalina.properties. Only tested using a fresh install on Centos 6.5 and the public repo packages. Manual fix provided by Damoder Reddy in users mailing list: Looks like we did not change the catalina.properties while refactoring out the mysql connector part -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CLOUDSTACK-6892) Database HA Config prevents mgmt server from starting
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14050036#comment-14050036 ] Adrian Lewis commented on CLOUDSTACK-6892: -- Using VMware Workstation to run a single CS mgmt VM with two MySQL VMs - all three using Centos 6.5 minimal install. No hypervisor involved - no hosts/clusters etc registered with CS as was just testing the MySQL HA side of things. Database HA Config prevents mgmt server from starting - Key: CLOUDSTACK-6892 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6892 Project: CloudStack Issue Type: Bug Security Level: Public(Anyone can view this level - this is the default.) Components: Install and Setup, Management Server Affects Versions: Future, 4.3.0, 4.4.0 Environment: MySQL configured for DB HA Reporter: Adrian Lewis Assignee: Hugo Trippaers Priority: Critical When configuring the database HA feature introduced in 4.3, the manangement server fails to create the DB connection due to the mysql connector jar being loaded using tomcat's common class loader but the cloud-plugin-database-mysqlha-4.3.0.jar is loaded by the webapp class loader. The cloud-plugin-database-mysqlha-4.3.0.jar needs to also be loaded from the common class loader instead of webapp class loader. Fix is to declare the cloud-plugin-database-mysqlha-4.3.0.jar under the common.loader section in /etc/cloudstack/management/catalina.properties. Only tested using a fresh install on Centos 6.5 and the public repo packages. Manual fix provided by Damoder Reddy in users mailing list: Looks like we did not change the catalina.properties while refactoring out the mysql connector part -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CLOUDSTACK-6892) Database HA Config prevents mgmt server from starting
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14029257#comment-14029257 ] Adrian Lewis commented on CLOUDSTACK-6892: -- Added in 4.4 and Future as I assume this hasn't been picked up already. Database HA Config prevents mgmt server from starting - Key: CLOUDSTACK-6892 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6892 Project: CloudStack Issue Type: Bug Security Level: Public(Anyone can view this level - this is the default.) Components: Install and Setup, Management Server Affects Versions: Future, 4.3.0, 4.4.0 Environment: MySQL configured for DB HA Reporter: Adrian Lewis Priority: Critical When configuring the database HA feature introduced in 4.3, the manangement server fails to create the DB connection due to the mysql connector jar being loaded using tomcat's common class loader but the cloud-plugin-database-mysqlha-4.3.0.jar is loaded by the webapp class loader. The cloud-plugin-database-mysqlha-4.3.0.jar needs to also be loaded from the common class loader instead of webapp class loader. Fix is to declare the cloud-plugin-database-mysqlha-4.3.0.jar under the common.loader section in /etc/cloudstack/management/catalina.properties. Only tested using a fresh install on Centos 6.5 and the public repo packages. Manual fix provided by Damoder Reddy in users mailing list: Looks like we did not change the catalina.properties while refactoring out the mysql connector part -- This message was sent by Atlassian JIRA (v6.2#6252)