Bug 798963 - qpid-stat does not show cproc and cpid info on connections in clustered configuration
qpid-stat does not show cproc and cpid info on connections in clustered confi...
Status: NEW
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-tools (Show other bugs)
Development
Unspecified Unspecified
medium Severity medium
: ---
: ---
Assigned To: messaging-bugs
MRG Quality Engineering
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-01 06:41 EST by Frantisek Reznicek
Modified: 2015-11-15 20:17 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Frantisek Reznicek 2012-03-01 06:41:03 EST
Description of problem:

qpid-stat shows cproc and cpid info on connections when ran as 'qpid-stat -c [broker-id]'

When qpid-stat attaches /runs against non-clustered broker everything is fine and cproc and cpid fields are valid:
[root@dhcp-27-49 bz773700]# qpid-stat -b
Brokers
  broker  cluster       uptime  conn  sess  exch  queue
  =======================================================
  ?       <standalone>  5s         1     1     8     5
[root@dhcp-27-49 bz773700]# qpid-stat -c
Connections
  client-addr             cproc      cpid   auth       connected  idle  msgIn  msgOut
  =====================================================================================
  [::1]:5672-[::1]:45590  qpid-stat  27793  anonymous  1s         0s     242    309
[root@dhcp-27-49 bz773700]# qpid-stat -c
Connections
  client-addr             cproc      cpid   auth       connected  idle  msgIn  msgOut
  =====================================================================================
  [::1]:5672-[::1]:45591  qpid-tool  27807  anonymous  6s         0s     287    480
  [::1]:5672-[::1]:45592  qpid-stat  27821  anonymous  0s         0s     242    309


When qpid-stat attaches /runs against clustered broker node both cproc and cpid fields are empty:
[root@dhcp-27-49 bz773700]# qpid-stat -b
Brokers
  broker  cluster              uptime  conn  sess  exch  queue
  ==============================================================
  ?       mycluster6A(ACTIVE)  20s        1     1     9     5
[root@dhcp-27-49 bz773700]# qpid-stat -c
Connections
  client-addr             cproc  cpid  auth       connected  idle  msgIn  msgOut
  ================================================================================
  [::1]:5672-[::1]:45597               anonymous  0s         0s     214    235
[root@dhcp-27-49 bz773700]# qpid-stat -c
Connections
  client-addr             cproc  cpid  auth       connected  idle  msgIn  msgOut
  ================================================================================
  [::1]:5672-[::1]:45599               anonymous  0s         0s     214    235
  [::1]:5672-[::1]:45598               anonymous  4s         0s     259    410


Broker configuration:
  # cat /etc/qpidd.conf
  cluster-mechanism=DIGEST-MD5 ANONYMOUS
  log-enable=info+
  mgmt-pub-interval=5
  log-to-file=/var/lib/qpidd/qpidd.log
  auth=no
  # for clustering enable following lines
  #cluster-name=mycluster6A

Version-Release number of selected component (if applicable):
  python-qpid-0.14-5.el6.noarch
  python-qpid-qmf-0.14-4.el6.i686
  qpid-cpp-client-0.14-7.el6.i686
  qpid-cpp-client-devel-0.14-7.el6.i686
  qpid-cpp-client-devel-docs-0.14-7.el6.noarch
  qpid-cpp-client-rdma-0.14-7.el6.i686
  qpid-cpp-client-ssl-0.14-7.el6.i686
  qpid-cpp-server-0.14-7.el6.i686
  qpid-cpp-server-cluster-0.14-7.el6.i686
  qpid-cpp-server-devel-0.14-7.el6.i686
  qpid-cpp-server-rdma-0.14-7.el6.i686
  qpid-cpp-server-ssl-0.14-7.el6.i686
  qpid-cpp-server-store-0.14-7.el6.i686
  qpid-cpp-server-xml-0.14-7.el6.i686
  qpid-java-client-0.14-3.el6.noarch
  qpid-java-common-0.14-3.el6.noarch
  qpid-java-example-0.14-3.el6.noarch
  qpid-qmf-0.14-4.el6.i686
  qpid-qmf-devel-0.14-4.el6.i686
  qpid-tests-0.14-1.el6.noarch
  qpid-tools-0.14-1.el6.noarch
  rh-qpid-cpp-tests-0.14-7.el6.i686
  ruby-qpid-qmf-0.14-4.el6.i686


How reproducible:
100%

Steps to Reproduce:
1. start broker in clustered mode (enough 1 node)
2. qpid-stat -b
3. qpid-stat -c # see cproc  cpid columns
  
Actual results:
Incomplete connection information in clustered config.

Expected results:
Complete connection information in all configs (non-clustered/clustered).

Note You need to log in before you can comment on or make changes to this bug.