hashicorp / hashicorp/hcdiag

Consul Frequently Used Command Include

Open
#223 2 comments 0 reactions 1 assignee Claimed by @alicia1066 View on GitHub
consul enhancement
Dominant language
Go
Stars
58
Forks
8
PR merge metrics
No merged PRs in 30d

Description

**What problem would you like to address?**

When we start troublshooting customer issue via ticket or in a call, the basic things we asked is below to start with -

1. Logs from all the server logs (if possible, debug level)
2. Consul Server and Client configurations
3. Output of $consul members
4. Output of $consul operator raft list-peers

Currently, hcdiag includes the log-level. But it will be great to see the consul server and client configuration files included in hcdiag, along with the above #3 and #4 commands. That will stand this tool out from the current Consul debug capture.

**Who is the audience for this request?**
Consul Customer Support

**Which HashiCorp products does this affect?**
consul

**What would the ideal solution look like?**
I would like to see the configuration files from all the servers.
"Consul members" output will show me the consul versions, ip addresses etc.
"consul operator raft list peers" output includes the leader information in the cluster.

**What alternatives have you considered?**
N/A

**How does this impact you?**
This will have a great impact on me and my team, if we collect this information in hcdiag tool and when customer opens the ticket with hcdiag captured, then we will have the basic information necessary to stat the investigation right away instead of going back and forth.

**Are there any deadlines?**
No concrete deadline, but sooner is better.

**Is there any additional context?**
Collecting data from customer will be easier and time saving.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.