[one-users] URGENT: unknown type OS hvm

Olivier Sallou olivier.sallou at irisa.fr
Wed May 16 00:04:20 PDT 2012


This issue is certainly due to the kvm_intel (or amd) module not loaded
on your system.

You should check with lsmod. You should have something like:
[root]# lsmod |grep kvm
kvm_intel              85256  0
kvm                   225824  1 kvm_intel

If not, add kvm and kvm_intel modules in your kernel with modprobe.


Olivier

Le 5/16/12 8:19 AM, Darshan Upadhyay a écrit :
> Hello friends,
>  
> i am new to kvm hypervisor. i have successfully created cloud with xen
> hypervisor.
>
> my configuration of two system has been shown below:
> Cloud front end:
> Hypervisor: XEN
> OS: Centos 5.5
>
> host
> Hypervisor: KVM(VT bit enabled in BIOS)
> OS: Centos 5.5
>
> With above configuration i have successfully add the host. looks like
> with onehost show command:
> HOST 1
> INFORMATION                                                             
> ID                    : 1                  
> NAME                  : host2              
> STATE                 : MONITORED          
> IM_MAD                : im_kvm             
> VM_MAD                : vmm_kvm            
> TM_MAD                : tm_ssh             
>
> HOST
> SHARES                                                                    
>
> MAX MEM               : 1007348            
> USED MEM (REAL)       : 291660             
> USED MEM (ALLOCATED)  : 0                  
> MAX CPU               : 200                
> USED CPU (REAL)       : 0                  
> USED CPU (ALLOCATED)  : 0                  
> RUNNING VMS           : 0                  
>
> MONITORING
> INFORMATION                                                         
> ARCH=i686
> CPUSPEED=2000
> ERROR=[
>   MESSAGE="Error monitoring host 1 : MONITOR FAILURE 1 -
> ",
>   TIMESTAMP="Wed May 16 16:05:47 2012" ]
> FREECPU=200.0
> FREEMEMORY=715688
> HOSTNAME=localhost.localdomain
> HYPERVISOR=kvm
> MODELNAME="Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz"
> NETRX=0
> NETTX=0
> TOTALCPU=200
> TOTALMEMORY=1007348
> USEDCPU=0.0
> USEDMEMORY=291660
>
> now, i am trying to create VM from the following document
> http://opennebula.org/documentation:archives:rel3.0:vmg
>
> when i had execute the onevm create command, it gives me error like
> "unknown type OS hvm"
> the oned.log has been shown below:
>
> Wed May 16 16:41:35 2012 [TM][D]: Message received: LOG D 10
> tm_clone.sh:
> darsh:/srv/cloud/one/var/images/495d0ceba470fc7f9bfcafc7f24a9090
> host2:/srv/cloud/one/var//10/images/disk.0
> Wed May 16 16:41:35 2012 [TM][D]: Message received: LOG D 10
> tm_clone.sh: DST: /srv/cloud/one/var//10/images/disk.0
> Wed May 16 16:41:35 2012 [TM][D]: Message received: LOG I 10
> tm_clone.sh: Creating directory /srv/cloud/one/var//10/images
> Wed May 16 16:41:35 2012 [TM][D]: Message received: LOG I 10
> tm_clone.sh: Executed "ssh host2 mkdir -p /srv/cloud/one/var//10/images".
> Wed May 16 16:41:35 2012 [TM][D]: Message received: LOG I 10
> tm_clone.sh: Cloning
> darsh:/srv/cloud/one/var/images/495d0ceba470fc7f9bfcafc7f24a9090
> Wed May 16 16:41:35 2012 [TM][D]: Message received: LOG I 10
> tm_clone.sh: Executed "scp
> darsh:/srv/cloud/one/var/images/495d0ceba470fc7f9bfcafc7f24a9090
> host2:/srv/cloud/one/var//10/images/disk.0".
> Wed May 16 16:41:35 2012 [TM][D]: Message received: LOG I 10
> tm_clone.sh: Executed "ssh host2 chmod a+rw
> /srv/cloud/one/var//10/images/disk.0".
> Wed May 16 16:41:35 2012 [TM][D]: Message received: LOG I 10 ExitCode: 0
> Wed May 16 16:41:39 2012 [TM][D]: Message received: LOG I 10
> tm_context.sh: Executed "mkdir -p
> /srv/cloud/one/var/bda1ee1be8afa2ec68ede8f0a70ba1af/isofiles".
> Wed May 16 16:41:39 2012 [TM][D]: Message received: LOG I 10
> tm_context.sh: Executed "cp -R /srv/cloud/one/var/10/context.sh
> /srv/cloud/one/var/bda1ee1be8afa2ec68ede8f0a70ba1af/isofiles".
> Wed May 16 16:41:39 2012 [TM][D]: Message received: LOG I 10
> tm_context.sh: Executed "cp -R /tty/init.sh
> /srv/cloud/one/var/bda1ee1be8afa2ec68ede8f0a70ba1af/isofiles".
> Wed May 16 16:41:39 2012 [TM][D]: Message received: LOG I 10
> tm_context.sh: Executed "cp -R /srv/id_rsa.pub
> /srv/cloud/one/var/bda1ee1be8afa2ec68ede8f0a70ba1af/isofiles".
> Wed May 16 16:41:39 2012 [TM][D]: Message received: LOG I 10
> tm_context.sh: Executed "mkisofs -o
> /srv/cloud/one/var/bda1ee1be8afa2ec68ede8f0a70ba1af/disk.1 -J -R
> /srv/cloud/one/var/bda1ee1be8afa2ec68ede8f0a70ba1af/isofiles".
> Wed May 16 16:41:39 2012 [TM][D]: Message received: LOG I 10
> tm_context.sh: Executed "scp
> /srv/cloud/one/var/bda1ee1be8afa2ec68ede8f0a70ba1af/disk.1
> host2:/srv/cloud/one/var//10/images/disk.1".
> Wed May 16 16:41:39 2012 [TM][D]: Message received: LOG I 10
> tm_context.sh: Executed "rm -rf
> /srv/cloud/one/var/bda1ee1be8afa2ec68ede8f0a70ba1af".
> Wed May 16 16:41:39 2012 [TM][D]: Message received: LOG I 10 ExitCode: 0
> Wed May 16 16:41:39 2012 [TM][D]: Message received: TRANSFER SUCCESS 10 -
> Wed May 16 16:41:41 2012 [VMM][D]: Message received: LOG I 10 Command
> execution fail: 'if [ -x "/var/tmp/one/vmm/kvm/deploy" ]; then
> /var/tmp/one/vmm/kvm/deploy /srv/cloud/one/var//10/images/deployment.0
> host2 10 host2; else                              exit 42; fi'
> Wed May 16 16:41:41 2012 [VMM][D]: Message received: LOG I 10 error:
> Failed to create domain from /srv/cloud/one/var//10/images/deployment.0
> Wed May 16 16:41:41 2012 [VMM][D]: Message received: LOG I 10 error:
> unknown OS type hvm
> Wed May 16 16:41:41 2012 [VMM][D]: Message received: LOG E 10 Could
> not create domain from /srv/cloud/one/var//10/images/deployment.0
> Wed May 16 16:41:41 2012 [VMM][D]: Message received: LOG I 10
> ExitCode: 255
> Wed May 16 16:41:41 2012 [VMM][D]: Message received: DEPLOY FAILURE 10
> Could not create domain from /srv/cloud/one/var//10/images/deployment.0
>
> so, please guide me where i am doing mistake?
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

-- 
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95

gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120516/0540ec2a/attachment-0003.htm>


More information about the Users mailing list