Make containerized galera use mysql_network everywhere
authorDamien Ciabrini <dciabrin@redhat.com>
Tue, 26 Sep 2017 13:23:11 +0000 (15:23 +0200)
committerDamien Ciabrini <dciabrin@redhat.com>
Sat, 7 Oct 2017 16:07:09 +0000 (16:07 +0000)
commit63daa825a015cef749db6f89fb918d178902f66a
treeb3228a8244ff7f9981c48c720bfa67539ec94501
parent6fea40f786a466802503c03b2b815d05676e1807
Make containerized galera use mysql_network everywhere

The containerized galera service generates a galera.cnf which uses
short hostname to identify itself rather than the fqdn from the
mysql_network (e.g. overcloud-x.internalapi.cloudname).

This breaks when internal TLS is in use, because the mysql certificate
does not reference this short hostname.

Fix the appropriate hiera parameter to make it behave like the
non-containerized galera service.

Change-Id: I904cde38f2baeddab5178e8ad48d34a0c73629af
Closes-Bug: #1719599
(cherry picked from commit e10aa591dc9155a2746df01279c4ba4f2133fd17)
docker/services/pacemaker/database/mysql.yaml