<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openstack/kolla-ansible.git/ansible/roles/mariadb/tasks, branch stable/2026.1</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.platform-os.org/openstack/kolla-ansible.git/atom?h=stable%2F2026.1</id>
<link rel='self' href='https://git.platform-os.org/openstack/kolla-ansible.git/atom?h=stable%2F2026.1'/>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/'/>
<updated>2026-09-25T12:42:02+00:00</updated>
<entry>
<title>Include CA for database TLS on MariaDB backup</title>
<updated>2026-09-25T12:42:02+00:00</updated>
<author>
<name>Seunghun Lee</name>
<email>seunghun@stackhpc.com</email>
</author>
<published>2026-09-24T13:00:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=ed01be2239b37fc84a8d7843e4e6c9bd57ca1303'/>
<id>urn:sha1:ed01be2239b37fc84a8d7843e4e6c9bd57ca1303</id>
<content type='text'>
When database backend TLS was implemented [1], the CA was not set for
Mariabackup configuration.

[1] https://review.opendev.org/c/openstack/kolla-ansible/+/909912

Closes-bug: #2168443
Change-Id: I2d88af7c61bb609311a5f0a820a501d006f8e454
Signed-off-by: Seunghun Lee &lt;seunghun@stackhpc.com&gt;
(cherry picked from commit 7c64ed9ff0509b4001d319f620d4bfe68ae9dfdb)
</content>
</entry>
<entry>
<title>mariadb: Back up from the local database instance</title>
<updated>2026-08-25T12:27:03+00:00</updated>
<author>
<name>Bartosz Bezak</name>
<email>bartosz@stackhpc.com</email>
</author>
<published>2026-08-25T08:24:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=6e12d225082ab0ff2273d61febbdd8fb2bfa6e22'/>
<id>urn:sha1:6e12d225082ab0ff2273d61febbdd8fb2bfa6e22</id>
<content type='text'>
Mariabackup copies the data directory of mariadb_backup_host but
connected through the load balancer, so backup_replica.sh could
redirect it to another Galera member. The backup lock then applied to
the wrong node, leaving the copied files unquiesced.

Connect to api_interface_address and mariadb_port instead, and always
use the local backup script. MariaDB 10.11.19 and 11.4.13 no longer
tolerate the mismatch.

mariadb_backup_target now has no effect, and full backups are named
mysqlbackup-&lt;date&gt;.qp.xbc.xbs.gz, as the restore docs describe.

Closes-Bug: #2165011
Related-Bug: #2125124
Change-Id: I33ebd36c728ff50df8ebf13fc5af9882a0e71d23
Signed-off-by: Bartosz Bezak &lt;bartosz@stackhpc.com&gt;
(cherry picked from commit f1f2702bbe812e285f0766a5787159ba92fdce8b)
</content>
</entry>
<entry>
<title>Wait for slaves to sync before the recovery master restart.</title>
<updated>2026-07-27T08:39:14+00:00</updated>
<author>
<name>Michael Still</name>
<email>mikal@stillhq.com</email>
</author>
<published>2026-07-25T09:09:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=c6afad334f6c9f08657e6bd6a0d37833893f514f'/>
<id>urn:sha1:c6afad334f6c9f08657e6bd6a0d37833893f514f</id>
<content type='text'>
During mariadb_recovery, recover_cluster.yml starts the bootstrap
node, starts the slave containers, and then recreates the master
container to clear pc.bootstrap. The "Wait for slave MariaDB" task
between those steps only waits for the service port to open, but a
freshly started slave is still receiving its state transfer (SST
then IST) at that point. The master restart is a Galera cluster
membership change, and a membership change while a joiner is
mid-IST makes the joiner abort with "IST didn't contain all write
sets, expected last: N last received: N-1 ... node restart
required". The joiner then drops to non-primary, self-leaves, and
sits permanently wsrep-disconnected; nothing restarts it, and the
Galera readiness check added by commit aed9d890 fails the recovery.

Over the last 30 days this hit 16 of 954 mariadb scenario CI runs
(1.7%), was terminal in every case, and accounts for about 30% of
all failures in those jobs, across Debian, Ubuntu and Rocky. The
Ubuntu failures are on MariaDB 11.4.12, which already contains the
upstream fixes for MDEV-36621 and MDEV-39643, so this window has to
be closed at the orchestration layer.

Add a wait for every slave to report wsrep_local_state_comment
Synced before the master restart, using the same defensive until
pattern as the bootstrap WSREP sync wait. The retry budget is
larger than the port waits because a slave may legitimately still
be receiving an SST at this point.

Prompt: Michael asked for a kerbside-patches patch fixing the
mariadb_recovery IST race we diagnosed from the kolla-ansible
989612 gate failures, where the master restart during recovery
races slaves that are still receiving state transfer.

Assisted-By: Claude Fable 5 (200K context, medium effort) &lt;noreply@anthropic.com&gt;
Co-Authored-By: Claude Fable 5 (200K context, medium effort) &lt;noreply@anthropic.com&gt;

Closes-Bug: #2161773
Change-Id: Ifd0260fa4875051b1c38ee52de4f0de1806f6cc9
Signed-off-by: Michael Still &lt;mikal@stillhq.com&gt;
(cherry picked from commit cb259a3914180234cef888ddfe34b54f60f240a0)
</content>
</entry>
<entry>
<title>mariadb: add support for custom Galera notification script</title>
<updated>2026-03-30T14:50:17+00:00</updated>
<author>
<name>Piotr Milewski</name>
<email>vurmil@gmail.com</email>
</author>
<published>2026-03-25T18:17:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=04059bab4f7a7527fd84edd8a0c55972e5dced78'/>
<id>urn:sha1:04059bab4f7a7527fd84edd8a0c55972e5dced78</id>
<content type='text'>
This patch adds the ability for operators to provide a custom
wsrep-notify.sh script to handle Galera cluster events (e.g., node
status changes, membership updates).

If a script is placed in the custom configuration directory on the
control host (/etc/kolla/config/mariadb/wsrep-notify.sh), Kolla
Ansible will copy it to the nodes, mount it into the MariaDB
container at /usr/local/bin/ and enable 'wsrep_notify_cmd'.

This enables integration with external systems like Alertmanager
or local logging without hardcoding scripts into the roles.

Change-Id: I7887889cb2e4038baeb566884cb847a71b5f99a6
Signed-off-by: Piotr Milewski &lt;vurmil@gmail.com&gt;
</content>
</entry>
<entry>
<title>ansible-lint: Fix fqcn[actions-core] for mariadb</title>
<updated>2026-03-22T20:06:36+00:00</updated>
<author>
<name>Michal Nasiadka</name>
<email>mnasiadka@gmail.com</email>
</author>
<published>2026-03-20T06:23:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=dcb7a0f073a28479f7380be37c5b8e2d378073da'/>
<id>urn:sha1:dcb7a0f073a28479f7380be37c5b8e2d378073da</id>
<content type='text'>
Change-Id: I1d918203cec028e6be17925044ce2a0d9e040276
Signed-off-by: Michal Nasiadka &lt;mnasiadka@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge "Use mariadb command instead of mysql for upgrade"</title>
<updated>2025-12-11T12:49:38+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.opendev.org</email>
</author>
<published>2025-12-11T12:49:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=677beeb601acf2f979e4243d49db1c7a80e9c590'/>
<id>urn:sha1:677beeb601acf2f979e4243d49db1c7a80e9c590</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ansible-lint: fix unnamed-task in mariadb</title>
<updated>2025-12-10T21:19:49+00:00</updated>
<author>
<name>Bertrand Lanson</name>
<email>bertrand.lanson@protonmail.com</email>
</author>
<published>2025-12-10T20:32:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=5ee4039f462717d4d8afeac343c23e9996aedf69'/>
<id>urn:sha1:5ee4039f462717d4d8afeac343c23e9996aedf69</id>
<content type='text'>
Change-Id: Ie6b3330a9d7587c233fbeef600b9035ede5b081a
Signed-off-by: Bertrand Lanson &lt;bertrand.lanson@protonmail.com&gt;
</content>
</entry>
<entry>
<title>Use mariadb command instead of mysql for upgrade</title>
<updated>2025-12-09T14:21:36+00:00</updated>
<author>
<name>Pierre Riteau</name>
<email>pierre@stackhpc.com</email>
</author>
<published>2025-12-09T14:21:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=f14b6cecec852327dff46e8458eac877d61ab1b4'/>
<id>urn:sha1:f14b6cecec852327dff46e8458eac877d61ab1b4</id>
<content type='text'>
This fixes upgrades from 2025.2 to master, since 2025.2 images do not
include the mysql binary anymore [1].

SLURP upgrades should still work, since 2025.1 images include both
commands:

    $ ls -l /usr/bin/mariadb /usr/bin/mysql
    -rwxr-xr-x. 1 root root 5390512 Nov  3 13:25 /usr/bin/mariadb
    lrwxrwxrwx. 1 root root       7 Nov  3 13:25 /usr/bin/mysql -&gt; mariadb

[1] https://review.opendev.org/c/openstack/kolla/+/926981

Change-Id: Iccd0270ac3c0adbea56fbe3c8b80e1bb644c20c5
Signed-off-by: Pierre Riteau &lt;pierre@stackhpc.com&gt;
</content>
</entry>
<entry>
<title>Fix incorrect mariadb-recovery task name in error message</title>
<updated>2025-12-06T03:39:28+00:00</updated>
<author>
<name>Vudn</name>
<email>dangngocvu4@gmail.com</email>
</author>
<published>2025-12-05T14:33:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=adba7669509ed894fe73b145738712bdcdcdaade'/>
<id>urn:sha1:adba7669509ed894fe73b145738712bdcdcdaade</id>
<content type='text'>
Closes-Bug: #2133983

Change-Id: Ib79cd622123d9b6727ab1d674f680b8e2d52ed68
Signed-off-by: Vudn &lt;dangngocvu4@gmail.com&gt;
</content>
</entry>
<entry>
<title>ansible-lint: Fix name[template], remove package-latest</title>
<updated>2025-12-04T15:36:11+00:00</updated>
<author>
<name>Michal Nasiadka</name>
<email>mnasiadka@gmail.com</email>
</author>
<published>2025-12-04T15:30:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=f22faa1f249c3c1f9b526d39763da2ae813e783d'/>
<id>urn:sha1:f22faa1f249c3c1f9b526d39763da2ae813e783d</id>
<content type='text'>
Change-Id: I7c693403b1768c6c97eea90c3dfe9326764c3230
Signed-off-by: Michal Nasiadka &lt;mnasiadka@gmail.com&gt;
</content>
</entry>
</feed>
