Bug 531561 - alternate exchange not visible on a queue via QMF
Summary: alternate exchange not visible on a queue via QMF
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-qmf
Version: 1.1.6
Hardware: All
OS: Linux
low
medium
Target Milestone: 1.3
: ---
Assignee: Ted Ross
QA Contact: Jiri Kolar
URL:
Whiteboard:
: 531921 (view as bug list)
Depends On:
Blocks: 504691
TreeView+ depends on / blocked
 
Reported: 2009-10-28 18:30 UTC by Ted Ross
Modified: 2011-08-12 16:02 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, the alternate exchange attribute of a queue was not accessible via QMF. The alternate exchange was not visible in either qpid-config or in qpid-tool. The queue did have an alternate exchange and behaved correctly, however it was simply invisible through QMF. With this update, the queue is accessible via QMF as expected.
Clone Of:
Environment:
Last Closed: 2010-10-14 15:58:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2010:0773 0 normal SHIPPED_LIVE Moderate: Red Hat Enterprise MRG Messaging and Grid Version 1.3 2010-10-14 15:56:44 UTC

Description Ted Ross 2009-10-28 18:30:27 UTC
Description of problem:

The alternate exchange attribute of a queue is not accessible via QMF.

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

1.1.6 / 1.2

How reproducible:

100%

Steps to Reproduce:
1. qpid-config add queue queue-name --alternate-exchange amq.fanout
2. qpid-config queues
3. View the queue using qpid-tool
  
Actual results:

The alternate exchange is not visible in either qpid-config or in qpid-tool.  The queue does have an alternate exchange and behaves correctly, it is simply invisible through QMF.

Expected results:

Expect to see "amq.fanout" in both tools.

Additional info:

Note that this is a model deficiency.  The QMF schema for broker queues does not have an altExchange property.  Once this is fixed, qpid-config will need to be updated to recognize and display this attribute.

Comment 1 Nuno Santos 2009-10-28 19:12:25 UTC
There is actually a altExchange property in the schema, it just wasn't tagged as a reference. I fixed that on 9/15, at svn rev 815449 (see below). But qpid-config may still need to be updated.


Author: nsantos
Date: Tue Sep 15 19:00:05 2009
New Revision: 815449

URL: http://svn.apache.org/viewvc?rev=815449&view=rev
Log: add missing 'references' attrib to altExchange

Modified:
    qpid/trunk/qpid/specs/management-schema.xml

Modified: qpid/trunk/qpid/specs/management-schema.xml
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/specs/management-schema.xml?rev=815449&r1=815448&r2=815449&view=diff
==============================================================================
--- qpid/trunk/qpid/specs/management-schema.xml (original)
+++ qpid/trunk/qpid/specs/management-schema.xml Tue Sep 15 19:00:05 2009
@@ -169,7 +169,7 @@
     <property name="type"        type="sstr"  access="RO"/>
     <property name="durable"     type="bool"  access="RO"/>
     <property name="autoDelete"  type="bool"  access="RO"/>
-    <property name="altExchange" type="objId" access="RO" optional="y"/>
+    <property name="altExchange" type="objId" references="Exchange" access="RO" optional="y"/>
     <property name="arguments"   type="map"   access="RO" desc="Arguments supplied in exchange.declare"/>
 
     <statistic name="producerCount" type="hilo32"  desc="Current producers on exchange"/>

Comment 2 Ted Ross 2009-10-28 19:25:19 UTC
The update in revision 815449 affects the "exchange" class.  This bug is about the "queue" class which needs an altExchange property but doesn't have one.

-Ted

Comment 3 Gordon Sim 2009-10-30 07:51:58 UTC
*** Bug 531921 has been marked as a duplicate of this bug. ***

Comment 4 Ted Ross 2009-10-30 15:54:08 UTC
Fixed upstream at revision 831351.

Comment 6 Jiri Kolar 2010-09-20 14:03:55 UTC
This is not visible on 1.2 as --alternate-exchange does not exist in qpid-config 1.2. Newer version have to be used to reproduce this.

fixed on qpid-tools-0.7.946106-10 alternate exchange shown.

validated on RHEL5.5/RHEL4  i386 / x86_64  

packages:
# rpm -qa | grep -E '(qpid|openais|rhm)' | sort -u

openais-0.80.6-16.el5_5.7
openais-devel-0.80.6-16.el5_5.7
python-qpid-0.7.946106-14.el5
qpid-cpp-client-0.7.946106-15.el5
qpid-cpp-client-devel-0.7.946106-15.el5
qpid-cpp-client-devel-docs-0.7.946106-15.el5
qpid-cpp-client-ssl-0.7.946106-15.el5
qpid-cpp-mrg-debuginfo-0.7.946106-14.el5
qpid-cpp-server-0.7.946106-15.el5
qpid-cpp-server-cluster-0.7.946106-15.el5
qpid-cpp-server-devel-0.7.946106-15.el5
qpid-cpp-server-ssl-0.7.946106-15.el5
qpid-cpp-server-store-0.7.946106-15.el5
qpid-cpp-server-xml-0.7.946106-15.el5
qpid-java-client-0.7.946106-9.el5
qpid-java-common-0.7.946106-9.el5
qpid-tools-0.7.946106-10.el5
rhm-docs-0.7.946106-5.el5
rh-tests-distribution-MRG-Messaging-qpid_common-1.6-53

->VERIFIED

Comment 7 Martin Prpič 2010-10-07 12:14:28 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Previously, the alternate exchange attribute of a queue was not accessible via QMF. The alternate exchange was not visible in either qpid-config or in qpid-tool. The queue did have an alternate exchange and behaved correctly, however it was simply invisible through QMF. With this update, the queue is accessible via QMF as expected.

Comment 9 errata-xmlrpc 2010-10-14 15:58:32 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2010-0773.html


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