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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

NET-3860 - [Supportability] consul troubleshoot CLI for verifying ports #19836

Merged
merged 7 commits into from Dec 6, 2023

Conversation

absolutelightning
Copy link
Contributor

Backport

This PR is auto-generated from #18329 to be assessed for backporting due to the inclusion of the label backport/1.16.

馃毃

Warning automatic cherry-pick of commits failed. If the first commit failed,
you will see a blank no-op commit below. If at least one commit succeeded, you
will see the cherry-picked commits up to, not including, the commit where
the merge conflict occurred.

The person who merged in the original PR is:
@absolutelightning
This person should manually cherry-pick the original PR into a new backport PR,
and close this one when the manual backport PR is merged in.

merge conflict error: unable to process merge commit: "307d7ffb3f2f49780a7658bcbdbc38c3d258d82c", automatic backport requires rebase workflow

The below text is copied from the body of the original PR.


Description

Adds command consul troubleshoot ports

asheshvidyut@absolutelightning-H2GX766V9T ~/consul (NET-3860) 禄 export CONSUL_HTTP_ADDR=localhost
asheshvidyut@absolutelightning-H2GX766V9T ~/consul (NET-3860) 禄 ./bin/consul troubleshoot ports
TCP: Port 8600 on localhost is open.
TCP: Port 8503 on localhost is open.
TCP: Port 8501 on localhost is closed, unreachable, or the connection timed out.
TCP: Port 8300 on localhost is open.
TCP: Port 8301 on localhost is open.
TCP: Port 8502 on localhost is open.
TCP: Port 8500 on localhost is open.
TCP: Port 8302 on localhost is open.
asheshvidyut@absolutelightning-H2GX766V9T ~/consul (NET-3860) 禄 ./bin/consul troubleshoot ports -host localhost -ports 4646,4747,8888,8500
TCP: Port 8500 on localhost is open.
TCP: Port 4747 on localhost is closed, unreachable, or the connection timed out.
TCP: Port 8888 on localhost is closed, unreachable, or the connection timed out.
TCP: Port 4646 on localhost is closed, unreachable, or the connection timed out.
asheshvidyut@absolutelightning-H2GX766V9T ~/consul (NET-3860) 禄 ./bin/consul troubleshoot ports -host localhost
TCP: Port 8503 on localhost is open.
TCP: Port 8500 on localhost is open.
TCP: Port 8302 on localhost is open.
TCP: Port 8502 on localhost is open.
TCP: Port 8600 on localhost is open.
TCP: Port 8300 on localhost is open.
TCP: Port 8501 on localhost is closed, unreachable, or the connection timed out.
TCP: Port 8301 on localhost is open.

UDP connection is not testable. Here are the answers for that -
https://stackoverflow.com/questions/62608339/golang-check-udp-port-open

PR Checklist

  • updated test coverage
  • external facing docs updated
  • appropriate backport labels added
  • not a security concern

Overview of commits

@absolutelightning absolutelightning changed the title NET 3860 NET-3860 - [Supportability] consul troubleshoot CLI for verifying ports Dec 6, 2023
@absolutelightning absolutelightning merged commit 04ef2b9 into release/1.16.x Dec 6, 2023
88 checks passed
@absolutelightning absolutelightning deleted the NET-3860-rel-1.16.x branch December 6, 2023 09:57
@absolutelightning absolutelightning added the consul-india PRs/Issues assigned to Consul India team label Dec 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
consul-india PRs/Issues assigned to Consul India team pr/no-backport type/docs-cherrypick
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants