Project

General

Profile

Actions

Bug #11677

closed

foreman-debug: netstat to print also ESTABLISHED connections

Added by Pavel Moravec over 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
foreman-debug
Target version:
Difficulty:
trivial
Triaged:
Fixed in Releases:
Found in Releases:

Description

Description of problem:
foreman-debug generates netstat file as an output of "netstat -tulpn" command. -l means only listening sockets are displayed. While it is often important to see also established connections, i.e. celery connected to CDN:443 during repo sync, goferd on a content host to 5647, dispatch router on capsule to 5646, etc. If some such connection is missing, it is a symptom of some problem - but netstat in foreman-debug does not provide that info.

Please provide "netstat putna" output rather (-l -> -a, print all sockets).

Version-Release number of selected component (if applicable):
foreman-debug-1.7.2.34-1.el7sat.noarch

How reproducible:
100%

Steps to Reproduce:
1. foreman-debug
2. (in extracted tarball): grep ESTAB netstat

Actual results:
no established TCP connection

Expected results:
many established connections, like:

tcp 0 0 1.2.3.4:40912 1.2.3.4:5671 ESTABLISHED 25428/qdrouterd

Additional info:
Same applies to "ss" command as an alternative to netstat

Actions #1

Updated by The Foreman Bot over 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2668 added
  • Pull request deleted ()
Actions #2

Updated by Dominic Cleal over 8 years ago

  • translation missing: en.field_release set to 63
Actions #3

Updated by Pavel Moravec over 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF