Bug 976391 - qpid-route deletes a queue correctly, but exit with failure
Summary: qpid-route deletes a queue correctly, but exit with failure
Keywords:
Status: CLOSED DUPLICATE of bug 976390
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-tools
Version: 2.4
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: messaging-bugs
QA Contact: MRG Quality Engineering
URL:
Whiteboard:
Depends On: 976390
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-20 13:29 UTC by Zdenek Kraus
Modified: 2013-06-20 19:50 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 976390
Environment:
Last Closed: 2013-06-20 19:50:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Zdenek Kraus 2013-06-20 13:29:50 UTC
+++ This bug was initially created as a clone of Bug #976390 +++

Description of problem:
When deleting a route with qpid-route, the route is deleted but qpid-route exit with failure, on rhel6 with exception, on rhel5 with error message and with exit code 1.

Despite that the route is successfully deleted.

Version-Release number of selected component (if applicable):
qpid-tool-0.18-8
qpid-tool-0.18-10
qpid-tool-0.22-4

How reproducible:
99%

Steps to Reproduce:
1. prepare allowing acl
  acl allow all all

2. start brokers with this acl 
  qpidd --auth=no --acl-file=/tmp/allow.acl --data-dir=/tmp/qpidd-$$-$RANDOM-$RANDOM --port=5672
  qpidd --auth=no --acl-file=/tmp/allow.acl --data-dir=/tmp/qpidd-$$-$RANDOM-$RANDOM --port=5671

3. prepare objects to queue route
  qpid-config -b localhost:5671 add queue q
  qpid-config -b localhost:5672 add exchange topic e

4. create a queue route
  qpid-route queue add localhost:5672 localhost:5671 e q

5. then delete the route with same parameters
  qpid-route queue del localhost:5672 localhost:5671 e q

Actual results:
## RHEL5:
Failed: SystemExit - 0
# ecode: 1

##RHEL6
Exception in thread Thread for broker: localhost:5672 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
  File "/usr/lib/python2.6/site-packages/qmf/console.py", line 2997, in run
  File "/usr/lib/python2.6/Queue.py", line 174, in get
<type 'exceptions.TypeError'>: 'NoneType' object is not callable
# ecode: 0

Expected results:
qpid-route delete route without error messages and errors nor exceptions

Additional info:

Comment 1 Justin Ross 2013-06-20 19:50:31 UTC

*** This bug has been marked as a duplicate of bug 976390 ***


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