Red Hat Bugzilla – Bug 576693
qpid-cluster -d does not close the client connection
Last modified: 2018-10-27 08:48:02 EDT
Description of problem: qpid-cluster -d is supposed to close the client connection, but it does not Version-Release number of selected component (if applicable): MRG 1.2 How reproducible: Always Steps to Reproduce: 1. Set up a cluster of at least two brokers (can be on same machine) 2. Run 'qpid-cluster -C' to see the two brokers connected to each other 2. Connect a client application that continues to run for while 3. Run 'qpid-cluster -C' to identify the new connection (for the new client) e.g. localhost:46752 4. Run 'qpid-cluster -d <host>:<port>', e.g. <host>:<port>=localhost:46752 Actual results: "Closing connection from client: 127.0.0.1:46752", but client is not affected and continues to run. Expected results: Client connection should be closed from broker end. Client should detect this and be unable to continue.
This appears to have been fixed as a side effect of some other fix. It works correctly on current trunk r949767 and mrg_1.3.x branch: http://mrg1.lab.bos.redhat.com/git/?p=qpid.git;a=commitdiff;h=ad3a7e4927edc01a262a0ee3903f55592b41d337
The issue has been fixed (the connection can be cancelled/destroyed via qpid-cluster -d ), retested on RHEL 4.8 / 5.5 i386 / x86_64 on packages: python-qmf-0.7.946106-13.el5 python-qpid-0.7.946106-14.el5 qmf-*0.7.946106-15.el5 qpid-cpp-*-0.7.946106-15.el5 qpid-dotnet-0.4.738274-2.el5 qpid-java-*-0.7.946106-9.el5 qpid-tools-0.7.946106-10.el5 -> VERIFIED
(In reply to comment #4) > The issue has been fixed (the connection can be cancelled/destroyed via > qpid-cluster -d ), retested on RHEL 4.8 / 5.5 i386 / x86_64 on packages: > python-qmf-0.7.946106-13.el5 > python-qpid-0.7.946106-14.el5 > qmf-*0.7.946106-15.el5 > qpid-cpp-*-0.7.946106-15.el5 > qpid-dotnet-0.4.738274-2.el5 > qpid-java-*-0.7.946106-9.el5 > qpid-tools-0.7.946106-10.el5 > > -> VERIFIED -> qpid-cluster -d ), retested on RHEL 4.8 / 5.5 i386 / x86_64 on packages: +> qpid-cluster -d ), retested on RHEL 5.5 i386 / x86_64 on packages: as the issue is dependent on qpid-cluster which operates when clustering is enabled.
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: The "qpid-cluster -d" command was not closing the client connection. With this update, executing "qpid-cluster -d" works as expected and closes the client connection.
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