Displaying 3 results from an estimated 3 matches for "ovirt_agent".
2009 Jul 07
1
[PATCH] Set up ovirt-agent so it starts as a daemon
...ot;Connecting to broker on #{@settings.host}.."
 
     @connection = Qmf::Connection.new(@settings)
     @agent = Qmf::Agent.new(self)
@@ -243,11 +280,5 @@ class OvirtAgent < Qmf::AgentHandler
   end
 end
 
-if ARGV.size == 1
-  broker = ARGV[0]
-else
-  broker = "localhost"
-end
-ovirt_agent = OvirtAgent.new(broker)
-
+ovirt_agent = OvirtAgent.new
 ovirt_agent.mainloop
-- 
1.6.0.6
2010 Jul 02
2
Build fails due to missing ovirt-node-recipe.ks
Hi,
I'm having some problems building ovirt.  The build fails during the 
final ovirt build stage in the instructions.  The failure is because it 
can't find "/usr/share/ovirt-node-tools/ovirt-node-recipe.ks".  I've 
checked and sure enough it's not there.  Has anyone else come across 
this problem?
Building on FC13 using the instructions found here:
2009 May 15
0
[PATCH server] Starting of new ovirt QMF API.
...9;qpidd')
+
+    Thread.new do
+      while true do
+        sleep(3600)
+        get_credentials('qpidd')
+      end
+    end
+  end
+
+  def mainloop
+    Thread.abort_on_exception = true
+
+    @agent.set_connection(@connection)
+
+    @ovirt_model.start
+
+    sleep
+  end
+end
+
+
+ovirt_agent = OvirtAgent.new
+ovirt_agent.mainloop
+
+
diff --git a/src/ovirt-agent/ovirt-test.rb b/src/ovirt-agent/ovirt-test.rb
new file mode 100755
index 0000000..d97416b
--- /dev/null
+++ b/src/ovirt-agent/ovirt-test.rb
@@ -0,0 +1,40 @@
+#!/usr/bin/ruby
+
+$: << File.join(File.dirname(__FILE__), &quo...