aboutsummaryrefslogtreecommitdiff
path: root/etc/kolla
diff options
context:
space:
mode:
authorMichal Arbet <michal.arbet@ultimum.io>2022-05-31 14:49:11 +0200
committerMichal Arbet <michal.arbet@ultimum.io>2022-07-29 15:05:21 +0200
commitde973b81fae3f74bc624f22166f8d2ec9a4a5e38 (patch)
tree66c9f762bf222226eec0b749b95483f1e9ecc3ba /etc/kolla
parentee3cb2ae028d4039995a44d10b3a2137095bd784 (diff)
downloadkolla-ansible-de973b81fae3f74bc624f22166f8d2ec9a4a5e38.tar.gz
kolla-ansible-de973b81fae3f74bc624f22166f8d2ec9a4a5e38.zip
Add proxysql support for database
Kolla environment currently uses haproxy to fullfill HA in mariadb. This patch is switching haproxy to proxysql if enabled. This patch is also replacing mariadb's user 'haproxy' with user 'monitor'. This replacement has two reasons: - Use better name to "monitor" galera claster as there are two services using this user (HAProxy, ProxySQL) - Set password for monitor user as it's always better to use password then not use. Previous haproxy user didn't use password as it was historically not possible with haproxy and mariadb-clustercheck wasn't implemented. Depends-On: https://review.opendev.org/c/openstack/kolla/+/769385 Depends-On: https://review.opendev.org/c/openstack/kolla/+/765781 Depends-On: https://review.opendev.org/c/openstack/kolla/+/850656 Change-Id: I0edae33d982c2e3f3b5f34b3d5ad07a431162844
Diffstat (limited to 'etc/kolla')
-rw-r--r--etc/kolla/globals.yml1
-rw-r--r--etc/kolla/passwords.yml8
2 files changed, 9 insertions, 0 deletions
diff --git a/etc/kolla/globals.yml b/etc/kolla/globals.yml
index 252da9a96..e5cc45e68 100644
--- a/etc/kolla/globals.yml
+++ b/etc/kolla/globals.yml
@@ -390,6 +390,7 @@ workaround_ansible_issue_8743: yes
#enable_osprofiler: "no"
#enable_placement: "{{ enable_nova | bool or enable_zun | bool }}"
#enable_prometheus: "no"
+#enable_proxysql: "no"
#enable_redis: "no"
#enable_sahara: "no"
#enable_senlin: "no"
diff --git a/etc/kolla/passwords.yml b/etc/kolla/passwords.yml
index 5850342a9..ca1ca5ee4 100644
--- a/etc/kolla/passwords.yml
+++ b/etc/kolla/passwords.yml
@@ -15,6 +15,8 @@ cinder_rbd_secret_uuid:
database_password:
# Password for the dedicated backup user account
mariadb_backup_database_password:
+# Password for the monitor user
+mariadb_monitor_password:
####################
# Docker options
@@ -260,3 +262,9 @@ ceph_rgw_keystone_password:
# libvirt options
##################
libvirt_sasl_password:
+
+############
+# ProxySQL
+############
+proxysql_admin_password:
+proxysql_stats_password: