RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 616466 - libvirt-qpid only registers one of each class of object to the qpid broker
Summary: libvirt-qpid only registers one of each class of object to the qpid broker
Keywords:
Status: CLOSED DUPLICATE of bug 596682
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt-qpid
Version: 6.0
Hardware: All
OS: Linux
low
high
Target Milestone: rc
: ---
Assignee: Ian Main
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-20 14:29 UTC by Michael Solberg
Modified: 2010-07-20 19:30 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-07-20 19:30:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Michael Solberg 2010-07-20 14:29:44 UTC
Description of problem:
The libvirt-qpid service registers only one of each class of object with the qpid broker.

Version-Release number of selected component (if applicable):
libvirt-qpid-0.2.20-2.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Create a few domains in libvirt.
2. Start the libvirt-qpid service.
3. Try to list the domains from the AMQP interface.
  
Actual results:
[root@localhost ~]# virsh list --all
 Id Name                 State
----------------------------------
  2 rhel6dev             running
  4 Satellite            running
  - node1                shut off
  - node2                shut off
  - rhel6cluster2        shut off
  - RHEV-M               shut off
  - Solaris              shut off

qpid: list
Summary of Objects by Type:
    Package                 Class         Active  Deleted
    =======================================================
    org.apache.qpid.broker  session       3       0
    com.redhat.libvirt      domain        1       0
    org.apache.qpid.broker  exchange      8       0
    com.redhat.libvirt      pool          1       0
    com.redhat.libvirt      volume        1       0
    org.apache.qpid.broker  system        1       0
    org.apache.qpid.broker  queue         7       0
    org.apache.qpid.broker  vhost         1       0
    org.apache.qpid.broker  binding       22      0
    org.apache.qpid.broker  connection    3       0
    org.apache.qpid.broker  subscription  7       0
    com.redhat.libvirt      node          1       0
    org.apache.qpid.broker  broker        1       0

[msolberg@localhost ~]$ python
>>> from qmf.console import Session
>>> sess = Session()
>>> broker = sess.addBroker('amqp://localhost:5672')
>>> for d in sess.getObjects(_class='domain', _package='com.redhat.libvirt'):
...     d.getProperties()
... 
[(uuid, '10b20724-f57d-526a-8a73-575d95415f07'), (name, 'rhel6cluster2'), (id, -1), (node, 0-1-1-vendor:product:2ebb9a7a-db29-4389-95b7-c0060ce8ca90-com.redhat.libvirt:node:), (state, 'shutoff'), (numVcpus, 1), (active, 'false')]

Expected results:
sess.getObjects(_class='domain', _package='com.redhat.libvirt') should return a list of all domains defined on the system.

Comment 2 RHEL Program Management 2010-07-20 14:58:04 UTC
This issue has been proposed when we are only considering blocker
issues in the current Red Hat Enterprise Linux release.

** If you would still like this issue considered for the current
release, ask your support representative to file as a blocker on
your behalf. Otherwise ask that it be considered for the next
Red Hat Enterprise Linux release. **

Comment 4 Ian Main 2010-07-20 19:30:10 UTC
This has already been filed and fixed in libvirt-qpid-0.2.21-3.

Latest in RHEL6 is libvirt-qpid-0.2.22-2, please test with that as a number of bugs have been fixed.

This is a duplicate bug.

*** This bug has been marked as a duplicate of bug 596682 ***


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