[one-users] Could not find information driver im_kvm
Javier Fontan
jfontan at opennebula.org
Thu Sep 5 06:41:43 PDT 2013
Your driver is called "kvm" in oned.conf:
--8<------
Thu Sep 5 12:18:14 2013 [InM][I]: Loading Information Manager drivers.
Thu Sep 5 12:18:14 2013 [InM][I]: Loading driver: kvm
Thu Sep 5 12:18:14 2013 [InM][I]: Driver kvm loaded
------>8--
But you've added the host with "im_kvm" driver:
--8<------
Thu Sep 5 12:18:22 2013 [InM][E]: Could not find information driver im_kvm
------>8--
Also check vm driver. It provably has the same problem.
On Thu, Sep 5, 2013 at 3:25 PM, Mark Kusch <mark.kusch at silpion.de> wrote:
> Hi list,
>
> "Could not find information driver im_kvm" even if
> oned.log tells me it successfully loaded information
> driver kvm (see below).
> Behaviour persistent over reboots and service restarts.
>
>
> environment:
> Vagrant/VirtualBox, CentOS 6.4, OpenNebula 4.2.
> Two VMs, one serves as frontend (fe), one as host (wn).
> Host only networking, 10.11.12.8/29. iptables rules to
> allow any traffic in that network in INPUT and OUTPUT
> chains. (Vagrantfile below oned.log if one wants to
> reproduce this issue with my setup.)
>
> Both nodes configured manually with the following steps:
>
>
> # iptables -I INPUT 1 \
> -s 10.11.12.8/29 \
> -d 10.11.12.8/29 \
> -j ACCEPT
>
> # iptables -A OUTPUT \
> -s 10.11.12.8/29 \
> -d 10.11.12.8/29 \
> -j ACCEPT
>
> # service iptables save
>
>
> # cat << EOT > /etc/yum.repos.d/opennebula.repo
> [opennebula]
> name=opennebula
> baseurl=http://opennebula.org/repo/CentOS/6/stable/x86_64
> enabled=1
> gpgcheck=0
> EOT
>
> # rpm -Uvh \
> http://mirrors.kernel.org/fedora-epel/6/i386/epel-release-6-8.noarch.rpm
>
> # yum repolist
>
>
> fe: # yum install opennebula-server opennebula-sunstone \
> opennebula-occi
>
> fe: # service opennebula start
> fe: # service opennebula-occi start
> fe: # service opennebula-sunstone start
>
> (sunstone configured to listen on 0.0.0.0 instead of lo.)
> (sunstone working properly.)
>
>
> wn: # yum install opennebula-node-kvm
>
>
> fe: # su - oneadmin
> fe: $ onehost create 10.11.12.11 -i im_kvm -v vmm_kvm -n dummy
> fe: $ onehost list
> ID NAME CLUSTER RVM ALLOCATED_CPU ALLOCATED_MEM STAT
> 1 10.11.12.11 - 0 - - err
>
>
> /var/lib/one/oned.log
> Thu Sep 5 12:18:12 2013 [ONE][I]: Starting OpenNebula 4.2.0
> ----------------------------------------
> OpenNebula Configuration File
> ----------------------------------------
> AUTH_MAD=AUTHN=ssh,x509,ldap,server_cipher,server_x509,EXECUTABLE=one_auth_mad
> DATASTORE_CAPACITY_CHECK=yes
> DATASTORE_LOCATION=/var/lib/one//datastores
> DATASTORE_MAD=ARGUMENTS=-t 15 -d dummy,fs,vmfs,iscsi,lvm,ceph,EXECUTABLE=one_datastore
> DB=BACKEND=sqlite
> DEFAULT_DEVICE_PREFIX=hd
> DEFAULT_IMAGE_TYPE=OS
> DEFAULT_UMASK=177
> ENABLE_OTHER_PERMISSIONS=YES
> HM_MAD=EXECUTABLE=one_hm
> HOST_MONITORING_EXPIRATION_TIME=86400
> HOST_PER_INTERVAL=15
> IMAGE_RESTRICTED_ATTR=SOURCE
> IM_MAD=ARGUMENTS=-r 0 -t 15 kvm,EXECUTABLE=one_im_ssh,NAME=kvm
> LOG=DEBUG_LEVEL=3,SYSTEM=file
> MAC_PREFIX=02:00
> MANAGER_TIMER=10
> MONITORING_INTERVAL=30
> NETWORK_SIZE=254
> PORT=2633
> SCRIPTS_REMOTE_DIR=/var/tmp/one
> SESSION_EXPIRATION_TIME=900
> TM_MAD=ARGUMENTS=-t 15 -d dummy,lvm,shared,qcow2,ssh,vmfs,iscsi,ceph,EXECUTABLE=one_tm
> VM_MAD=ARGUMENTS=-t 15 -r 0 kvm,DEFAULT=vmm_exec/vmm_exec_kvm.conf,EXECUTABLE=one_vmm_exec,NAME=kvm,TYPE=kvm
> VM_MONITORING_EXPIRATION_TIME=86400
> VM_PER_INTERVAL=5
> VM_RESTRICTED_ATTR=CONTEXT/FILES
> VM_RESTRICTED_ATTR=NIC/MAC
> VM_RESTRICTED_ATTR=NIC/VLAN_ID
> VM_SUBMIT_ON_HOLD=NO
> VNC_BASE_PORT=5900
> ----------------------------------------
> Thu Sep 5 12:18:12 2013 [ONE][I]: Log level:3 [0=ERROR,1=WARNING,2=INFO,3=DEBUG]
> Thu Sep 5 12:18:12 2013 [ONE][I]: Checking database version.
> Thu Sep 5 12:18:12 2013 [VMM][I]: Starting Virtual Machine Manager...
> Thu Sep 5 12:18:12 2013 [LCM][I]: Starting Life-cycle Manager...
> Thu Sep 5 12:18:12 2013 [InM][I]: Starting Information Manager...
> Thu Sep 5 12:18:12 2013 [TrM][I]: Starting Transfer Manager...
> Thu Sep 5 12:18:12 2013 [DiM][I]: Starting Dispatch Manager...
> Thu Sep 5 12:18:12 2013 [HKM][I]: Starting Hook Manager...
> Thu Sep 5 12:18:12 2013 [AuM][I]: Starting Auth Manager...
> Thu Sep 5 12:18:12 2013 [ImM][I]: Starting Image Manager...
> Thu Sep 5 12:18:12 2013 [InM][I]: Information Manager started.
> Thu Sep 5 12:18:12 2013 [TrM][I]: Transfer Manager started.
> Thu Sep 5 12:18:12 2013 [LCM][I]: Life-cycle Manager started.
> Thu Sep 5 12:18:12 2013 [DiM][I]: Dispatch Manager started.
> Thu Sep 5 12:18:12 2013 [HKM][I]: Hook Manager started.
> Thu Sep 5 12:18:12 2013 [AuM][I]: Authorization Manager started.
> Thu Sep 5 12:18:12 2013 [VMM][I]: Virtual Machine Manager started.
> Thu Sep 5 12:18:12 2013 [ImM][I]: Image Manager started.
> Thu Sep 5 12:18:14 2013 [VMM][I]: Loading Virtual Machine Manager drivers.
> Thu Sep 5 12:18:14 2013 [VMM][I]: Loading driver: kvm (KVM)
> Thu Sep 5 12:18:14 2013 [VMM][I]: Driver kvm loaded.
> Thu Sep 5 12:18:14 2013 [InM][I]: Loading Information Manager drivers.
> Thu Sep 5 12:18:14 2013 [InM][I]: Loading driver: kvm
> Thu Sep 5 12:18:14 2013 [InM][I]: Driver kvm loaded
> Thu Sep 5 12:18:14 2013 [TM][I]: Loading Transfer Manager driver.
> Thu Sep 5 12:18:15 2013 [TM][I]: Transfer manager driver loaded
> Thu Sep 5 12:18:15 2013 [HKM][I]: Loading Hook Manager driver.
> Thu Sep 5 12:18:15 2013 [HKM][I]: Hook Manager loaded
> Thu Sep 5 12:18:15 2013 [ImM][I]: Loading Image Manager driver.
> Thu Sep 5 12:18:15 2013 [ImM][I]: Image Manager loaded
> Thu Sep 5 12:18:15 2013 [AuM][I]: Loading Auth. Manager driver.
> Thu Sep 5 12:18:15 2013 [AuM][I]: Auth Manager loaded
> Thu Sep 5 12:18:15 2013 [ReM][I]: Starting Request Manager...
> Thu Sep 5 12:18:15 2013 [ReM][I]: Starting XML-RPC server, port 2633 ...
> Thu Sep 5 12:18:15 2013 [ReM][I]: Request Manager started.
> Thu Sep 5 12:18:22 2013 [InM][I]: Monitoring host 10.11.12.11 (1)
> Thu Sep 5 12:18:22 2013 [InM][E]: Could not find information driver im_kvm
> Thu Sep 5 12:18:22 2013 [InM][I]: Monitoring datastore default (1)
> Thu Sep 5 12:18:22 2013 [InM][I]: Monitoring datastore files (2)
> Thu Sep 5 12:18:22 2013 [ImM][I]: Datastore files (2) successfully monitored.
> Thu Sep 5 12:18:22 2013 [ImM][I]: Datastore default (1) successfully monitored.
> Thu Sep 5 12:18:32 2013 [InM][I]: Monitoring host 10.11.12.11 (1)
> Thu Sep 5 12:18:32 2013 [InM][E]: Could not find information driver im_kvm
> Thu Sep 5 12:18:42 2013 [InM][I]: Monitoring host 10.11.12.11 (1)
> Thu Sep 5 12:18:42 2013 [InM][E]: Could not find information driver im_kvm
> Thu Sep 5 12:18:42 2013 [ReM][D]: Req:5360 UID:0 VirtualMachinePoolInfo invoked, -2, -1, -1, -1
> Thu Sep 5 12:18:42 2013 [ReM][D]: Req:5360 UID:0 VirtualMachinePoolInfo result SUCCESS, "<VM_POOL></VM_POOL>"
> Thu Sep 5 12:18:42 2013 [ReM][D]: Req:4960 UID:0 VirtualMachinePoolInfo invoked, -2, -1, -1, -1
> Thu Sep 5 12:18:42 2013 [ReM][D]: Req:4960 UID:0 VirtualMachinePoolInfo result SUCCESS, "<VM_POOL></VM_POOL>"
> Thu Sep 5 12:18:52 2013 [InM][I]: Monitoring datastore default (1)
> Thu Sep 5 12:18:52 2013 [InM][I]: Monitoring datastore files (2)
> Thu Sep 5 12:18:52 2013 [InM][I]: Monitoring host 10.11.12.11 (1)
> Thu Sep 5 12:18:52 2013 [InM][E]: Could not find information driver im_kvm
> Thu Sep 5 12:18:52 2013 [ImM][I]: Datastore default (1) successfully monitored.
> Thu Sep 5 12:18:52 2013 [ImM][I]: Datastore files (2) successfully monitored.
> Thu Sep 5 12:19:02 2013 [InM][I]: Monitoring host 10.11.12.11 (1)
> Thu Sep 5 12:19:02 2013 [InM][E]: Could not find information driver im_kvm
> Thu Sep 5 12:19:12 2013 [InM][I]: Monitoring host 10.11.12.11 (1)
> Thu Sep 5 12:19:12 2013 [InM][E]: Could not find information driver im_kvm
> [snip]
>
>
> Vagranfile:
> # vim: set ft=ruby ts=2 sw=2 et:
>
>
> # TODO
> # Provisioning with Chef
>
>
> # general configuration for any Vagrant configuration API version
> Vagrant::Config.run do |config|
>
> config.vm.box = 'centos64'
> config.vm.box_url = 'http://developer.nrel.gov/downloads/vagrant-boxes/CentOS-6.4-x86_64-v20130427.box'
>
> # config.vm.provision :chef do |chef|
> # end
>
> end
>
>
> # Vagrant configuration API version 1
> Vagrant::VERSION <= '1.1.0' and Vagrant::Config.run do |config|
>
> config.vm.define :fe do |frontend|
> frontend.vm.host_name = 'onefe'
> frontend.vm.network :hostonly, '10.11.12.13', :netmask => '255.255.255.248'
> frontend.vm.forward_port 9869, 9869
> frontend.vm.customize [
> 'modifyvm', :id, '--name', 'onefe', '--memory', '512', '--cpus', '1'
> ]
> end
>
> config.vm.define :wn do |workernode|
> workernode.vm.host_name = 'onewn'
> workernode.vm.network :hostonly, '10.11.12.11', :netmask => '255.255.255.248'
> workernode.vm.customize [
> 'modifyvm', :id, '--name', 'onewn', '--memory', '2048', '--cpus', '1'
> ]
> end
>
> end
>
>
> # Vagrant configuration API version 2
> Vagrant::VERSION >= '1.1.0' and Vagrant.configure('2') do |config|
>
> config.vm.define :fe do |frontend|
> frontend.vm.hostname = 'onefe'
> frontend.vm.network :private_network, ip: '10.11.12.13', netmask: '255.255.255.248'
> frontend.vm.network :forwarded_port, :host => 9869, :guest => 9869
> frontend.vm.provider :virtualbox do |vb|
> vb.customize [
> 'modifyvm', :id, '--name', 'onefe', '--memory', '512', '--cpus', '1'
> ]
> end
> end
>
> config.vm.define :wn do |workernode|
> workernode.vm.hostname = 'onewn'
> workernode.vm.network :private_network, ip: '10.11.12.11', netmask: '255.255.255.248'
> workernode.vm.provider :virtualbox do |vb|
> vb.customize [
> 'modifyvm', :id, '--name', 'onewn', '--memory', '2048', '--cpus', '1'
> ]
> end
> end
>
> end
>
>
> Best!,
>
> # kraM
>
> --
> Mark Kusch
> Silpion IT-Solutions GmbH: Systems Engineer
>
> Tel.: +49 (40) 399976-51
> Fax.: +49 (40) 399976-40
> Mail: mark.kusch at silpion.de
>
> Firmensitz: Brandshofer Deich 48, 20539 Hamburg
> Geschäftsführer: Dipl.-Ing. (FH) Patrick Postel
> Registergericht: Amtsgericht Hamburg HRB 78585
> Finanzbehörde: Hamburg
> USt.-Ident.-Nr.: DE213610768
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
--
Join us at OpenNebulaConf2013 in Berlin from the 24th to the 26th of
September 2013!
Javier Fontán Muiños
Developer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | @OpenNebula | github.com/jfontan
More information about the Users
mailing list