Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 576693 - qpid-cluster -d does not close the client connection
qpid-cluster -d does not close the client connection
Status: CLOSED ERRATA
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-qmf (Show other bugs)
1.2
All Linux
medium Severity medium
: 1.3
: ---
Assigned To: Alan Conway
Frantisek Reznicek
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-03-24 16:57 EDT by Mike Cressman
Modified: 2018-10-27 08:48 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
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.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-10-14 12:11:23 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2010:0773 normal SHIPPED_LIVE Moderate: Red Hat Enterprise MRG Messaging and Grid Version 1.3 2010-10-14 11:56:44 EDT

  None (edit)
Description Mike Cressman 2010-03-24 16:57:44 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.
Comment 2 Alan Conway 2010-05-31 11:58:44 EDT
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
Comment 4 Frantisek Reznicek 2010-09-21 11:30:53 EDT
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
Comment 5 Frantisek Reznicek 2010-09-21 11:32:24 EDT
(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.
Comment 6 Martin Prpič 2010-10-07 09:46:23 EDT
    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.
Comment 8 errata-xmlrpc 2010-10-14 12:11:23 EDT
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.