MariaDB: create clustercheck user at container bootstrap
In HA overclouds, the helper script clustercheck is called by HAProxy to poll
the state of the galera cluster. Make sure that a dedicated clustercheck user
is created at deployment, like it is currently done in Ocata.
The creation of the clustercheck user happens on all controller nodes, right
after the database creation. This way, it does not need to wait for the galera
cluster to be up and running.
Reviewed: https:/ /review. openstack. org/489277 /git.openstack. org/cgit/ openstack/ tripleo- heat-templates/ commit/ ?id=7968f37f6e6 5ed542340437f23 b6c267b8b1f2ce
Committed: https:/
Submitter: Jenkins
Branch: master
commit 7968f37f6e65ed5 42340437f23b6c2 67b8b1f2ce
Author: Damien Ciabrini <email address hidden>
Date: Fri Jul 28 12:13:53 2017 -0400
MariaDB: create clustercheck user at container bootstrap
In HA overclouds, the helper script clustercheck is called by HAProxy to poll
the state of the galera cluster. Make sure that a dedicated clustercheck user
is created at deployment, like it is currently done in Ocata.
The creation of the clustercheck user happens on all controller nodes, right
after the database creation. This way, it does not need to wait for the galera
cluster to be up and running.
Partial-Bug: #1707683 fde5328e71115aa b87a5fa655f
Change-Id: If8e0b3f9e4f317