-
Notifications
You must be signed in to change notification settings - Fork 11
docs(troubleshooting): add support diagnostics page #336
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
Open
pau-hedgehog
wants to merge
1
commit into
master
Choose a base branch
from
pau/support-bundle-docs
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+48
−0
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| # Support Diagnostics | ||
|
|
||
| If the steps in the rest of this section don't resolve the issue, collect the | ||
| following before reaching out to support. The more of this is included up | ||
| front, the faster the issue can be localized. | ||
|
|
||
| ## What to include | ||
|
|
||
| - Your `hhfab`/`hhfabctl` version and a summary of your topology (gateway | ||
| present, external peering, VPCs in use). | ||
| - A plain description of the symptom and roughly when it started. | ||
| - Anything that changed around that time - a config push, upgrade, reboot, | ||
| or node/server move - even if you're not sure it's related. | ||
| - Which specific switches or nodes are affected, if you've already narrowed | ||
| it down. | ||
| - Any diagnostics you've already collected yourself. Include the raw output | ||
| rather than a summary, so we don't have to re-derive what you've already | ||
| found. | ||
|
|
||
| ## Collecting a support bundle | ||
|
|
||
| `hhfabctl` is installed on the control node as a `kubectl` plugin, so it's | ||
| invoked as `kubectl hhfab`, not as a standalone command: | ||
|
|
||
| ```console | ||
| core@control-1 ~ $ kubectl hhfab support dump -y | ||
| ``` | ||
|
|
||
| This produces a single timestamped `.hhs` file containing cluster resources | ||
| (Fabricator, Agent, Connection, VPC, and related objects) and pod logs. | ||
| Secrets are redacted, but the bundle still reflects your deployment's real | ||
| topology and state. | ||
|
|
||
| ## Switch-level diagnostics | ||
|
|
||
| For issues that look like a dataplane or hardware problem rather than a | ||
| control-plane one (for example, traffic not forwarding despite correct BGP/EVPN | ||
| state), support may also ask for a `show techsupport` capture from specific | ||
| switches. This is a per-device SONiC command - if asked, run it only on the | ||
| switches identified as relevant rather than the whole fabric, both to keep | ||
| the capture a manageable size and because a comparison against a switch that | ||
| *is* behaving correctly is often the most useful artifact. | ||
|
|
||
| !!! note | ||
| Support bundles and switch dumps reflect your real deployment and should | ||
| be treated as confidential. Share them only through the channel your | ||
| support contact provides, not in a public issue or channel. | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isn't that contradictory? if they provide us with the raw output and not the output, that means we need to re-derive what they have already found. I'd say we still want the raw output, but motivate it differently - e.g. we want to be able to reach our own conclusions / exclude other possible root causes etc. I'd still encourage them to give us any summary (in addition to the raw output) if they did any troubleshooting themselves.