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

[DISCUSS] The error message "got malformed version message from etcd" is ambiguous #2718

Closed
tokers opened this issue Nov 12, 2020 · 6 comments · Fixed by #2965
Closed

[DISCUSS] The error message "got malformed version message from etcd" is ambiguous #2718

tokers opened this issue Nov 12, 2020 · 6 comments · Fixed by #2965
Assignees
Labels
enhancement New feature or request

Comments

@tokers
Copy link
Contributor

tokers commented Nov 12, 2020

When the etcd initialization fails, the output error message:

got malformed version message: "" from etcd

Which is ambiguous, i think the error details should be exposed. What do you think?

@Firstsawyou
Copy link
Contributor

I agree with you. I have also encountered such a situation, this prompt message is not clear.

@nic-chen
Copy link
Member

agree +1

@membphis
Copy link
Member

agree +1

BTW, how can we get this error message? is it a bug?

@tokers
Copy link
Contributor Author

tokers commented Nov 18, 2020

agree +1

BTW, how can we get this error message? is it a bug?

It's note a bug but a not so friendly hint when we cannot get the etcd version when the etcd cluster is abnormal, like cluster without leader and we are timed out, or even the cluster is totally offline.

@tokers
Copy link
Contributor Author

tokers commented Nov 18, 2020

@starsz Would you like to optimize this? Thanks!

@tokers tokers added the enhancement New feature or request label Nov 18, 2020
@starsz
Copy link
Contributor

starsz commented Nov 18, 2020

@starsz Would you like to optimize this? Thanks!

No problem. My pleasure!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants