Skip to content

chore: tailnet debug logging #7260

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

Merged
merged 10 commits into from
Apr 27, 2023
Merged

chore: tailnet debug logging #7260

merged 10 commits into from
Apr 27, 2023

Conversation

spikecurtis
Copy link
Contributor

@spikecurtis spikecurtis commented Apr 24, 2023

We've been seeing some flaky tests with tailnet connections that fail to come up. This PR

  1. Enables Tailscale Discovery (Disco) debug logging in CI
  2. Adds additional debug logging to agent and tailnet

@spikecurtis spikecurtis changed the title Draft: Debugging tailnet fix: Debugging tailnet Apr 24, 2023
Signed-off-by: Spike Curtis <spike@coder.com>
Signed-off-by: Spike Curtis <spike@coder.com>
Signed-off-by: Spike Curtis <spike@coder.com>
Signed-off-by: Spike Curtis <spike@coder.com>
Signed-off-by: Spike Curtis <spike@coder.com>
@spikecurtis spikecurtis force-pushed the spike/debug-tailnet branch from c36693b to 1b9f328 Compare April 26, 2023 11:20
@spikecurtis spikecurtis changed the title fix: Debugging tailnet chore: tailnet debug logging Apr 26, 2023
@spikecurtis spikecurtis marked this pull request as ready for review April 26, 2023 11:22
@spikecurtis spikecurtis requested a review from mafredri April 26, 2023 11:22
Copy link
Member

@mafredri mafredri left a comment

Choose a reason for hiding this comment

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

Some minor suggestions to improve the messaging a bit and one slightly larger concern about write rpty logging, but other than that, looks good.

We should maybe try to take a look at how much this increases agent log size though as it's already pretty verbose.

spikecurtis and others added 5 commits April 27, 2023 07:52
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
Signed-off-by: Spike Curtis <spike@coder.com>
@spikecurtis spikecurtis requested a review from mafredri April 27, 2023 04:23
Copy link
Member

@mafredri mafredri 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 making the changes, looks good. Can't wait to see if this helps us narrow down some issues 👍

@spikecurtis spikecurtis merged commit b6666cf into main Apr 27, 2023
@spikecurtis spikecurtis deleted the spike/debug-tailnet branch April 27, 2023 09:59
@github-actions github-actions bot locked and limited conversation to collaborators Apr 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants