Displaying 2 results from an estimated 2 matches for "debugputs".
Did you mean:
debugpass
2009 Nov 04
4
[PATCH server] Update daemons to use new QMF.
...d_connection(@connection)
+ @broker.wait_for_stable
rescue Exception => ex
@logger.error "Error in hostregister: #{ex}"
@@ -101,6 +114,7 @@ class HostRegister < Qpid::Qmf::Console
end
end
+ ###### Utility Methods ######
def debugputs(msg)
puts msg if @debug == true and @do_daemon == false
end
@@ -116,20 +130,66 @@ class HostRegister < Qpid::Qmf::Console
end
end
- def broker_connected(broker)
- @logger.info 'Connected to broker.'
+ ###### QMF Callbacks ######
+ def agent_h...
2010 Nov 12
3
Updating oVirt Server to the latest Matahari 0.4.0 schema
...ostname
hypervisor
arch
memory
This is all good, those properties do exist in new Matahari 0.4.0 schema, patch for this part would be simply:
--- a/src/host-browser/host-register.rb
+++ b/src/host-browser/host-register.rb
@@ -143,7 +143,7 @@ class HostRegister < Qmf::ConsoleHandler
debugputs "Agent #{agent.key}.connected!"
agent_connected(agent)
- host_list = @qmfc.objects(:package => 'com.redhat.matahari', :class => 'host')
+ host_list = @qmfc.objects(:package => 'com.redhat.matahari.host', :class => 'Host...