Bug 786555
Summary: | qpid-config add queue <existing_queue_name> returns success. | ||
---|---|---|---|
Product: | Red Hat Enterprise MRG | Reporter: | Leonid Zhaldybin <lzhaldyb> |
Component: | qpid-tools | Assignee: | Ernie <eallen> |
Status: | CLOSED ERRATA | QA Contact: | Leonid Zhaldybin <lzhaldyb> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 2.1 | CC: | esammons, iboverma, jross, mcressma, tross |
Target Milestone: | 2.3 | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | qpid-tools-0.18-1 | Doc Type: | Bug Fix |
Doc Text: |
Cause: Use qpid-config to create a queue or exchange with the same name but different options as an existing queue or exchange
Consequence: The command succeeds but the options are not changed for the existing queue or exchange
Fix: A different library was used. This new library returns and error when an attempt is made to create an existing queue or exchange
Result: An error is returned when attempting to create a queue or exchange name that already exists
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2013-03-06 18:55:01 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
Leonid Zhaldybin
2012-02-01 18:31:11 UTC
This is fixed in Qpid 0.16. See issue: https://issues.apache.org/jira/browse/QPID-3851 In transitioning to the higher-performance access library, the "declare" behavior was replaced by a "create" semantic that fails when an already-existing object has the same name. Tested on RHEL5.8 and RHEL6.3 (both i386 and x86_64). The qpid-config tool returns an error ('object already exists') if a queue or an exchange exists already on a broker. Packages used for testing: RHEL5.8: python-qpid-0.18-1.el5 python-qpid-qmf-0.18-1.el5 qpid-cpp-client-0.18-1.el5 qpid-cpp-client-devel-0.18-1.el5 qpid-cpp-client-devel-docs-0.18-1.el5 qpid-cpp-client-ssl-0.18-1.el5 qpid-cpp-server-0.18-1.el5 qpid-cpp-server-cluster-0.18-1.el5 qpid-cpp-server-devel-0.18-1.el5 qpid-cpp-server-ssl-0.18-1.el5 qpid-cpp-server-store-0.18-1.el5 qpid-cpp-server-xml-0.18-1.el5 qpid-java-client-0.18-2.el5 qpid-java-common-0.18-2.el5 qpid-java-example-0.18-2.el5 qpid-jca-0.18-2.el5 qpid-jca-xarecovery-0.18-2.el5 qpid-qmf-0.18-1.el5 qpid-qmf-devel-0.18-1.el5 qpid-tools-0.18-1.el5 RHEL6.3: python-qpid-0.18-1.el6_3 python-qpid-qmf-0.18-1.el6_3 qpid-cpp-client-0.18-1.el6_3 qpid-cpp-client-devel-0.18-1.el6_3 qpid-cpp-client-devel-docs-0.18-1.el6_3 qpid-cpp-server-0.18-1.el6_3 qpid-cpp-server-cluster-0.18-1.el6_3 qpid-cpp-server-devel-0.18-1.el6_3 qpid-cpp-server-store-0.18-1.el6_3 qpid-cpp-server-xml-0.18-1.el6_3 qpid-java-client-0.18-2.el6 qpid-java-common-0.18-2.el6 qpid-java-example-0.18-2.el6 qpid-qmf-0.18-1.el6_3 qpid-tools-0.18-1.el6_3 -> VERIFIED Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-0561.html |