Bug 756939 - Remove broker link causes qpidd error on RHEL5
Summary: Remove broker link causes qpidd error on RHEL5
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: 2.1
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Ken Giusti
QA Contact: MRG Quality Engineering
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-25 08:26 UTC by Stanislav Graf
Modified: 2025-02-10 03:14 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2025-02-10 03:14:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 757055 0 unspecified CLOSED qpidd broker triggers SELinux AVCs avc: denied { name_connect } for pid=2088 comm="qpidd" dest=5672 scontext=unconfine... 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 846010 1 None None None 2021-01-20 06:05:38 UTC

Internal Links: 757055 846010

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.


Note You need to log in before you can comment on or make changes to this bug.