<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
This issue is certainly due to the kvm_intel (or amd) module not
loaded on your system.<br>
<br>
You should check with lsmod. You should have something like:<br>
[root]# lsmod |grep kvm<br>
kvm_intel 85256 0 <br>
kvm 225824 1 kvm_intel<br>
<br>
If not, add kvm and kvm_intel modules in your kernel with modprobe.<br>
<br>
<br>
Olivier<br>
<br>
Le 5/16/12 8:19 AM, Darshan Upadhyay a écrit :
<blockquote
cite="mid:CAECrCT4NKXSo8zzFRnSyOMV4FxDXrBym_GojHSd+iaGCTDRiQw@mail.gmail.com"
type="cite">Hello friends,<br>
<br>
i am new to kvm hypervisor. i have successfully created cloud with
xen hypervisor.<br>
<br>
my configuration of two system has been shown below:<br>
Cloud front end:<br>
Hypervisor: XEN<br>
OS: Centos 5.5<br>
<br>
host<br>
Hypervisor: KVM(VT bit enabled in BIOS)<br>
OS: Centos 5.5<br>
<br>
With above configuration i have successfully add the host. looks
like with onehost show command:<br>
HOST 1
INFORMATION
<br>
ID : 1 <br>
NAME : host2 <br>
STATE : MONITORED <br>
IM_MAD : im_kvm <br>
VM_MAD : vmm_kvm <br>
TM_MAD : tm_ssh <br>
<br>
HOST
SHARES
<br>
MAX MEM : 1007348 <br>
USED MEM (REAL) : 291660 <br>
USED MEM (ALLOCATED) : 0 <br>
MAX CPU : 200 <br>
USED CPU (REAL) : 0 <br>
USED CPU (ALLOCATED) : 0 <br>
RUNNING VMS : 0 <br>
<br>
MONITORING
INFORMATION
<br>
ARCH=i686<br>
CPUSPEED=2000<br>
ERROR=[<br>
MESSAGE="Error monitoring host 1 : MONITOR FAILURE 1 -<br>
",<br>
TIMESTAMP="Wed May 16 16:05:47 2012" ]<br>
FREECPU=200.0<br>
FREEMEMORY=715688<br>
HOSTNAME=localhost.localdomain<br>
HYPERVISOR=kvm<br>
MODELNAME="Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz"<br>
NETRX=0<br>
NETTX=0<br>
TOTALCPU=200<br>
TOTALMEMORY=1007348<br>
USEDCPU=0.0<br>
USEDMEMORY=291660<br>
<br>
now, i am trying to create VM from the following document<br>
<a moz-do-not-send="true"
href="http://opennebula.org/documentation:archives:rel3.0:vmg">http://opennebula.org/documentation:archives:rel3.0:vmg</a><br>
<br>
when i had execute the onevm create command, it gives me error
like "unknown type OS hvm"<br>
the oned.log has been shown below:<br>
<br>
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<br>
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<br>
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<br>
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".<br>
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<br>
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".<br>
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".<br>
Wed May 16 16:41:35 2012 [TM][D]: Message received: LOG I 10
ExitCode: 0<br>
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".<br>
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".<br>
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".<br>
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".<br>
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".<br>
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".<br>
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".<br>
Wed May 16 16:41:39 2012 [TM][D]: Message received: LOG I 10
ExitCode: 0<br>
Wed May 16 16:41:39 2012 [TM][D]: Message received: TRANSFER
SUCCESS 10 -<br>
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'<br>
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<br>
Wed May 16 16:41:41 2012 [VMM][D]: Message received: LOG I 10
error: unknown OS type hvm<br>
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<br>
Wed May 16 16:41:41 2012 [VMM][D]: Message received: LOG I 10
ExitCode: 255<br>
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<br>
<br>
so, please guide me where i am doing mistake?<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
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
</pre>
</body>
</html>