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

xds: NACKs missing error detail #3969

Closed
howardjohn opened this issue Oct 20, 2020 · 5 comments · Fixed by #3975
Closed

xds: NACKs missing error detail #3969

howardjohn opened this issue Oct 20, 2020 · 5 comments · Fixed by #3975
Assignees

Comments

@howardjohn
Copy link
Contributor

What version of gRPC are you using?

1.33.1

What version of Go are you using (go version)?

1.14

What operating system (Linux, Windows, …) and version?

Linux

What did you do?

Sent an invalid XDS response

What did you expect to see?

NACK with ErrorDetails set. From the spec "If Envoy had instead rejected configuration update X, it would reply with error_detail populated"

What did you see instead?

ErrorDetails unset

@menghanl
Copy link
Contributor

Thanks for reporting. I will have make a fix soon.

What problem did this cause? Do you use the error details for other purposes other than logging?

@howardjohn
Copy link
Contributor Author

Our control plane (Istio) expects ErrorDetails set on NACKs

@howardjohn
Copy link
Contributor Author

Well, it only expects it for logging and metrics - but these are critical

@menghanl
Copy link
Contributor

The fix is in #3975. Please take a look.

but these are critical

I'm not sure what you by "critical"

I totally agree that they are important. But the main purpose is for debugging (for human's use).
If you are relying on this field for other purposes (like, to check if a request is a NACK), that would cause other problems.

@menghanl menghanl self-assigned this Oct 21, 2020
@howardjohn
Copy link
Contributor Author

If config is being NACKed it means it not applying. This absolutely must be exposed to the user, trigger alerts, etc for any serious user running in production. I think we are agreeing but in different words - it is just for humans

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants