Bug 712028

Summary: qpid-tool does not see matahari and libvirt-qpid QMF data
Product: Red Hat Enterprise MRG Reporter: Frantisek Reznicek <freznice>
Component: qpid-qmfAssignee: messaging-bugs <messaging-bugs>
Status: NEW --- QA Contact: MRG Quality Engineering <mrgqe-bugs>
Severity: high Docs Contact:
Priority: low    
Version: DevelopmentCC: iboverma, jross, mkudlej
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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: --- Target Upstream Version:

Description Frantisek Reznicek 2011-06-09 10:07:29 UTC
Description of problem:

Qpid-tool does not see matahari and libvirt-qpid QMF data on RHEL6 i686/x86_64.

The synchronous console (aka qmf_list_objects.py) is able to see the matahari and libvirt-qpid data.

Agents are recognized ok by qmf-tool.


Version-Release number of selected component (if applicable):
libvirt-qpid-0.2.22-6.el6.x86_64
matahari-0.4.0-5.el6.x86_64
matahari-agent-lib-0.4.0-5.el6.x86_64
matahari-broker-0.4.0-5.el6.x86_64
matahari-debuginfo-0.4.0-5.el6.x86_64
matahari-host-0.4.0-5.el6.x86_64
matahari-lib-0.4.0-5.el6.x86_64
matahari-net-0.4.0-5.el6.x86_64
matahari-service-0.4.0-5.el6.x86_64
python-qpid-0.10-1.el6.noarch
python-qpid-qmf-0.10-10.el6.x86_64
qpid-cpp-client-0.10-6.el6.x86_64
qpid-cpp-client-devel-0.10-6.el6.x86_64
qpid-cpp-client-devel-docs-0.10-6.el6.noarch
qpid-cpp-client-rdma-0.10-6.el6.x86_64
qpid-cpp-client-ssl-0.10-6.el6.x86_64
qpid-cpp-debuginfo-0.10-6.el6.x86_64
qpid-cpp-server-0.10-6.el6.x86_64
qpid-cpp-server-cluster-0.10-6.el6.x86_64
qpid-cpp-server-devel-0.10-6.el6.x86_64
qpid-cpp-server-rdma-0.10-6.el6.x86_64
qpid-cpp-server-ssl-0.10-6.el6.x86_64
qpid-cpp-server-store-0.10-6.el6.x86_64
qpid-cpp-server-xml-0.10-6.el6.x86_64
qpid-java-client-0.10-6.el6.noarch
qpid-java-common-0.10-6.el6.noarch
qpid-java-example-0.10-6.el6.noarch
qpid-java-jca-0.10-6.el6.noarch
qpid-qmf-0.10-10.el6.x86_64
qpid-qmf-debuginfo-0.10-10.el6.x86_64
qpid-qmf-devel-0.10-10.el6.x86_64
qpid-tests-0.10-1.el6.noarch
qpid-tools-0.10-5.el6.noarch
rh-qpid-cpp-tests-0.10-6.el6.x86_64
ruby-qpid-0.7.946106-2.el6.x86_64
ruby-qpid-qmf-0.10-10.el6.x86_64
sesame-0.10-1.el6.x86_64
sesame-debuginfo-0.10-1.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1. start broker (5672)
2. start matahari and libvirt-qpid
     service matahari-net restart
     service matahari-host restart
     service matahari-service restart
     service matahari-broker restart
     

3. /qmf_list_objects.py --print-format=%p ; ./qmf_list_objects.py -p 49000 --print-format=%p
4. qpid-tool
5. qpid-tool localhost:49000

  
Actual results:
qpid-tool does not list matahari/libvirt-qpid data.

Expected results:
qpid-tool should list matahari/libvirt-qpid data.

Additional info:

[root@dhcp-26-228 python]# ./qmf_list_objects.py --print-format=%p ; ./qmf_list_objects.py -p 49000 --print-format=%p
org.apache.qpid.broker
com.redhat.libvirt
org.apache.qpid.broker
org.matahariproject

[root@dhcp-26-168 python]# qpid-tool localhost:49000
Management Tool for QPID
qpid: schema
QMF Classes:
    Package                 Name                  Kind
    ======================================================
    org.apache.qpid.broker  broker                object
    org.apache.qpid.broker  bridge                object
    org.apache.qpid.broker  session               object
    org.apache.qpid.broker  system                object
    org.apache.qpid.broker  managementsetupstate  object
    org.apache.qpid.broker  binding               object
    org.apache.qpid.broker  connection            object
    org.apache.qpid.broker  queue                 object
    org.apache.qpid.broker  exchange              object
    org.apache.qpid.broker  link                  object
    org.apache.qpid.broker  subscription          object
    org.apache.qpid.broker  agent                 object
    org.apache.qpid.broker  vhost                 object
qpid: schema
QMF Classes:
    Package                 Name                  Kind
    ======================================================
    org.apache.qpid.broker  broker                object
    org.apache.qpid.broker  bridge                object
    org.apache.qpid.broker  session               object
    org.apache.qpid.broker  system                object
    org.apache.qpid.broker  managementsetupstate  object
    org.apache.qpid.broker  binding               object
    org.apache.qpid.broker  connection            object
    org.apache.qpid.broker  queue                 object
    org.apache.qpid.broker  exchange              object
    org.apache.qpid.broker  link                  object
    org.apache.qpid.broker  subscription          object
    org.apache.qpid.broker  agent                 object
    org.apache.qpid.broker  vhost                 object
qpid: schema
QMF Classes:
    Package                 Name                  Kind
    ======================================================
    org.apache.qpid.broker  broker                object
    org.apache.qpid.broker  bridge                object
    org.apache.qpid.broker  session               object
    org.apache.qpid.broker  system                object
    org.apache.qpid.broker  managementsetupstate  object
    org.apache.qpid.broker  binding               object
    org.apache.qpid.broker  connection            object
    org.apache.qpid.broker  queue                 object
    org.apache.qpid.broker  exchange              object
    org.apache.qpid.broker  link                  object
    org.apache.qpid.broker  subscription          object
    org.apache.qpid.broker  agent                 object
    org.apache.qpid.broker  vhost                 object
qpid: quit
Exiting...
[root@dhcp-26-168 python]# qpid-tool
Management Tool for QPID
qpid: schema
QMF Classes:
    Package                 Name                  Kind
    ======================================================
    org.apache.qpid.broker  broker                object
    org.apache.qpid.broker  bridge                object
    org.apache.qpid.broker  session               object
    org.apache.qpid.broker  system                object
    org.apache.qpid.broker  managementsetupstate  object
    org.apache.qpid.broker  binding               object
    org.apache.qpid.broker  connection            object
    org.apache.qpid.broker  queue                 object
    org.apache.qpid.broker  exchange              object
    org.apache.qpid.broker  link                  object
    org.apache.qpid.broker  subscription          object
    org.apache.qpid.broker  agent                 object
    org.apache.qpid.broker  vhost                 object
qpid: schema
QMF Classes:
    Package                 Name                  Kind
    ======================================================
    org.apache.qpid.broker  broker                object
    org.apache.qpid.broker  bridge                object
    org.apache.qpid.broker  session               object
    org.apache.qpid.broker  system                object
    org.apache.qpid.broker  managementsetupstate  object
    org.apache.qpid.broker  binding               object
    org.apache.qpid.broker  connection            object
    org.apache.qpid.broker  queue                 object
    org.apache.qpid.broker  exchange              object
    org.apache.qpid.broker  link                  object
    org.apache.qpid.broker  subscription          object
    org.apache.qpid.broker  agent                 object
    org.apache.qpid.broker  vhost                 object
    com.redhat.sesame       sysimage              object
qpid: schema
QMF Classes:
    Package                 Name                  Kind
    ======================================================
    org.apache.qpid.broker  broker                object
    org.apache.qpid.broker  bridge                object
    org.apache.qpid.broker  session               object
    org.apache.qpid.broker  system                object
    org.apache.qpid.broker  managementsetupstate  object
    org.apache.qpid.broker  binding               object
    org.apache.qpid.broker  connection            object
    org.apache.qpid.broker  queue                 object
    org.apache.qpid.broker  exchange              object
    org.apache.qpid.broker  link                  object
    org.apache.qpid.broker  subscription          object
    org.apache.qpid.broker  agent                 object
    org.apache.qpid.broker  vhost                 object
    com.redhat.sesame       sysimage              object
qpid: quit
Exiting...
[root@dhcp-26-168 python]# history | less
[root@dhcp-26-168 python]# qpid-stat -c
Connections
  client-addr                     cproc         cpid   auth            connected   idle  msgIn  msgOut
  ======================================================================================================
  127.0.0.1:5672-127.0.0.1:39109  qpid-stat     11332  anonymous@QPID  0s          0s     218    277
  127.0.0.1:5672-127.0.0.1:43636  libvirt-qpid  11055  anonymous@QPID  41m 32s     0s    3.06k  1.28k
  127.0.0.1:5672-127.0.0.1:44589  sesame        1447   guest@QPID      2h 47m 29s  0s    6.82k  2.63k
[root@dhcp-26-168 python]# qpid-stat localhost:49000 -c
Connections
  client-addr                      cproc            cpid   auth       connected  idle  msgIn  msgOut
  ====================================================================================================
  127.0.0.1:49000-127.0.0.1:51812  matahari-hostd   10489  anonymous  2h 7m 14s  0s    6.17k   750
  127.0.0.1:49000-127.0.0.1:51811  matahari-netd    10466  anonymous  2h 7m 18s  0s    1.34k   618
  127.0.0.1:49000-127.0.0.1:51810  matahari-servic  10512  anonymous  2h 8m 9s   0s    1.37k   643
  127.0.0.1:49000-127.0.0.1:37496  qpid-stat        11346  anonymous  0s         0s     223    284
[root@dhcp-26-168 python]# qpid-stat  -c ; qpid-stat localhost:49000 -c
Connections
  client-addr                     cproc         cpid   auth            connected  idle  msgIn  msgOut
  =====================================================================================================
  127.0.0.1:5672-127.0.0.1:43636  libvirt-qpid  11055  anonymous@QPID  43m 12s    0s    3.17k  1.32k
  127.0.0.1:5672-127.0.0.1:39111  qpid-stat     11362  anonymous@QPID  0s         0s     218    277
  127.0.0.1:5672-127.0.0.1:44589  sesame        1447   guest@QPID      2h 49m 9s  0s    6.89k  2.66k
Connections
  client-addr                      cproc            cpid   auth       connected  idle  msgIn  msgOut
  ====================================================================================================
  127.0.0.1:49000-127.0.0.1:51812  matahari-hostd   10489  anonymous  2h 8m 44s  0s    6.24k   759
  127.0.0.1:49000-127.0.0.1:51810  matahari-servic  10512  anonymous  2h 9m 39s  0s    1.39k   651
  127.0.0.1:49000-127.0.0.1:37498  qpid-stat        11376  anonymous  0s         0s     223    284
  127.0.0.1:49000-127.0.0.1:51811  matahari-netd    10466  anonymous  2h 8m 48s  0s    1.35k   626

[root@dhcp-26-168 python]# qmf-tool
Management Tool for QMF
qmf: list agents
QMF Agents:
       Id  Vendor      Product       Instance                              Epoch
    ==============================================================================
       1   Red Hat     libvirt-qpid  7fcc4691-0c57-4b18-87a1-2fa4c76c3114  1
    *  2   apache.org  qpidd         0f2f936a-70f5-4a7a-9ada-d7fe25239246  48
       3   redhat.com  sesame        f84b2630-5a92-8e73-e7f1-49374b7d5deb  13
qmf: quit
Exiting...
[root@dhcp-26-168 python]# qmf-tool localhost:49000
Management Tool for QMF
qmf: list agents
QMF Agents:
       Id  Vendor               Product  Instance                              Epoch
    ==================================================================================
    *  1   apache.org           qpidd    800a2b15-1c12-47e1-9b6e-228685456068  1
       2   matahariproject.org  host     c845a996-36b5-4609-b396-9fbc1e45c578  1
       3   matahariproject.org  net      0c8627d6-52da-41c4-b833-207a92aaa8d4  1
       4   matahariproject.org  service  004a0391-8150-453e-9dee-c61f9ed1fcc2  1
qmf: quit
Exiting...

Comment 2 Frantisek Reznicek 2011-06-09 11:05:08 UTC
This issue is resurrection of bug 692158 which describe the same problem.

Comment 3 Martin Kudlej 2013-05-20 11:45:54 UTC
I see same issue with qpid and wallaby from MRG 2.3.

condor-wallaby-base-db-1.25-1.el6_3.noarch
condor-wallaby-client-5.0.5-2.el6.noarch
condor-wallaby-tools-5.0.5-2.el6.noarch
MRG-distribution-MRG-Messaging-qpid_common-1.6-21.noarch
python-qpid-0.18-4.el6.noarch
python-qpid-qmf-0.18-15.el6.x86_64
python-wallaby-0.16.3-1.el6.noarch
python-wallabyclient-5.0.5-2.el6.noarch
qpid-cpp-client-0.18-14.el6.x86_64
qpid-cpp-client-devel-0.18-14.el6.x86_64
qpid-cpp-client-devel-docs-0.18-14.el6.noarch
qpid-cpp-server-0.18-14.el6.x86_64
qpid-cpp-server-cluster-0.18-14.el6.x86_64
qpid-cpp-server-devel-0.18-14.el6.x86_64
qpid-cpp-server-store-0.18-14.el6.x86_64
qpid-cpp-server-xml-0.18-14.el6.x86_64
qpid-java-client-0.18-7.el6.noarch
qpid-java-common-0.18-7.el6.noarch
qpid-java-example-0.18-7.el6.noarch
qpid-qmf-0.18-15.el6.x86_64
qpid-qmf-debuginfo-0.18-15.el6.x86_64
qpid-qmf-devel-0.18-15.el6.x86_64
qpid-tools-0.18-8.el6.noarch
ruby-condor-wallaby-5.0.5-2.el6.noarch
ruby-qpid-qmf-0.18-15.el6.x86_64
ruby-wallaby-0.16.3-1.el6.noarch
sesame-1.0-8.el6.x86_64
wallaby-0.16.3-1.el6.noarch
wallaby-utils-0.16.3-1.el6.noarch

$ qpid-tool
Management Tool for QPID
qpid: schema
QMF Classes:
    Package                 Name                  Kind
    ======================================================
    com.redhat.grid         master                object
    com.redhat.grid         submission            object
    com.redhat.grid         jobserver             object
    com.redhat.rhm.store    journal               object
    com.redhat.rhm.store    store                 object
    com.redhat.sesame       sysimage              object
    org.apache.qpid.broker  system                object
    org.apache.qpid.broker  broker                object
    org.apache.qpid.broker  managementsetupstate  object
    org.apache.qpid.broker  binding               object
    org.apache.qpid.broker  memory                object
    org.apache.qpid.broker  queue                 object
    org.apache.qpid.broker  exchange              object
    org.apache.qpid.broker  bridge                object
    org.apache.qpid.broker  session               object
    org.apache.qpid.broker  subscription          object
    org.apache.qpid.broker  agent                 object
    org.apache.qpid.broker  link                  object
    org.apache.qpid.broker  connection            object
    org.apache.qpid.broker  vhost                 object
    com.redhat.grid.config  Group                 object
    com.redhat.grid.config  Store                 object
    com.redhat.grid.config  Parameter             object
    com.redhat.grid.config  Snapshot              object
    com.redhat.grid.config  Node                  object
    com.redhat.grid.config  Subsystem             object
    com.redhat.grid.config  Feature               object
    com.redhat.grid.config  ConfigVersion         object

qpid: list
Summary of Objects by Type:
    Package                 Class         Active  Deleted
    =======================================================
    com.redhat.grid         scheduler     1       0
    com.redhat.grid         slot          8       0
    org.apache.qpid.broker  binding       283     0
    org.apache.qpid.broker  subscription  90      0
    com.redhat.grid         master        7       0
    com.redhat.sesame       sysimage      1       0
    org.apache.qpid.broker  queue         90      0
    com.redhat.grid         submitter     1       0
    org.apache.qpid.broker  system        1       0
    com.redhat.grid         negotiator    1       0
    com.redhat.grid         submission    259     0
    org.apache.qpid.broker  connection    34      0
    org.apache.qpid.broker  session       34      0
    com.redhat.rhm.store    store         1       0
    org.apache.qpid.broker  memory        1       0
    com.redhat.grid         jobserver     1       0
    org.apache.qpid.broker  exchange      8       0
    org.apache.qpid.broker  vhost         1       0
    org.apache.qpid.broker  broker        1       0
    org.apache.qpid.broker  agent         1       0
    com.redhat.grid         collector     1       0

There are not objects from com.redhat.grid.config package in the output of list command.