Displaying 7 results from an estimated 7 matches for "hostregist".
Did you mean:
hostregister
2010 Aug 18
2
[PATCH] Don't show vlan interfaces in NIC host management
...rb | 16 ++++++++++++----
1 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/src/host-browser/host-register.rb b/src/host-browser/host-register.rb
index 693a6f2..5ff6a90 100755
--- a/src/host-browser/host-register.rb
+++ b/src/host-browser/host-register.rb
@@ -393,13 +393,18 @@ class HostRegister < Qmf::ConsoleHandler
# if we have a match, then update the database and remove
# the received data to avoid creating a dupe later
@logger.info "Searching for existing record for: #{detail.macaddr.upcase} in host #{host_qmf.hostname}"...
2009 Nov 04
4
[PATCH server] Update daemons to use new QMF.
...quire 'monitor'
require 'dutils'
require 'daemons'
require 'optparse'
require 'logger'
+require 'qmf'
+require 'socket'
include Daemonize
@@ -27,13 +28,17 @@ end
$logfile = '/var/log/ovirt-server/host-register.log'
-class HostRegister < Qpid::Qmf::Console
+class HostRegister < Qmf::ConsoleHandler
# Use monitor mixin for mutual exclusion around checks to heartbeats
# and updates to objects/heartbeats.
include MonitorMixin
+ # def initialize: Takes no parameters
+ # On initialize, we get a connec...
2010 Sep 14
1
[PATCH] Fix bad declaration in host-register
...ter.rb | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/src/host-browser/host-register.rb b/src/host-browser/host-register.rb
index 5ff6a90..7bf957d 100755
--- a/src/host-browser/host-register.rb
+++ b/src/host-browser/host-register.rb
@@ -393,14 +393,13 @@ class HostRegister < Qmf::ConsoleHandler
# if we have a match, then update the database and remove
# the received data to avoid creating a dupe later
@logger.info "Searching for existing record for: #{detail.macaddr.upcase} in host #{host_qmf.hostname}"...
2009 Jul 31
2
[PATCH server] Removed workaround for qmf bug that yielded 0 cpus and 0 nics for nodes from time to time.
...wser/host-register.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/host-browser/host-register.rb b/src/host-browser/host-register.rb
index 57c11b7..06d8553 100755
--- a/src/host-browser/host-register.rb
+++ b/src/host-browser/host-register.rb
@@ -92,7 +92,7 @@ class HostRegister < Qpid::Qmf::Console
end
@logger.info "Connecting to amqp://#{server}:#{port}"
- @session = Qpid::Qmf::Session.new(:console => self, :manage_connections => false)
+ @session = Qpid::Qmf::Session.new(:console => self, :manage_...
2009 Sep 29
1
Error in host-register
...led an installed ovirt .
I started i physical node and it appears on web interfaces as enabled
and available but without CPUS and NICs.
I restarted matahari on node but on ovirt server in the file host-register.log
appears the following error:
ERROR Tue Sep 29 11:57:28 +0200 2009 (7335) Error in hostregister:
#<SystemExit:0x7fb658b3a518>
ERROR Tue Sep 29 11:57:28 +0200 2009 (7335)
/usr/lib/ruby/site_ruby/1.8/qpid/queue.rb:92:in
`sleep'/usr/share/ovirt-server/host-browser/host-register.rb:423:in
`check_heartbeats'/usr/share/ovirt-server/host-browser/host-register.rb:465:in
`mai...
2010 Nov 12
3
Updating oVirt Server to the latest Matahari 0.4.0 schema
...object_id
object_id.agent_key
uuid
hostname
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.redha...
2010 Jun 01
0
Host-register crash
...sr/share/ovirt-server/host-browser/host-register.rb -d -n
/usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning:
Gem::Dependency#version_requirements is deprecated and will be removed on or
after August 2010. Use #requirement
INFO Tue Jun 01 15:02:28 +0200 2010 (2796) hostregister started.
INFO Tue Jun 01 15:02:28 +0200 2010 (2796) Connecting to
amqp://ovirt.admin.virt.par.lng:5672
Console Connection Established...
Agent 1.0.connected!
Marking objects for agent 1.0 active
host_list length is 0
Agent 1.19.connected!
Marking objects for agent 1.19 active
===== Current Objec...