aboutsummaryrefslogtreecommitdiff
path: root/kolla/template/methods.py
diff options
context:
space:
mode:
authorMichal Arbet <michal.arbet@ultimum.io>2024-09-11 19:20:54 +0200
committerMichal Arbet <michal.arbet@ultimum.io>2024-10-09 11:47:01 +0200
commitec4c4310dd870ff5bbdfd9762a0beb8389009b9f (patch)
treee6e6e98bd7734e4232ee16d258a5107fd34aaff8 /kolla/template/methods.py
parent068790cddcad68f070b557b339158d75047192f3 (diff)
downloadkolla-ec4c4310dd870ff5bbdfd9762a0beb8389009b9f.tar.gz
kolla-ec4c4310dd870ff5bbdfd9762a0beb8389009b9f.zip
Add way to backup from MariaDB replica server
ProxySQL reports its version to MySQL clients, causing the backup process to fail when ProxySQL is used. This patch adds a new script that handles backups from the replica server directly, without modifying the original backup script. The new script retrieves the server address via the load balancer and connects directly to the replica server to execute the backup. Moreover, this reduces the risk that the backup will be inconsistent or that it will block OpenStack MySQL clients, because they are connected to a different server, and no one is connected to the replica, or that it will overload the load balancer (such as ProxySQL or HAProxy) which listens on the VIP. Closes-Bug: #2080818 Change-Id: Ibf7e40e8b059d733e114963022df06180249c650
Diffstat (limited to 'kolla/template/methods.py')
0 files changed, 0 insertions, 0 deletions