"mariadb cluster is not in synced state"
7.x
This could be caused by a number of issues and would need to be investigated to determine cause and corrective action.
Please contact Broadcom Support to investigate the issue.
We can run this command to see details about the Galera cluster for MariaDB. Please capture this information and include it when you contact Broadcom Support.
for server in `seq 0 2`;do osctl exec -ti mariadb-server-$server -- mysql --defaults-file=/etc/mysql/admin_user.cnf --host=localhost -e "show status;";done |grep -e wsrep_cluster_size -e wsrep_last_committed -e wsrep_local_cached_downto -e wsrep_local_commits -e wsrep_local_state_comment -e wsrep_local_state_uuid -e wsrep_incoming_addresses
It will return results similar to below for each node. The highest wsrep_last_committed
number is the DB with the most current updates.
wsrep_last_committed
. This would be recommended to do prior to contacting Broadcom Support.osctl exec -ti mariadb-server-0 -- mysqldump --defaults-file=/etc/mysql/admin_user.cnf --host=localhost --all-databases > /tmp/7.2.sql
(We added "--host=localhost" to make sure the backup comes from mariadb-server-0)