Feb 04 15:34:53 controller-########## mariadb[761]: 2025-02-04 15:34:53,420 - OpenStack-Helm Mariadb - INFO - b'2025-02-04 15:29:58 139854286731200 [ERROR] Bad magic header in tc log'
Feb 04 15:34:53 controller-##########
mariadb[761]: 2025-02-04 15:34:53,420 - OpenStack-Helm Mariadb - INFO - b"2025-02-04 15:29:58 139854286731200 [ERROR] Crash recovery failed. Either correct the problem (if it's, for example, out of memory error) and restart, or delete tc log and start mysqld with --tc-heuristic-recover={commit|rollback}"
Feb 04 15:34:53 controller-##########
mariadb[761]: 2025-02-04 15:34:53,420 - OpenStack-Helm Mariadb - INFO - b"2025-02-04 15:29:58 139854286731200 [ERROR] Can't init tc log"
Feb 04 15:34:53 controller-##########
mariadb[761]: 2025-02-04 15:34:53,420 - OpenStack-Helm Mariadb - INFO - b'2025-02-04 15:29:58 139854286731200 [ERROR] Aborting'
Feb 04 15:34:53 controller-##########
mariadb[761]: 2025-02-04 15:34:53,420 - OpenStack-Helm Mariadb - INFO - b''
Feb 04 15:34:53 controller-##########
mariadb[761]: 2025-02-04 15:34:53,420 - OpenStack-Helm Mariadb - INFO - b"Error in my_thread_global_end(): 1 threads didn't exit"
7.x
This might mean that the transaction coordinator log is corrupt.
We need to remove the tc.log.
osctl edit sts mariadb-server
mariadb-server-0
pod is createdosctl exec -ti mariadb-server-0 bash
mv /var/lib/mysql/tc.log /tmp
You should see that the mariadb pods will start up without error. The rest of the services/pods should now start up.