Closed gboutry closed 3 months ago
Update: I was able to reproduce the issue and test a potential fix. I will be honing this fix in the coming week and opening a PR with tests
@gboutry we have merged a fix in PR #433 along with an integration test. the fix should be released to 8.0/edge
. please re-test when able and re-open if there are any other issues
Steps to reproduce
Expected behavior
When the pod is scheduled to another node, it should be able to join back the quorum.
Actual behavior
The MySQL unit fails to join back the quorum, complaining about
An instance with label 'squirrel-mysql-0' is already part of this InnoDB cluster
Versions
Operating system: Ubuntu 22.04.4 LTS
Juju CLI: 3.4.2-genericlinux-amd64
Juju agent: 3.4.2
Charm revision: 127
microk8s: MicroK8s v1.28.7 revision 6532
Log output
Additional context
This is part of a work in Sunbeam to be able to remove a node being part of a k8s cluster. Mysql units might be hosted on there, and we should be able to re-schedule them to other nodes.
The reproduction script is a bit convoluted, but this actually resembles a sunbeam installation.