cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Lewis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-6892) Database HA Config prevents mgmt server from starting
Date Fri, 04 Jul 2014 15:58:34 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-6892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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)

Mime
View raw message