[Bug 1789527] Re: Galera agent doesn't work when grastate.dat contains safe_to_bootstrap

2020-04-08 Thread Rafael David Tinoco
commit 16dee87e24ee1a0d6e37b5fa7b91c303f7c912db Author: Ralf Haferkamp Date: Tue Aug 22 15:47:47 2017 +0200 galera: Honor "safe_to_bootstrap" flag in grastate.dat With version 3.19 galera introduced the "safe_to_bootstrap" flag to the grastate.dat file [1]. When all nodes of a

[Bug 1789527] Re: Galera agent doesn't work when grastate.dat contains safe_to_bootstrap

2020-04-08 Thread Rafael David Tinoco
I have added the block-proposed-xenial tag so I can do multiple fixes in a single SRU for xenial. -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1789527 Title: Galera agent doesn't work

[Bug 1789527] Re: Galera agent doesn't work when grastate.dat contains safe_to_bootstrap

2018-11-12 Thread Andreas Hasenack
Related: https://bugs.launchpad.net/charm-percona-cluster/+bug/1744393 -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1789527 Title: Galera agent doesn't work when grastate.dat contains

[Bug 1789527] Re: Galera agent doesn't work when grastate.dat contains safe_to_bootstrap

2018-11-12 Thread Andreas Hasenack
By doing graceful shutdowns I can get in a state where the last node to die will have "safe_to_bootstrap:1" in its grastate.dat file. But I couldn't get that node back running, which was odd, as it should be the *only* one that can be started. I had to use one of the other initscript targets,

[Bug 1789527] Re: Galera agent doesn't work when grastate.dat contains safe_to_bootstrap

2018-11-09 Thread Andreas Hasenack
This wasn't enough to trigger the bug: juju bootstrap lxd juju deploy -n 3 cs:xenial/percona-cluster juju config percona-cluster vip= min-cluster-size=3 juju deploy hacluster juju add-relation percona-cluster hacluster (wait) do a lxc stop -f (wait for juju status to notice) do a lxc start

[Bug 1789527] Re: Galera agent doesn't work when grastate.dat contains safe_to_bootstrap

2018-11-09 Thread Andreas Hasenack
Sure, I just need to get the test case in order. I'll try that today. -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1789527 Title: Galera agent doesn't work when grastate.dat contains

[Bug 1789527] Re: Galera agent doesn't work when grastate.dat contains safe_to_bootstrap

2018-11-08 Thread Andreas Hasenack
I have patched packages in this ppa if someone wants to try them: https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/3506/ I couldn't reproduce the bug so far. I deployed the percona-cluster charm on xenial using -n 3, using lxd, and then used lxd stop -f on all units to force-kill them.

[Bug 1789527] Re: Galera agent doesn't work when grastate.dat contains safe_to_bootstrap

2018-11-07 Thread Andreas Hasenack
** Changed in: resource-agents (Ubuntu) Assignee: (unassigned) => Andreas Hasenack (ahasenack) ** Changed in: resource-agents (Ubuntu) Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to the bug

[Bug 1789527] Re: Galera agent doesn't work when grastate.dat contains safe_to_bootstrap

2018-11-06 Thread Andreas Hasenack
** Tags added: server-next ** Changed in: resource-agents (Ubuntu) Importance: Medium => High -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1789527 Title: Galera agent doesn't work

[Bug 1789527] Re: Galera agent doesn't work when grastate.dat contains safe_to_bootstrap

2018-09-05 Thread Andreas Hasenack
Thanks for bringing this up together with an upstream patch. ** Changed in: resource-agents (Ubuntu) Status: New => Triaged ** Changed in: resource-agents (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Server, which