Bug 756939

Summary: Remove broker link causes qpidd error on RHEL5
Product: Red Hat Enterprise MRG Reporter: Stanislav Graf <sgraf>
Component: qpid-cppAssignee: Ken Giusti <kgiusti>
Status: CLOSED UPSTREAM QA Contact: MRG Quality Engineering <mrgqe-bugs>
Severity: low Docs Contact:
Priority: medium    
Version: 2.1CC: jross
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-10 03:14:27 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 Stanislav Graf 2011-11-25 08:26:33 UTC
Description of problem:

Action in Cumin:
Cumin - Messaging - Select broker - Links - Add broker link - Wait for update - Remove broker link

Causes error in qpidd:
error Connection 127.0.0.1:43049-localhost:5672 closed by error: closed by management(320) 

QPIDd log:
Nov 24 15:36:39 dhcp-lab-245 qpidd[4689]: 2011-11-24 15:36:39 info Inter-broker link established to localhost:5672 
Nov 24 15:36:39 dhcp-lab-245 qpidd[4689]: 2011-11-24 15:36:39 info SASL: Mechanism list: LOGIN ANONYMOUS PLAIN 
Nov 24 15:36:39 dhcp-lab-245 qpidd[4689]: 2011-11-24 15:36:39 info 127.0.0.1:5672-127.0.0.1:43049 SASL: Authentication succeeded for: anonymous@QPID 
Nov 24 15:36:39 dhcp-lab-245 qpidd[4689]: 2011-11-24 15:36:39 info 127.0.0.1:5672-127.0.0.1:43049 SASL: Authentication succeeded for: anonymous@QPID 
Nov 24 15:36:39 dhcp-lab-245 qpidd[4689]: 2011-11-24 15:36:39 info Connection is a federation link 
Nov 24 15:37:29 dhcp-lab-245 qpidd[4689]: 2011-11-24 15:37:29 info ConnectionHeartbeat task late and overran 2 times: late 2ms, overran 2ms (taking 99500ns) on average. 
Nov 24 15:37:32 dhcp-lab-245 qpidd[4689]: 2011-11-24 15:37:32 info Inter-broker link to localhost:5672 removed by management 
Nov 24 15:37:32 dhcp-lab-245 qpidd[4689]: 2011-11-24 15:37:32 error Connection 127.0.0.1:43049-localhost:5672 closed by error: closed by management(320) 
Nov 24 15:37:32 dhcp-lab-245 qpidd[4689]: 2011-11-24 15:37:32 warning Client closed connection with 320: closed by management 
Nov 24 15:37:32 dhcp-lab-245 qpidd[4689]: 2011-11-24 15:37:32 error Connection 127.0.0.1:43049-localhost:5672 closed by error: closed by management(320) 
Nov 24 15:37:32 dhcp-lab-245 qpidd[4689]: 2011-11-24 15:37:32 warning Client closed connection with 320: closed by management 

Version-Release number of selected component (if applicable):
Only on RHEL5

First test (MRG 2.1):
cumin-0.1.5098-2.el5
qpid-cpp-server-0.10-9

Second test (MRG 2.0 + new 0.12 qpidd)
cumin-0.1.4916-1.el5
qpid-cpp-server-0.12-6.el5

How reproducible:
100%

Steps to Reproduce:
1. Cumin - Messaging - Select broker - Links - Add broker link (e.g. localhost) - Wait for update - Remove broker link (localhost)
2. Look into qpidd log file
  
Actual results:
Action in cumin generates error in qpidd

Expected results:
Action in cumin doesn't generate error in qpidd

Additional info:

Comment 2 Matthew Farrellee 2011-11-28 14:34:51 UTC
Can this be reproduced with qpid-tool instead of cumin?

Comment 3 Stanislav Graf 2011-12-05 07:19:11 UTC
I am not able to reproduce this error with qpid-tool or qpid-config. We need probably more info what is going on inside of cumin to find another way to reproduce.

Comment 5 Stanislav Graf 2011-12-05 16:20:35 UTC
I was able to reproduce this one using qpid-route:

# qpid-route link add <dest-broker> <src-broker>
[17:12:40] ecode=0

# qpid-route link list

Host            Port    Transport Durable  State             Last Error
=============================================================================
<src-broker> 5672    tcp          N     Operational       
[17:13:04] ecode=0

# qpid-route link del <dest-broker> <src-broker>
[17:13:28] ecode=0

# rpm -qf /usr/bin/qpid-route
qpid-tools-0.10-6.el5.noarch
[17:13:59] ecode=0

On <dest-broker> error:
Dec  5 17:13:27 <dest-broker> qpidd[3717]: 2011-12-05 17:13:27 error Connection <dest-broker>:<src-broker>:5672 closed by error: closed by management(320) 

On <src-broker> warning:
Dec  5 17:13:27 <src-broker> qpidd[3797]: 2011-12-05 17:13:27 warning Client closed connection with 320: closed by management

Comment 10 Red Hat Bugzilla 2025-02-10 03:14:27 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.