From bc2e8106ccd74bef1f68e82da91aeaddc0d487b7 Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Mon, 20 Jul 2026 14:24:37 -0500 Subject: [PATCH] feat: use primary galera host for MariaDB from OpenStack services Per the discussion on the OpenStack mailing list, multiple people have reported that the proper behavior is to have the services connect to the galera primary node which is what this does. https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/message/7D45OTQCEOVP7DQTDYNWLGCWOTFALWIF/ --- components/cinder/values.yaml | 3 +++ components/glance/values.yaml | 3 +++ components/horizon/values.yaml | 3 +++ components/ironic/values.yaml | 3 +++ components/keystone/values.yaml | 3 +++ components/neutron/values.yaml | 3 +++ components/nova/values.yaml | 3 +++ components/octavia/values.yaml | 3 +++ components/placement/values.yaml | 3 +++ components/skyline/values.yaml | 3 +++ 10 files changed, 30 insertions(+) diff --git a/components/cinder/values.yaml b/components/cinder/values.yaml index 3a5099a75..84e2c6a3e 100644 --- a/components/cinder/values.yaml +++ b/components/cinder/values.yaml @@ -33,6 +33,9 @@ conf: # values, but should include all endpoints # required by this chart endpoints: + oslo_db: + hosts: + default: mariadb-primary oslo_messaging: statefulset: replicas: 3 diff --git a/components/glance/values.yaml b/components/glance/values.yaml index 66783d0a5..f246137d5 100644 --- a/components/glance/values.yaml +++ b/components/glance/values.yaml @@ -5,6 +5,9 @@ release_group: null # values, but should include all endpoints # required by this chart endpoints: + oslo_db: + hosts: + default: mariadb-primary oslo_messaging: statefulset: replicas: 3 diff --git a/components/horizon/values.yaml b/components/horizon/values.yaml index 90825f61f..e2a5e81d0 100644 --- a/components/horizon/values.yaml +++ b/components/horizon/values.yaml @@ -37,6 +37,9 @@ conf: amqp_durable_queues: true endpoints: + oslo_db: + hosts: + default: mariadb-primary dashboard: host_fqdn_override: public: diff --git a/components/ironic/values.yaml b/components/ironic/values.yaml index 4061281f5..01f933c29 100644 --- a/components/ironic/values.yaml +++ b/components/ironic/values.yaml @@ -133,6 +133,9 @@ conf: processes: 4 endpoints: + oslo_db: + hosts: + default: mariadb-primary oslo_messaging: namespace: null statefulset: diff --git a/components/keystone/values.yaml b/components/keystone/values.yaml index bd404b40e..0f4fb1cdb 100644 --- a/components/keystone/values.yaml +++ b/components/keystone/values.yaml @@ -295,6 +295,9 @@ conf: # values, but should include all endpoints # required by this chart endpoints: + oslo_db: + hosts: + default: mariadb-primary oslo_messaging: statefulset: replicas: 3 diff --git a/components/neutron/values.yaml b/components/neutron/values.yaml index d7967d7f0..8760d3e18 100644 --- a/components/neutron/values.yaml +++ b/components/neutron/values.yaml @@ -5,6 +5,9 @@ release_group: null # values, but should include all endpoints # required by this chart endpoints: + oslo_db: + hosts: + default: mariadb-primary oslo_messaging: statefulset: replicas: 3 diff --git a/components/nova/values.yaml b/components/nova/values.yaml index 8090ccf35..ba0b491e6 100644 --- a/components/nova/values.yaml +++ b/components/nova/values.yaml @@ -12,6 +12,9 @@ labels: # values, but should include all endpoints # required by this chart endpoints: + oslo_db: + hosts: + default: mariadb-primary oslo_messaging: statefulset: replicas: 3 diff --git a/components/octavia/values.yaml b/components/octavia/values.yaml index b4c2f175c..e8f938656 100644 --- a/components/octavia/values.yaml +++ b/components/octavia/values.yaml @@ -4,6 +4,9 @@ # values, but should include all endpoints # required by this chart endpoints: + oslo_db: + hosts: + default: mariadb-primary oslo_messaging: statefulset: replicas: 3 diff --git a/components/placement/values.yaml b/components/placement/values.yaml index 6b2e47ca3..5299c9460 100644 --- a/components/placement/values.yaml +++ b/components/placement/values.yaml @@ -46,6 +46,9 @@ pod: enabled: true endpoints: + oslo_db: + hosts: + default: mariadb-primary placement: scheme: public: 'https' diff --git a/components/skyline/values.yaml b/components/skyline/values.yaml index 97a0d1609..13217cc6d 100644 --- a/components/skyline/values.yaml +++ b/components/skyline/values.yaml @@ -1,5 +1,8 @@ --- endpoints: + oslo_db: + hosts: + default: mariadb-primary skyline: host_fqdn_override: public: