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

docs: how to troubleshoot consul connect envoy #15908

Merged
merged 1 commit into from
Feb 2, 2023

Conversation

gulducat
Copy link
Member

@gulducat gulducat commented Jan 26, 2023

Largely a doc-ification of this commit message: d476780

This doesn't spell out all (or any of) the possible failure modes, but should be a good starting point for folks.

Relates to issue #12389 which doesn't have a straightforward solution, but this documentation at least puts some steps out on our website for people to try out.

Closes #12389

Copy link
Contributor

@lgfa29 lgfa29 left a comment

Choose a reason for hiding this comment

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

LGTM! Minor nit-pick on the secrets dir

website/content/docs/integrations/consul-connect.mdx Outdated Show resolved Hide resolved
@gulducat gulducat added backport/website This will backport PR changes to `stable-website` && the latest release-branch backport/1.4.x backport to 1.4.x release line labels Jan 27, 2023
@gulducat
Copy link
Member Author

gulducat commented Jan 27, 2023

I added a link in the error message, and took a little detour to get tests to pass via error wrapping instead of literal string matching. How does that look to ya @lgfa29 ? It appears in a task event like this (but without formatting)

Task hook failed | envoy_bootstrap: error creating bootstrap configuration for Connect proxy sidecar: exit status 1; see: <https://www.nomadproject.io/s/envoy-bootstrap-error>

The redirect link doesn't exist yet, so probably should hold off on merging this until that's set up. The PR for that is here: hashicorp/dev-portal#1585

client/allocrunner/taskrunner/envoy_bootstrap_hook.go Outdated Show resolved Hide resolved
website/content/docs/integrations/consul-connect.mdx Outdated Show resolved Hide resolved
* largely a doc-ification of this commit message:
  d476780
  this doesn't spell out all the possible failure modes,
  but should be a good starting point for folks.

* connect: add doc link to envoy bootstrap error

* add Unwrap() to RecoverableError
  mainly for easier testing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/website This will backport PR changes to `stable-website` && the latest release-branch backport/1.4.x backport to 1.4.x release line
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve logging on Connect proxy error
4 participants