Bug 637127
| Summary: | Sorting option for qpid-stat doesn't work on RHEL4 | ||
|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Gordon Sim <gsim> |
| Component: | qpid-qmf | Assignee: | Jonathan Robie <jonathan.robie> |
| Status: | CLOSED ERRATA | QA Contact: | Frantisek Reznicek <freznice> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | beta | CC: | esammons, freznice, gsim, iboverma, jneedle, kgiusti |
| Target Milestone: | 2.0 | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | qpid-tools-0.9.1078967-1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-06-23 15:45:26 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Fixed upstream in revision 1050425. $ cat /etc/redhat-release Red Hat Enterprise Linux AS release 4 (Nahant Update 8) $ ./qpid-stat -u -S queue Subscriptions subscription queue connection processName processId browsing acknowledged exclusive creditMode delivered ================================================================================================================================================================ tdest topic-mrg19.lab.bos.redhat.com.13678.1 127.0.0.1:35226 qpid-stat 13678 WINDOW 0 rdest reply-mrg19.lab.bos.redhat.com.13678.1 127.0.0.1:35226 qpid-stat 13678 WINDOW 56 v2TopicUI qmfc-v2-ui-mrg19.lab.bos.redhat.com.13678.1 127.0.0.1:35226 qpid-stat 13678 WINDOW 0 v2dest qmfc-v2-mrg19.lab.bos.redhat.com.13678.1 127.0.0.1:35226 qpid-stat 13678 WINDOW 15 v2TopicHB qmfc-v2-hb-mrg19.lab.bos.redhat.com.13678.1 127.0.0.1:35226 qpid-stat 13678 WINDOW 0 qmfagent qmfagent-3f6c5a9f-79f5-42b2-80a1-788316c51133 127.0.0.1:46467 sesame 21810 Y CREDIT 142 $ ./qpid-stat -u -S queue -I Subscriptions subscription queue connection processName processId browsing acknowledged exclusive creditMode delivered ================================================================================================================================================================ qmfagent qmfagent-3f6c5a9f-79f5-42b2-80a1-788316c51133 127.0.0.1:46467 sesame 21810 Y CREDIT 140 v2TopicHB qmfc-v2-hb-mrg19.lab.bos.redhat.com.11131.1 127.0.0.1:35225 qpid-stat 11131 WINDOW 0 v2dest qmfc-v2-mrg19.lab.bos.redhat.com.11131.1 127.0.0.1:35225 qpid-stat 11131 WINDOW 15 v2TopicUI qmfc-v2-ui-mrg19.lab.bos.redhat.com.11131.1 127.0.0.1:35225 qpid-stat 11131 WINDOW 0 rdest reply-mrg19.lab.bos.redhat.com.11131.1 127.0.0.1:35225 qpid-stat 11131 WINDOW 56 tdest topic-mrg19.lab.bos.redhat.com.11131.1 127.0.0.1:35225 qpid-stat 11131 WINDOW 0 The issue has been fixed (no exception seen anymore), tested on RHEL 4.9 / 5.6 / 6.1 i[36]86 / x86_64 on packages: python-qpid-0.10-1.el4 python-qpid-qmf-0.10-6.el4 qpid-cpp-client-0.10-4.el4 qpid-cpp-client-devel-0.10-4.el4 qpid-cpp-client-devel-docs-0.10-4.el4 qpid-cpp-client-ssl-0.10-4.el4 qpid-cpp-server-0.10-4.el4 qpid-cpp-server-devel-0.10-4.el4 qpid-cpp-server-ssl-0.10-4.el4 qpid-cpp-server-store-0.10-4.el4 qpid-cpp-server-xml-0.10-4.el4 qpid-java-client-0.10-4.el4 qpid-java-common-0.10-4.el4 qpid-java-example-0.10-4.el4 qpid-qmf-0.10-6.el4 qpid-qmf-devel-0.10-6.el4 qpid-tests-0.10-1.el4 qpid-tools-0.10-4.el4 -> VERIFIED 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/RHEA-2011-0890.html |
Description of problem: E.g. qpid-stat -u -S queue Version-Release number of selected component (if applicable): qpid-tools-0.7.946106-11.el4 How reproducible: 100% Steps to Reproduce: 1. qpid-stat -u -S queue Actual results: Failed: TypeError - sort() takes no keyword arguments Traceback (most recent call last): File "/usr/bin/qpid-stat", line 531, in ? bm.display() File "/usr/bin/qpid-stat", line 469, in display self.displayMain(_types[0], _types[1:]) File "/usr/bin/qpid-stat", line 447, in displayMain elif main == 'q': self.displayQueue(subs) File "/usr/bin/qpid-stat", line 389, in displayQueue sorter = Sorter(heads, rows, _sortcol, _limit, _increasing) File "/usr/lib/python2.3/site-packages/qpid/disp.py", line 224, in __init__ list.sort(reverse=not inc) TypeError: sort() takes no keyword arguments Expected results: Sorted (by queue) list of subscribers