Bug 1027391

Summary: [AMQP 1.0] process name and id not visible for 1.0 connections through mgmt
Product: Red Hat Enterprise MRG Reporter: Gordon Sim <gsim>
Component: qpid-cppAssignee: Gordon Sim <gsim>
Status: CLOSED CURRENTRELEASE QA Contact: Ernie <eallen>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 3.0CC: eallen, esammons, freznice, iboverma, jross
Target Milestone: 3.0Keywords: OtherQA
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qpid-cpp-0.22-26 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-21 12:55:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1010399    

Description Gordon Sim 2013-11-06 17:31:52 UTC
Description of problem:

The process id, parent process id and process name connection properties are not visible through management for AMQP 1.0 connections.

Version-Release number of selected component (if applicable):

qpid-0.24

How reproducible:

100%

Steps to Reproduce:
1. drain --connection-options {protocol:amqp1.0} -f amq.direct
2. qpid-stat -c

Actual results:

cproc and cpid are both blank for the 1.0 connection

Expected results:

cproc and cpid are populated correctly

Additional info:

Comment 1 Gordon Sim 2013-11-06 17:32:53 UTC
Fixed upstream: https://svn.apache.org/r1538753

Comment 2 Ernie 2014-03-07 15:49:42 UTC
Verified on RHEL 6.5 i686
qpid-cpp-client-0.22-35.el6.i686
python-qpid-0.22-11.el6.noarch
qpid-cpp-server-0.22-35.el6.i686
qpid-qmf-0.22-27.el6.i686
qpid-tools-0.22-8.el6.noarch
qpid-cpp-client-devel-0.22-35.el6.i686
qpid-proton-c-0.6-1.el6.i686
python-qpid-qmf-0.22-27.el6.i686

and verified on RHEL 6.5 x86_64
qpid-cpp-server-0.22-35.el6.x86_64
python-qpid-0.22-11.el6.noarch
qpid-proton-c-0.6-1.el6.x86_64
qpid-cpp-client-0.22-35.el6.x86_64
qpid-qmf-0.22-27.el6.x86_64
python-qpid-qmf-0.22-27.el6.x86_64
qpid-tools-0.22-8.el6.noarch
qpid-cpp-client-devel-0.22-35.el6.x86_64

output of qpid-stat -c when drain is using protocol amqp1.0 is now:

Connections
  connection                           cproc      cpid  mech       auth            connected  idle  msgIn  msgOut
  =================================================================================================================
  qpid.127.0.0.1:5672-127.0.0.1:35836  drain      7979  ANONYMOUS  anonymous@QPID  3s         0s       0      0
  qpid.[::1]:5672-[::1]:36334          qpid-stat  7981  ANONYMOUS  anonymous@QPID  0s         0s       1      0

Both cproc and cpid are present.