Bug 976390 - qpid-route deletes a queue correctly, but exit with failure
qpid-route deletes a queue correctly, but exit with failure
Status: NEW
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-tools (Show other bugs)
2.3
Unspecified Unspecified
medium Severity low
: ---
: ---
Assigned To: Ernie
MRG Quality Engineering
:
: 976391 (view as bug list)
Depends On:
Blocks: 976391
  Show dependency treegraph
 
Reported: 2013-06-20 09:28 EDT by Zdenek Kraus
Modified: 2013-06-20 16:01 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 976391 (view as bug list)
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
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:28:53 EDT
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 15:50:31 EDT
*** Bug 976391 has been marked as a duplicate of this bug. ***

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