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

2019-05-14 Thread Robie Basak
** Tags removed: server-next -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1789527 Title: Galera agent doesn't work when grastate.dat contains safe_to_bootstrap To manage notifications about this b

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

2019-05-14 Thread Robie Basak
Workaround -> Importance: Medium, and back to Triaged since this isn't being actively worked on (it's in our backlog). ** Changed in: resource-agents (Ubuntu) Status: In Progress => Triaged ** Changed in: resource-agents (Ubuntu) Assignee: Andreas Hasenack (ahasenack) => (unassigned)

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

2019-05-14 Thread Robie Basak
(if anyone can contribute a fix in terms of a debdiff that is ready to apply, please do and I'll make sure it gets looked at promptly) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1789527 Title: Ga

[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 Bugs, which is

[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 Bugs, which is subscribed to Ubuntu. https://

[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-08 Thread Aymen Frikha
Hi Andreas, Thank you very much for the package provided. It works fine for me. You can reproduce the bug when you deploy hacluster charm as a subordinate service for percona cluster. It will deploy Pacemaker, put the vip and the resource agent to manage Percona cluster. It will use galera reso

[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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1789527 Title: Galera agent doesn't work when grastate.dat contains safe_to_bootst

[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 (wait

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

2018-11-09 Thread Aymen Frikha
Yes you are right Andreas, you need active database writes when you shutdown them. The resource agent automatically detect which instance has the last commit and start it as master and resume the replication to the other instances. -- You received this bug notification because you are a member of

[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, resta

[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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1789527 Title: Galera agent doesn't work when grastate.dat contains safe_to_boots

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

2018-11-12 Thread Aymen Frikha
Can you test using this configuration of Pacemaker ? : primitive p_percona ocf:heartbeat:galera \ params wsrep_cluster_address="gcomm://controller-1,controller-2,controller-3" \ params config="/etc/mysql/my.cnf" \ params datadir="/var/lib/percona-xtradb-cluster" \

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

2018-11-05 Thread Christian Reis
Currently blocking https://review.openstack.org/#/c/597969/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1789527 Title: Galera agent doesn't work when grastate.dat contains safe_to_bootstrap To ma

[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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1789527 Title: Galera agent doesn't work when grastate

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

2019-11-11 Thread Rafael David Tinoco
I'm assigning myself to check this next time I touch the cleanup for resource-agents. Looks like bug is blocking the following change: https://review.opendev.org/#/c/597969/ to charm percona cluster. For the start ordering issue: https://bugs.launchpad.net/charm-percona-cluster/+bug/1744393 T

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

2022-02-10 Thread Sergio Durigan Junior
Xenial has reached its end of standard support. ** Changed in: resource-agents (Ubuntu Xenial) Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1789527 Title: Gal

[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 clus

[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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1789527 Title: Galera agent doesn't work when grastate