Bug 523645

Summary: qpid-route route del reports "Failed: (0,)"
Product: Red Hat Enterprise MRG Reporter: Gordon Sim <gsim>
Component: qpid-toolsAssignee: Ernie <eallen>
Status: CLOSED CURRENTRELEASE QA Contact: MRG Quality Engineering <mrgqe-bugs>
Severity: medium Docs Contact:
Priority: high    
Version: 1.1.6CC: jross
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-21 15:50:47 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 Gordon Sim 2009-09-16 10:02:36 UTC
Description of problem:

An apparent failure is reported when qpid-route is used to delete a route. It does appear to have worked however.

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

qpidd-0.5.752581-26.el5
python-qpid-0.5.758389-1.el5

How reproducible:

100%

Steps to Reproduce:
1. qpid-route route add localhost:5672 localhost:5673 amq.direct routing_key
2. qpid-route -e route del localhost:5672 localhost:5673 amq.direct routing_key
  
Actual results:

Failed: (0,)

Expected results:

No errors.

Additional info:

[gordon@mrg15 ~]$ qpid-route route add localhost:5672 localhost:5673 amq.direct routing_key
[gordon@mrg15 ~]$ qpid-route -v -e route del localhost:5672 localhost:5673 amq.direct routing_key
Closing bridge...
Last bridge on link, closing link...
Failed: (0,)

Comment 1 Justin Ross 2013-03-21 12:31:49 UTC
I suspect this problem no longer exists.  Ernie, please check.

Comment 2 Ernie 2013-03-21 15:36:03 UTC
Yes, this problem no longer exists. (Tested on Fedora 17) 

With c++ broker built from trunk:
$ ./qpid-route route add localhost:5672 localhost:5671 amq.direct routing_key
$ ./qpid-route -v -e route del localhost:5672 localhost:5671 amq.direct routing_key
Closing bridge...
Last bridge on link, closing link...
$ echo $?
0

Same results from broker built from 0.18:
$ ./qpid-route route add localhost:5672 localhost:5671 amq.direct routing_key
$ ./qpid-route -v -e route del localhost:5672 localhost:5671 amq.direct routing_key
Closing bridge...
Last bridge on link, closing link...
$ echo $?
0

Comment 3 Justin Ross 2013-03-21 15:50:47 UTC
Thanks! -> CLOSED (currentrelease)