Bug 596269

Summary: Feature request: re-factor the qpid tools to better handle large-scale configurations.
Product: Red Hat Enterprise MRG Reporter: Ken Giusti <kgiusti>
Component: qpid-qmfAssignee: messaging-bugs <messaging-bugs>
Status: NEW --- QA Contact: MRG Quality Engineering <mrgqe-bugs>
Severity: low Docs Contact:
Priority: low    
Version: DevelopmentCC: jross
Target Milestone: ---Keywords: Improvement
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ken Giusti 2010-05-26 13:46:13 UTC
Description of problem:

See bug https://bugzilla.redhat.com/show_bug.cgi?id=581006


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

The following qpid tools attempt to retrieve a large number of management objects from the broker as part of their normal operation:

qpid-stat,
qpid-config,
qpid-route,
qpid-cluster,

All of the above tools use the QMF getObjects() method call to retrieve all objects of a given class, "queues" for example.  If a large number of objects are defined, then the getObjects() method may not complete before its default timeout expires (60 seconds).

Possible approaches:

*) allow the user to manually override the default timeout via a command line option.  To override the default timeout, the "_timeout" parameter may be passed to getObjects()

*) Put a count of objects for each class type in the broker object.  The tools could use the count to determine if the default timeout should be overridden automagically.

*) QMF V2 will provide a feature where a list of just the object identifiers are returned, rather than a list of the complete objects.  This may be used by the tool to get a summary of all known objects more efficiently that transferring the whole objects themselves.