Bug 624798 - QMF Ruby bindings need ConsoleSettings support for bind_package/event/class to work.
QMF Ruby bindings need ConsoleSettings support for bind_package/event/class t...
Status: NEW
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-qmf (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ted Ross
MRG Quality Engineering
Depends On:
  Show dependency treegraph
Reported: 2010-08-17 15:43 EDT by Ken Giusti
Modified: 2013-02-24 20:34 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: ---
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 Ken Giusti 2010-08-17 15:43:27 EDT
Description of problem:

The ruby wrapper needs to allow the console constructor to accept a ConsoleSettings object.  The ConsoleSettings object allows the "userBindings" flag(s) to be set - without it, the bind_XXX api's will not work.

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

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:
Comment 1 Pete MacKinnon 2010-08-17 15:52:21 EDT
I believe this leads the wallaby-agent to consume high CPU in step with its qpidd broker that is deluged with reconnects for backed-up queues. Essentially the Session created in wallaby-agent has no choice but deal with all the QMF events that flow from the broker backup. We need a means to likely disable events and heartbeats, or at least register interest in specific Event packages and/or classes.

wallaby-agent QMF setup code...

console = Qmf::Console.new

settings = Qmf::ConnectionSettings.new
settings.username = username if username
settings.password = password if password
settings.host = host
settings.port = port

connection = Qmf::Connection.new(settings)

broker = console.add_connection(connection)


store = console.object(:class=>"Store")

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