Fix Percona XtraDB Cluster guest to work with v5.6
The current implmentation of Percona clusters only supports
PXC 5.5. To make the implementation work with v5.6, some changes
need to be made to the base Mysql manager. The biggest change
is that we can no longer store the os_admin client credentials
in the server my.cnf file. This commit moves those credentials to
a .my.cnf file stored in the trove homedir. This will be read
by the guest when attempting sqlchemy connections to the local
mysql database and will also be picked up automatically by other
mysql clients (such as mysqladmin).
Also, since PXC 5.6 requires PXB 2.3, this commit fixes the issue
previously discovered with that combination. The previous fix was
to pin PXB to v2.2. The fix is to specify host=127.0.0.1 in the
client section of my.cnf.
Reviewed: https:/ /review. openstack. org/266485 /git.openstack. org/cgit/ openstack/ trove/commit/ ?id=293dafb5650 1702fc35c79d7c3 c4efcf1fdaeab3
Committed: https:/
Submitter: Jenkins
Branch: master
commit 293dafb56501702 fc35c79d7c3c4ef cf1fdaeab3
Author: Doug Shelley <email address hidden>
Date: Tue Jan 12 16:54:19 2016 +0000
Fix Percona XtraDB Cluster guest to work with v5.6
The current implmentation of Percona clusters only supports
PXC 5.5. To make the implementation work with v5.6, some changes
need to be made to the base Mysql manager. The biggest change
is that we can no longer store the os_admin client credentials
in the server my.cnf file. This commit moves those credentials to
a .my.cnf file stored in the trove homedir. This will be read
by the guest when attempting sqlchemy connections to the local
mysql database and will also be picked up automatically by other
mysql clients (such as mysqladmin).
Also, since PXC 5.6 requires PXB 2.3, this commit fixes the issue
previously discovered with that combination. The previous fix was
to pin PXB to v2.2. The fix is to specify host=127.0.0.1 in the
client section of my.cnf.
Change-Id: Ib73b4f8ba40ddf 211d0ec88069c48 07186fce139
Parial-bug: 1532969