[Ovirt-devel] Host-register crash

Arthur Clément aclement at linagora.com
Tue Jun 1 13:56:01 UTC 2010


I found that ovirt-host-register crashes very quickly and my node was unable 
to register.

This is the trace when I launch it in debug and no daemon mode :

================================================================================

/usr/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 Objects =====
=====       Done      =====
===== Current Objects =====
=====       Done      =====
===== Current Objects =====
=====       Done      =====
===== Current Objects =====
=====       Done      =====
===== Current Objects =====
=====       Done      =====
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'
/usr/share/ovirt-server/host-browser/host-register.rb:107:in `new'
/usr/share/ovirt-server/host-browser/host-register.rb:107:in `initialize'
/usr/share/ovirt-server/host-browser/host-register.rb:479:in `new'
/usr/share/ovirt-server/host-browser/host-register.rb:479:in `main'
/usr/share/ovirt-server/host-browser/host-register.rb:483
Agent 1.23.connected!
Marking objects for agent 1.23 active
===== Current Objects =====
=====       Done      =====
===== Current Objects =====
=====       Done      =====
===== Current Objects =====
=====       Done      =====
===== Current Objects =====
=====       Done      =====
===== Current Objects =====
=====       Done      =====
===== Current Objects =====
=====       Done      =====
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'
/usr/share/ovirt-server/host-browser/host-register.rb:107:in `new'
/usr/share/ovirt-server/host-browser/host-register.rb:107:in `initialize'
/usr/share/ovirt-server/host-browser/host-register.rb:479:in `new'
/usr/share/ovirt-server/host-browser/host-register.rb:479:in `main'
/usr/share/ovirt-server/host-browser/host-register.rb:483
Agent 1.24.connected!
Marking objects for agent 1.24 active
===== Current Objects =====
=====       Done      =====
===== Current Objects =====
=====       Done      =====
===== Current Objects =====
=====       Done      =====
===== Current Objects =====
=====       Done      =====
===== Current Objects =====
=====       Done      =====
===== Current Objects =====
=====       Done      =====
Exception caught in callback: Timed out waiting for response
/usr/lib/ruby/site_ruby/1.8/qmf.rb:236: [BUG] Segmentation fault
ruby 1.8.6 (2010-02-05) [x86_64-linux]

Aborted

=====================================================================================

a nasty part from/var/log/messages :

Jun  1 15:02:38 ovirt qpidd[1595]: 2010-06-01 15:02:38 warning Management 
Agent received invalid schema response: com.redhat.matahari.cpu
Jun  1 15:02:38 ovirt qpidd[1595]: 2010-06-01 15:02:38 warning Management 
Agent received invalid schema response: com.redhat.matahari.host
Jun  1 15:02:38 ovirt qpidd[1595]: 2010-06-01 15:02:38 warning Management 
Agent received invalid schema response: com.redhat.matahari.nic
Jun  1 15:09:09 ovirt qpidd[1595]: 2010-06-01 15:09:09 error Error reading 
socket: No route to host(113)


And few minutes after my ovirt-server is unreachable. Rake seems to give a 
hard time to the cpu.
Dmesg output in a picture, it's impossible to use ssh : 
http://i.imgur.com/JflIf.png




Env : F13 64 bits, ovirt build yester from next. 



-- 
Arthur CLEMENT
Linagora Paris




More information about the ovirt-devel mailing list