Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 513641 - qpid-config gives error "Failed: ()" when creating persistent queue
qpid-config gives error "Failed: ()" when creating persistent queue
Status: CLOSED ERRATA
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: python-qpid (Show other bugs)
1.1.1
x86_64 Linux
medium Severity medium
: 1.3
: ---
Assigned To: Nuno Santos
Jiri Kolar
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-24 11:38 EDT by Yuri
Modified: 2013-09-12 18:10 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
When attempting to create a persistent queue, the qpid-config utility occasionally failed when journal creation took too long. This error does not occur anymore, and the utility no longer fails due to timeout.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-10-14 12:14:31 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Customer documenting missing bindings during queue creation (100.17 KB, application/rtf)
2010-01-22 14:50 EST, Mike Cressman
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2010:0773 normal SHIPPED_LIVE Moderate: Red Hat Enterprise MRG Messaging and Grid Version 1.3 2010-10-14 11:56:44 EDT

  None (edit)
Description Yuri 2009-07-24 11:38:35 EDT
Description of problem:

Creating a persistent queue gives error "Failed" when it takes more than 10-12 seconds for the store journal to be created. Though this error the queue is created correctly and functions with no problems.



Version-Release number of selected component (if applicable):
python-qpid-0.5.752581-1.el5

How reproducible:
100%  (see Additional info below)


Steps to Reproduce:
1. Create a persistent queue with a size that it takes more then 10-12 seconds for qpidd to create the store journal(/path/to/qpidd/datadir/rhm/jrnl)

  
Actual results:

[root@graz log]#  qpid-config --broker-addr guest/guest@stanton:5672 add queue cms.inbound.trips --limit-policy reject --file-size 1512 --durable
Failed: ()
[root@graz log]#


Expected results:

[root@graz log]#  qpid-config --broker-addr guest/guest@stanton:5672 add queue cms.inbound.trips --limit-policy reject --file-size 1512 --durable
[root@graz log]#


Additional info:
The example above is based on a gfs mounted qpidd datadir with a 758MB journal that takes 30 seconds to be created.
 
The same has being reproduced on a datadir mounted on local disk (with 4 times faster disk I/O). This creates the 758MB journal in 8 seconds and produce no error. 
But setting "--file-size 3024" takes 16 seconds and again produces the "Failed:  ()" error.
Comment 2 Mike Cressman 2010-01-22 14:50:40 EST
Created attachment 386231 [details]
Customer documenting missing bindings during queue creation
Comment 3 Mike Cressman 2010-01-22 14:59:58 EST
Customer has new data showing that this issue may produce incorrect results.
Comment 4 Nuno Santos 2010-05-03 17:36:42 EDT
Fixed at svn rev 940631: catch the Timeout exceptions and re-attempt the final disconnect until the timeout clears.

On my desktop machine, "--file-size 5000" caused the exception before the fix, and executes cleanly after the fix, so that might be a good value to reproduce the issue and verify the fix.
Comment 6 Jiri Kolar 2010-09-22 08:26:09 EDT
bug appears on 1.2
fixed on -15
validated on RHEL5.5/RHEL4  i386 / x86_64  

packages:
# rpm -qa | grep -E '(qpid|openais|rhm)' | sort -u

openais-0.80.6-16.el5_5.7
openais-devel-0.80.6-16.el5_5.7
python-qpid-0.7.946106-14.el5
qpid-cpp-client-0.7.946106-15.el5
qpid-cpp-client-devel-0.7.946106-15.el5
qpid-cpp-client-devel-docs-0.7.946106-15.el5
qpid-cpp-client-ssl-0.7.946106-15.el5
qpid-cpp-mrg-debuginfo-0.7.946106-14.el5
qpid-cpp-server-0.7.946106-15.el5
qpid-cpp-server-cluster-0.7.946106-15.el5
qpid-cpp-server-devel-0.7.946106-15.el5
qpid-cpp-server-ssl-0.7.946106-15.el5
qpid-cpp-server-store-0.7.946106-15.el5
qpid-cpp-server-xml-0.7.946106-15.el5
qpid-java-client-0.7.946106-9.el5
qpid-java-common-0.7.946106-9.el5
qpid-tools-0.7.946106-10.el5
rhm-docs-0.7.946106-5.el5
rh-tests-distribution-MRG-Messaging-qpid_common-1.6-53

->VERIFIED
Comment 7 Douglas Silas 2010-10-07 11:29:16 EDT
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
When attempting to create a persistent queue, the qpid-config utility occasionally failed when journal creation took too long.
Comment 8 Jaromir Hradilek 2010-10-13 12:45:00 EDT
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-When attempting to create a persistent queue, the qpid-config utility occasionally failed when journal creation took too long.+When attempting to create a persistent queue, the qpid-config utility occasionally failed when journal creation took too long. This error does not occur anymore, and the utility no longer fails due to timeout.
Comment 10 errata-xmlrpc 2010-10-14 12:14:31 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2010-0773.html

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