Bug 654020
| Summary: | Queue policy properties reported by QMF should match the real ones in the broker | ||
|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Frantisek Reznicek <freznice> |
| Component: | qpid-cpp | Assignee: | Gordon Sim <gsim> |
| Status: | CLOSED ERRATA | QA Contact: | Petr Matousek <pematous> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | Development | CC: | esammons, gsim, iboverma, jneedle, kgiusti, pematous, tross |
| Target Milestone: | 2.0 | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | qpid-cpp-server-0.9.1079953-1, qpid-tools-0.9.1078967-1 | Doc Type: | Bug Fix |
| Doc Text: |
Cause
Declaring a queue with invalid arguments (e.g. max_count="foo" or max_size=-1)
Consequence
The invalid values would be ignored, but querying the queues arguments (e.g. using QMF) would return the original invalid values.
Fix
If a queue-declare has invalid values for arguments, the declare is now rejected entirely.
Result
The queue-declare attempt fails.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-06-23 15:48:20 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: | |||
|
Description
Frantisek Reznicek
2010-11-16 16:29:19 UTC
Fixed upstream: http://svn.apache.org/viewvc?rev=1074697&view=rev This change properly rejects attempts to create queues with invalid arguments rather than ignoring them but returning the original values when queried. (I.e. an improved fix to Bug 647861).
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:
Cause
Declaring a queue with invalid arguments (e.g. max_count="foo" or max_size=-1)
Consequence
The invalid values would be ignored, but querying the queues arguments (e.g. using QMF) would return the original invalid values.
Fix
If a queue-declare has invalid values for arguments, the declare is now rejected entirely.
Result
The queue-declare attempt fails.
This issue has been fixed Verified on RHEL4.9, RHEL5.6 and RHEL6.1, architectures: i386, x86_64 packages installed: python-qpid-0.10-1.el5 python-qpid-qmf-0.10-2.el5 qpid-cpp-client-0.10-3.el5 qpid-cpp-client-devel-0.10-3.el5 qpid-cpp-client-devel-docs-0.10-3.el5 qpid-cpp-client-ssl-0.10-3.el5 qpid-cpp-mrg-debuginfo-0.10-3.el5 qpid-cpp-server-0.10-3.el5 qpid-cpp-server-cluster-0.10-3.el5 qpid-cpp-server-devel-0.10-3.el5 qpid-cpp-server-ssl-0.10-3.el5 qpid-cpp-server-store-0.10-3.el5 qpid-cpp-server-xml-0.10-3.el5 qpid-java-client-0.10-2.el5 qpid-java-common-0.10-2.el5 qpid-java-example-0.10-2.el5 qpid-java-jca-0.10-2.el5 qpid-qmf-0.10-2.el5 qpid-qmf-devel-0.10-2.el5 qpid-tools-0.10-3.el5 -> 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 |