Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-6892

Database HA Config prevents mgmt server from starting

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 4.3.0, 4.4.0, Future
    • 4.5.0, 4.3.1, 4.4.1
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None
    • MySQL configured for DB HA

    Description

      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"

      Attachments

        Issue Links

          Activity

            People

              htrippaers Hugo Trippaers
              adrianlewis Adrian Lewis
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: