Comment 5 for bug 1622755

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/liberty)

Reviewed: https://review.openstack.org/371031
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=ef14f86f5d5dc4fbf1fc79a7476e8721b234f642
Submitter: Jenkins
Branch: stable/liberty

commit ef14f86f5d5dc4fbf1fc79a7476e8721b234f642
Author: Damien Ciabrini <email address hidden>
Date: Wed Mar 30 14:19:39 2016 +0200

    MySQL Galera backports

    This is a squash of 2 backports to fix Galera deployment on Liberty.

    1) Enable galera replication for Mariadb 10.1

    The generated galera config has to include additional settings for
    galera to be active on MariaDB 10.1.
    wsrep_on must be explicitely set to ON. On MariaDB 5.5, this was
    implicitely set as soon as wsrep_provider was specified.
    a valid wsrep_cluster_address must be configured in addition to
    wsrep_on, otherwise recovery command mysqld_safe --wsrep-recover
    cannot retrieve replication state, and cluster cannot be bootstrapped.
    These explicit settings are backward compatible with MariaDB 5.5 since
    the two variables exist in both versions of MariaDB.

    Closes-Bug: 1563751
    (cherry-picked from commit df343c35ce468c34b2102f0158d36017089c776d)

    2) [liberty-only] mysql: never add brackets to mysql_bind_host

    The patch was submitted in Newton, but we can't backport it:
    https://review.openstack.org/#/c/369369/
    Don't add brackets on mysql_bind_host parameter in Galera config.
    Having brackets from this parameter works with old version of
    Galera but not newest one.
    EPEL upgraded the version of Galera, so we need this change to deploy
    TripleO in HA environment

    Closes-Bug: #1622755
    (cherry picked from commit 41b85b26718c581ea3046e4abc4b510c49ef445c)

    Change-Id: I1128c560f00fb3ffee8e072f1874ad7e610ff9e0