Bug 523645 - qpid-route route del reports "Failed: (0,)"
Summary: qpid-route route del reports "Failed: (0,)"
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-tools
Version: 1.1.6
Hardware: All
OS: Linux
high
medium
Target Milestone: ---
: ---
Assignee: Ernie
QA Contact: MRG Quality Engineering
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-09-16 10:02 UTC by Gordon Sim
Modified: 2013-03-21 15:51 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-21 15:50:47 UTC


Attachments (Terms of Use)

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)


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