Displaying 2 results from an estimated 2 matches for "agent_added".
2010 Jun 01
0
Host-register crash
...=====
Exception caught in callback: Timed out waiting for response
/usr/lib/ruby/site_ruby/1.8/qmf.rb:993:in `objects'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/lib/ruby/site_ruby/1.8/qmf.rb:986:in `objects'
/usr/share/ovirt-server/host-browser/host-register.rb:146:in `agent_added'
/usr/lib/ruby/site_ruby/1.8/qmf.rb:1064:in `do_console_events'
/usr/lib/ruby/site_ruby/1.8/qmf.rb:1047:in `run_cb_thread'
/usr/lib/ruby/site_ruby/1.8/qmf.rb:884:in `initialize'
/usr/lib/ruby/site_ruby/1.8/qmf.rb:883:in `new'
/usr/lib/ruby/site_ruby/1.8/qmf.rb:883:in `initialize...
2009 Nov 04
4
[PATCH server] Update daemons to use new QMF.
...nt.key}"
return if agent == nil
synchronize do
- bank_key = "#{agent.agent_bank}.#{agent.broker.broker_bank}"
- @heartbeats[bank_key] = [agent, timestamp]
+ @heartbeats[agent.key] = [agent, timestamp]
end
end
+ def agent_added(agent)
+ @logger.info("Agent connected: #{agent.key}")
+ end
- def del_agent(agent)
+ def agent_deleted(agent)
agent_disconnected(agent)
end
# This method marks objects associated with the given agent as timed out/invalid. Called either
# when...