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

Don't try to join a cluster that we are already a member of. #88

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

cjohnston1158
Copy link

Fixes: LP:#2069672

Description

Currently, the charm has the ability to attempt to re-join a cluster that it is already a member of. Most likely this is due to the setup not being completed prior to trying to rejoin. I suspect possibly on less than ideal hardware.

Fixes #2069672

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • CleanCode (Code refactor, test updates, does not introduce functional changes)
  • Documentation update (Doc only change)

How Has This Been Tested?

NOTE: All functional changes should accompany corresponding tests (unit tests, functional tests etc).

Please describe the addition/modification of tests done to verify this change. Please also list any relevant details for your test configuration.

Contributor's Checklist

Please check that you have:

  • self-reviewed the code in this PR.
  • added code comments, particularly in hard-to-understand areas.
  • updated the user documentation with corresponding changes.
  • added tests to verify effectiveness of this change.

@hemanthnakkina
Copy link
Collaborator

/canonical/self-hosted-runners/run-workflows fe10e9e

Copy link
Collaborator

@hemanthnakkina hemanthnakkina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution Chris.

In my earlier PRs, i see intermittent CI issues in multi node tests failing to join the node. So used to rerun the failed tests.
The CI tests in this PR passed on the first try.

@UtkarshBhatthere UtkarshBhatthere merged commit db0bdbc into canonical:main Jun 18, 2024
9 checks passed
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.

3 participants