Bug 976391 - qpid-route deletes a queue correctly, but exit with failure
qpid-route deletes a queue correctly, but exit with failure
Status: CLOSED DUPLICATE of bug 976390
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-tools (Show other bugs)
Unspecified Unspecified
unspecified Severity low
: ---
: ---
Assigned To: messaging-bugs
MRG Quality Engineering
Depends On: 976390
  Show dependency treegraph
Reported: 2013-06-20 09:29 EDT by Zdenek Kraus
Modified: 2013-06-20 15:50 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 976390
Last Closed: 2013-06-20 15:50:31 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Zdenek Kraus 2013-06-20 09:29:50 EDT
+++ 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):

How reproducible:

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

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 15:50:31 EDT

*** 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.