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

Clarify message emitted on cluster UUID mismatch (#66915) #66926

Conversation

DaveCTurner
Copy link
Contributor

Today we report a join failure due to a cluster UUID mismatch with the
following (accurate, but mystifying) message:

join validation on cluster state with a different cluster uuid [...] than local cluster uuid [...], rejecting

This tends to occur mostly when setting up a cluster for the first time
and gives users no clue what they've actually done wrong or what they
should do to fix it.

This commit adjusts this message to indicate that the problem is likely
discovery or cluster bootstrapping configuration and indicates that the
cluster UUID persists across restarts and suggests the usual fix of
wiping the node's data path to get out of the mess.

@DaveCTurner DaveCTurner added >enhancement :Distributed Coordination/Cluster Coordination Cluster formation and cluster state publication, including cluster membership and fault detection. backport v7.12.0 labels Jan 4, 2021
@elasticmachine elasticmachine added the Team:Distributed Meta label for distributed team (obsolete) label Jan 4, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

Today we report a join failure due to a cluster UUID mismatch with the
following (accurate, but mystifying) message:

    join validation on cluster state with a different cluster uuid [...] than local cluster uuid [...], rejecting

This tends to occur mostly when setting up a cluster for the first time
and gives users no clue what they've actually done wrong or what they
should do to fix it.

This commit adjusts this message to indicate that the problem is likely
discovery or cluster bootstrapping configuration and indicates that the
cluster UUID persists across restarts and suggests the usual fix of
wiping the node's data path to get out of the mess.

Backport of elastic#66915 to 7.x.
@DaveCTurner DaveCTurner force-pushed the 2021-01-04-cluster-uuid-mismatch-message-7x branch from ee21aa8 to 94355da Compare January 4, 2021 13:53
@DaveCTurner
Copy link
Contributor Author

Failure is #66278
@elasticmachine please run elasticsearch-ci/2

@DaveCTurner DaveCTurner merged commit ebb6d27 into elastic:7.x Jan 4, 2021
@DaveCTurner DaveCTurner deleted the 2021-01-04-cluster-uuid-mismatch-message-7x branch January 4, 2021 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport :Distributed Coordination/Cluster Coordination Cluster formation and cluster state publication, including cluster membership and fault detection. >enhancement Team:Distributed Meta label for distributed team (obsolete) v7.12.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants