Comment 4 for bug 1692507

Revision history for this message
Eduardo Gonzalez (egonzalez90) wrote : Re: mariadb multinode fail to upgrade ocata->pike

Enabling serial in mariadb fixes the issue. The problem is that restarting all mariadb containers at the same time loose cluster quorum.

Using this:
export ANSIBLE_SERIAL=1

And applying this patch:

diff --git a/ansible/site.yml b/ansible/site.yml
index 9b705a3..8368e9d 100644
--- a/ansible/site.yml
+++ b/ansible/site.yml
@@ -133,6 +133,7 @@
 - name: Apply role mariadb
   gather_facts: false
   hosts: mariadb
+ serial: '{{ serial|default("0") }}'
   roles:
     - { role: mariadb,
         tags: mariadb,