Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bootstrap with force #100

Merged
merged 1 commit into from
Mar 5, 2024
Merged

Bootstrap with force #100

merged 1 commit into from
Mar 5, 2024

Conversation

carlcsaposs-canonical
Copy link
Contributor

Instead of relying on the existence of old router user to cleanup router from cluster metadata, force bootstrap so that the metadata does not need to be cleaned up.

Fixes canonical/mysql-k8s-operator#345. The issue was that the router charm would delete the user & router metadata, but that only the user deletion would go through. Then, on the router charm's next hook, the bootstrap failed because the metadata was not cleaned up.

Ported from canonical/mysql-router-k8s-operator#187

@carlcsaposs-canonical
Copy link
Contributor Author

Depends on #88

@paulomach
Copy link
Contributor

Depends on #88

What's blocking 88?

@carlcsaposs-canonical
Copy link
Contributor Author

Depends on #88

What's blocking 88?

waiting for @taurus-forever review

Instead of relying on the existence of old router user to cleanup router from cluster metadata, force bootstrap so that the metadata does not need to be cleaned up.

Fixes canonical/mysql-k8s-operator#345. The issue was that the router charm would delete the user & router metadata, but that only the user deletion would go through. Then, on the router charm's next hook, the bootstrap failed because the metadata was not cleaned up.

Ported from canonical/mysql-router-k8s-operator#187
@carlcsaposs-canonical carlcsaposs-canonical merged commit d11f8ed into main Mar 5, 2024
6 of 7 checks passed
@carlcsaposs-canonical carlcsaposs-canonical deleted the force-bootstrap branch March 5, 2024 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mysql-router-k8s: bootstrap failure
3 participants