Bug 1267824 - Qpid QMF does not show remotePid, remoteProcessName in connection object for AMQP 1.0 Java client
Summary: Qpid QMF does not show remotePid, remoteProcessName in connection object for ...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-qmf
Version: 3.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: messaging-bugs
QA Contact: Messaging QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-01 07:31 UTC by Michal Toth
Modified: 2020-11-04 22:30 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)

Description Michal Toth 2015-10-01 07:31:00 UTC
Description of problem:
At least remotePid, remoteProcessName properties are missing in QMF for AMQP 1.0 Java client object.
Also, "remoteParentPid" was missing.
See actual/expected parts for more information (use diff).


Version-Release number of selected component (if applicable):
qpid-qmf-0.34-4.el6.i686

How reproducible:
Always

Steps to Reproduce:
1. Subscribe to any topic with amqp 1.0 java client
./qc3_drain.java.sh  --timeout 120 --log-msgs dict --broker guest/guest@10.34.75.216:5672 --connection-options "{  sasl_mechanisms : 'PLAIN', protocol : 'amqp1.0' }" --count 1  "amq.direct;{'node': {'type': 'topic'}}"

2. ./qmf2_list_objects (search for connection key/s), remotePid is missing

3. Compare with a connected amqp 0.10 java client (same 1,2 points)


Actual results:
remotePid, remoteProcessName are missing
Local connection from the same machine as broker is:
{'qpid.10.34.75.216:5672-10.34.75.216:39125': {'SystemConnection': False,
  '_create_ts': 1443682893460116617,
  '_delete_ts': 0,
  '_object_id': {'_agent_epoch': 1250,
   '_object_name': 'org.apache.qpid.broker:connection:qpid.10.34.75.216:5672-10.34.75.216:39125'},
  '_schema_id': {'_class_name': 'connection',
   '_hash': '99b81adb-2cf6-06a7-ac90-1cb42e67c2fc',
   '_package_name': 'org.apache.qpid.broker',
   '_type': '_data'},
  '_update_ts': 1443682895082805349,
  'address': 'qpid.10.34.75.216:5672-10.34.75.216:39125',
  'authIdentity': 'guest@QPID',
  'bytesFromClient': 0,
  'bytesToClient': 0,
  'closing': False,
  'federationLink': False,
  'framesFromClient': 0,
  'framesToClient': 0,
  'incoming': True,
  'msgsFromClient': 0,
  'msgsToClient': 0,
  'protocol': 'AMQP 1.0',
  'remoteProperties': {'container-id': 'ID:dhcp-75-216.lab.eng.brq.redhat.com-46923-1443682892756-1:1',
   'platform': 'JVM: 1.7.0_85, 24.85-b03, Oracle Corporation, OS: Linux, 2.6.32-504.12.2.el6.i686, i386',
   'product': 'QpidJMS',
   'version': '0.5.0.redhat-1'},
  'saslMechanism': 'CRAM-MD5',
  'saslSsf': 0,
  'shadow': False,
  'userProxyAuth': False,
  'vhostRef': {'_object_name': 'org.apache.qpid.broker:vhost:org.apache.qpid.broker:broker:amqp-broker,/'}},

OR even less information

remote connection from the different machine as broker is:
{'qpid.10.34.75.216:5672-10.40.1.119:37182': {'SystemConnection': False,
  '_create_ts': 1443683384627552992,
  '_delete_ts': 0,
  '_object_id': {'_agent_epoch': 1250,
   '_object_name': 'org.apache.qpid.broker:connection:qpid.10.34.75.216:5672-10.40.1.119:37182'},
  '_schema_id': {'_class_name': 'connection',
   '_hash': '99b81adb-2cf6-06a7-ac90-1cb42e67c2fc',
   '_package_name': 'org.apache.qpid.broker',
   '_type': '_data'},
  '_update_ts': 1443683385082371534,
  'address': 'qpid.10.34.75.216:5672-10.40.1.119:37182',
  'authIdentity': 'guest@QPID',
  'bytesFromClient': 0,
  'bytesToClient': 0,
  'closing': False,
  'federationLink': False,
  'framesFromClient': 0,
  'framesToClient': 0,
  'incoming': True,
  'msgsFromClient': 0,
  'msgsToClient': 0,
  'protocol': 'AMQP 1.0',
  'remoteProperties': {'container-id': 'ID:jaguar-35137-1443682780860-1:1'},
  'saslMechanism': 'CRAM-MD5',
  'saslSsf': 0,
  'shadow': False,
  'userProxyAuth': False,
  'vhostRef': {'_object_name': 'org.apache.qpid.broker:vhost:org.apache.qpid.broker:broker:amqp-broker,/'}},


Expected results:
remotePid, remoteProcessName are present
{'qpid.10.34.75.216:5672-10.34.75.216:39140': {'SystemConnection': False,
  '_create_ts': 1443684633992996348,
  '_delete_ts': 0,
  '_object_id': {'_agent_epoch': 1250,
   '_object_name': 'org.apache.qpid.broker:connection:qpid.10.34.75.216:5672-10.34.75.216:39140'},
  '_schema_id': {'_class_name': 'connection',
   '_hash': '99b81adb-2cf6-06a7-ac90-1cb42e67c2fc',
   '_package_name': 'org.apache.qpid.broker',
   '_type': '_data'},
  '_update_ts': 1443684635084894078,
  'address': 'qpid.10.34.75.216:5672-10.34.75.216:39140',
  'authIdentity': 'guest@QPID',
  'bytesFromClient': 1015,
  'bytesToClient': 322,
  'closing': False,
  'federationLink': False,
  'framesFromClient': 19,
  'framesToClient': 10,
  'incoming': True,
  'msgsFromClient': 0,
  'msgsToClient': 0,
  'protocol': 'AMQP 0-10',
  'remotePid': 3557,
  'remoteProcessName': 'Qpid Java Client',
  'remoteProperties': {'clientName': 'test',
   'platform': 'OpenJDK Runtime Environment, 1.7.0_85-mockbuild_2015_07_13_05_49-b00, Oracle Corporation, i386, Linux, 2.6.32-504.12.2.el6.i686, unknown',
   'product': 'qpid',
   'qpid.client_pid': 3557,
   'qpid.client_process': 'Qpid Java Client',
   'qpid.client_version': '0.30.0.redhat-1',
   'qpid.session_flow': 1},
  'saslMechanism': 'PLAIN',
  'saslSsf': 0,
  'shadow': False,
  'userProxyAuth': False,
  'vhostRef': {'_object_name': 'org.apache.qpid.broker:vhost:org.apache.qpid.broker:broker:amqp-broker,/'}},


Additional info:


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