Hi,<div><br></div><div>Do you still have this problem? I have just done a quick test in opennebula 3.8.3 and works fine for me... Could you paste the complete VM template?</div><div><br></div><div>Regards<br clear="all"><div>
--<br>Carlos Martín, MSc<br>Project Engineer<br>OpenNebula - The Open-source Solution for Data Center Virtualization<div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>
</div>
<br><br><div class="gmail_quote">On Mon, Feb 18, 2013 at 11:17 PM, Alberto Picón Couselo <span dir="ltr"><<a href="mailto:alpicon1@gmail.com" target="_blank">alpicon1@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div 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>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br></div>