[kolla] Shutdown ordering of MariaDB containers?

Eddie Yen missile0407 at gmail.com
Fri Nov 15 03:26:47 UTC 2019


Hi everyone,
I want to ask about the order of shutdown MariaDB (or mean controller) node.

For previous steps we found is usually shutdown slaves first, then master
[1].
But we found that the MariaDB still get container restarting issue even I
followed the step after booting up the cluster.

Below is that I did when shutdown/boot up controller.
1. Shutdown the slaves first, then master
2. Boot master first, then slaves.

For looking which one is master, we usually looking for the haproxy log and
find which mariadb node that the last session access the DB.
Or looking for which mariadb container has "--wsrep-new-cluster" in
BOOTSTRAP_ARGS.

Does anyone has experience about this?

Many thanks,
Eddie.

[1] https://bugs.launchpad.net/kolla-ansible/+bug/1712087
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20191115/9f807a94/attachment.html>


More information about the openstack-discuss mailing list