<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font size="-1"><font face="Helvetica, Arial, sans-serif">Hi, there.<br>
<br>
I have a problem trying to deploy a KVM VMs using Opennebula
3.8. We have XEN and KVM hypervisors. <br>
<br>
When we specify REQUIREMENTS="HYPERVISOR=\"xen\"" in a XEN VM
template, the scheduler filters and chooses the hypervisor host
correctly. <br>
<br>
However, when we create a KVM host and specify </font></font><font
size="-1"><font face="Helvetica, Arial, sans-serif">REQUIREMENTS="HYPERVISOR=\"kvm\""
in a KVM VM template, it never fullfil requirements and the VM
is never deployed. <br>
<br>
We have checked KVM host, and it is monitored correctly: </font></font><br>
<font size="-1"><font face="Helvetica, Arial, sans-serif"><br>
<font face="Courier New, Courier, monospace">ID
: 7<br>
NAME : kvm-4<br>
CLUSTER : -<br>
STATE : MONITORED<br>
IM_MAD : im_kvm<br>
VM_MAD : vmm_kvm<br>
VN_MAD : 802.1Q<br>
LAST MONITORING TIME : 02/18 23:07:19<br>
<br>
HOST SHARES<br>
TOTAL MEM : 47.3G<br>
USED MEM (REAL) : 245.2M<br>
USED MEM (ALLOCATED) : 0K<br>
TOTAL CPU : 1600<br>
USED CPU (REAL) : 0<br>
USED CPU (ALLOCATED) : 0<br>
RUNNING VMS : 0<br>
<br>
MONITORING INFORMATION<br>
ARCH="x86_64"<br>
CPUSPEED="1596"<br>
FREECPU="1600.0"<br>
FREEMEMORY="49308672"<br>
HOSTNAME="kvm-4"<br>
HYPERVISOR="kvm"<br>
NETRX="0"<br>
NETTX="468"<br>
TOTALCPU="1600"<br>
TOTALMEMORY="49559748"<br>
USEDCPU="0.0"<br>
USEDMEMORY="251076"<br>
</font><br>
The KVM VM Template states:<br>
<br>
<font face="Courier New, Courier, monospace">REQUIREMENTS="HYPERVISOR=\"kvm\""</font><br>
<br>
If we deploy the KVM VM, the scheduler log output is as follows:<br>
<br>
<font face="Courier New, Courier, monospace">Mon Feb 18 22:55:44
2013 [SCHED][D]: Host 1 filtered out. It does not fullfil
REQUIREMENTS.<br>
Mon Feb 18 22:55:44 2013 [SCHED][D]: Host 2 filtered out. It
does not fullfil REQUIREMENTS.<br>
Mon Feb 18 22:55:44 2013 [SCHED][D]: Host 7 filtered out. It
does not fullfil REQUIREMENTS.<br>
Mon Feb 18 22:55:44 2013 [SCHED][I]: Selected hosts:<br>
PRI HID VM: 57<br>
-----------------------</font><br>
<br>
We have tried to use NAME directive too, using:<br>
<font face="Courier New, Courier, monospace"><br>
REQUIREMENTS="NAME=\"kvm-4\""</font><br>
<br>
and it does not fullfil requirements either. We have created the
host using Sunstone and onehost command line tool we same
results.<br>
<br>
What am I doing wrong?<br>
<br>
Thank you very much in advance,<br>
Alberto Picón<br>
</font></font>
</body>
</html>