OpenStack Deployment State: STARTINGSERVICE CONTROLLER READY FAILURESmariadb mariadb-server 2/3 -Events: Type Reason Age From Message ---- ------ ---- ---- ------- Warning Unhealthy 2m34s (x30510 over 10d) kubelet, controller-############ Readiness probe failed:2025-06-09 06:37:35,301 - OpenStack-Helm Mariadb - INFO - Checking to see if cluster data is fresh2025-06-09 06:37:35,304 - OpenStack-Helm Mariadb - INFO - The data we have from the cluster is too old to make a decision for node mariadb-server-02025-06-09 06:37:35,304 - OpenStack-Helm Mariadb - INFO - The data we have from the cluster is ok for node mariadb-server-12025-06-09 06:37:35,305 - OpenStack-Helm Mariadb - INFO - The data we have from the cluster is too old to make a decision for node mariadb-server-2For example:#osctl get cm mariadb1-mariadb-state -oyaml...openstackhelm.openstack.org/cluster.state: liveopenstackhelm.openstack.org/leader.expiry: "2025-01-01T12:49:54.353900Z"openstackhelm.openstack.org/leader.node: mariadb-server-1openstackhelm.openstack.org/reboot.node: mariadb-server-07.3
The configuration has the cluster leader node as the node that does not have the highest sequence number so it cannot become leader of the cluster nor join the existing cluster.
Note: Make sure we have valid current backups. Failure to have valid current backups can result in data loss.
In this scenario, the listed leader node is not as updated as the running cluster. We could end up in a scenario where that node becomes the cluster leader and the other 2 nodes will update from that. Resulting in data loss that may not be recoverable.
osctl exec -it mariadb-server-0 bashmysqldump --defaults-file=/etc/mysql/admin_user.cnf --host=localhost --all-databases > /tmp/<backup name>.sqlexitosctl cp openstack/mariadb-server-0:/tmp/<database>.sql /tmp/<database>.sql **copy backup to the manager for safe keeping**If you run into any problems with backup piece, contact Broadcom Support and do not proceed.
#osctl annotate --overwrite cm mariadb1-mariadb-state openstackhelm.openstack.org/leader.node='mariadb-server-x'#osdel pod mariadb-server-ymariadb mariadb-server 3/3OpenStack Deployment State: RUNNING