<div dir="ltr">Hi,<div><br></div><div>The automatic requirements now includes always the !(PUBLIC_CLOUD=YES) condition to support hybrid templates [1].</div><div>In an environment without hybrid hosts, it should not have any effect.</div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">From the output you provide, I see a couple of problems:</span></div><div><span style="font-family:arial,sans-serif;font-size:13px">- The DS RBD is not a system DS, its type is IMAGE. The scheduler selects a system DS to run the VMs, and the SCHED_DS_REQUIREMENTS attribute refers only to system DS.</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px">- Your DS template has PUBLIC_CLOUD=YES. Even if it was a system DS, the scheduler would filter it because of it.</span></div><div><br></div><div>Ceph DS can only hold images, you can't create an RBD system DS. You need a system DS [2] in the same cluster 100 to be able to deploy images.</div>
<div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">Regards</span></div><div><br></div><div>[1] <a href="http://dev.opennebula.org/issues/2092">http://dev.opennebula.org/issues/2092</a><br></div>
<div>[2] <a href="http://opennebula.org/documentation:rel4.4:ceph_ds#configuring_the_system_datastore">http://opennebula.org/documentation:rel4.4:ceph_ds#configuring_the_system_datastore</a><br></div></div><div class="gmail_extra">
<br clear="all"><div><div dir="ltr">--<br><div>Carlos Martín, MSc<br>Project Engineer</div><div>OpenNebula - Flexible Enterprise Cloud Made Simple<br><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></div></div>
<br><br><div class="gmail_quote">On Sun, Nov 24, 2013 at 7:55 AM, Ирек Фасихов <span dir="ltr"><<a href="mailto:malmyzh@gmail.com" target="_blank">malmyzh@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 dir="ltr"><div>I use Hypervisor KVM, but when I run VM status of "Pending".</div><div>In parameter VM automatically generated AUTOMATIC_REQUIREMENTS = CLUSTER_ID = 100 <b>&! (PUBLIC_CLOUD = YES). </b></div>
<div>Is this true?</div><div><br></div><div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div><b>[oneadmin@cloud ~]$ onedatastore show 105</b></div></div><div><div>DATASTORE 105 INFORMATION </div>
</div><div><div>ID : 105 </div></div><div><div>NAME : RBD </div></div><div><div>USER : oneadmin </div></div><div><div>GROUP : oneadmin </div>
</div><div><div>CLUSTER : XXXXXXX</div></div><div><div>TYPE : IMAGE </div></div><div><div>DS_MAD : ceph </div></div><div><div>TM_MAD : ceph </div>
</div><div><div>BASE PATH : /var/lib/one//datastores/105</div></div><div><div>DISK_TYPE : RBD </div></div><div><div><br></div></div><div><div>DATASTORE CAPACITY </div>
</div><div><div>TOTAL: : 5.5T </div></div><div><div>USED: : 315.3G </div></div><div><div>FREE: : 5.1T </div></div><div><div><br></div></div><div><div>PERMISSIONS </div>
</div><div><div>OWNER : um- </div></div><div><div>GROUP : u-- </div></div><div><div>OTHER : u-- </div></div><div><div><br></div></div><div><div>DATASTORE TEMPLATE </div>
</div><div><div>BRIDGE_LIST="cloud"</div></div><div><div>CLONE_TARGET="SELF"</div></div><div><div>DATASTORE_CAPACITY_CHECK="YES"</div></div><div><div>DISK_TYPE="RBD"</div></div><div>
<div>DS_MAD="ceph"</div></div><div><div>LN_TARGET="NONE"</div></div><div><div>NAME="RBD"</div></div><div><div>PUBLIC_CLOUD="YES"</div></div><div><div>TM_MAD="ceph"</div></div>
<div><div>TYPE="IMAGE_DS"</div></div><div><div><br></div></div><div><div>IMAGES </div></div><div><div>11 </div></div></blockquote><div><br></div><div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<div><div><b>[oneadmin@cloud ~]$ onetemplate show 13</b></div></div><div><div>TEMPLATE 13 INFORMATION </div></div><div><div>ID : 13 </div>
</div><div><div>NAME : Temp </div></div><div><div>USER : oneadmin </div></div><div><div>GROUP : oneadmin </div></div><div><div>REGISTER TIME : 11/24 00:10:43 </div>
</div><div><div><br></div></div><div><div>PERMISSIONS </div></div><div><div>OWNER : um- </div></div><div><div>GROUP : --- </div>
</div><div><div>OTHER : --- </div></div><div><div><br></div></div><div><div>TEMPLATE CONTENTS </div></div><div><div>CLUSTER_100="100"</div>
</div><div><div>CPU="8"</div></div><div><div>DISK=[</div></div><div><div> DEV_PREFIX="vd",</div></div><div><div> IMAGE="Test2",</div></div><div><div> IMAGE_UNAME="oneadmin" ]</div>
</div><div><div>GRAPHICS=[</div></div><div><div> LISTEN="0.0.0.0",</div></div><div><div> TYPE="VNC" ]</div></div><div><div>MEMORY="4096"</div></div><div><div>OS=[</div></div><div><div> ARCH="x86_64",</div>
</div><div><div> BOOT="cdrom" ]</div></div><div><div>SCHED_DS_RANK="FREE_MB"</div></div><div><div>SCHED_DS_REQUIREMENTS="NAME=RBD"</div></div><div><div>SCHED_RANK="FREECPU"</div></div>
<div><div>SCHED_REQUIREMENTS="CLUSTER_ID=\"100\""</div></div><div><div>VCPU="8"</div></div><div><br></div><div><br></div><div><div>[oneadmin@cloud ~]$ onevm show 80</div><div>VIRTUAL MACHINE 80 INFORMATION </div>
<div>ID : 80 </div><div>NAME : Temp-80 </div><div>USER : oneadmin </div><div>GROUP : oneadmin </div><div>STATE : PENDING </div>
<div>LCM_STATE : LCM_INIT </div><div>RESCHED : No </div><div>START TIME : 11/24 10:39:20 </div><div>END TIME : - </div><div>DEPLOY ID : - </div>
<div><br></div><div>VIRTUAL MACHINE MONITORING </div><div>NET_RX : 0K </div><div>USED CPU : 0 </div><div>NET_TX : 0K </div>
<div>USED MEMORY : 0K </div><div><br></div><div>PERMISSIONS </div><div>OWNER : um- </div><div>GROUP : --- </div>
<div>OTHER : --- </div><div><br></div><div>VM DISKS </div><div> ID TARGET IMAGE TYPE SAVE SAVE_AS</div>
<div> 0 vda Test2 rbd NO -</div><div><br></div><div>USER TEMPLATE </div><div>CLUSTER_100="100"</div><div>
SCHED_DS_RANK="FREE_MB"</div><div>SCHED_DS_REQUIREMENTS="NAME=RBD"</div><div><font color="#ff0000"><b>SCHED_MESSAGE="Sun Nov 24 10:52:07 2013 : No system datastore meets SCHED_DS_REQUIREMENTS: CLUSTER_ID = 100 & !(PUBLIC_CLOUD = YES) & ( NAME=RBD )"</b></font></div>
<div>SCHED_RANK="FREECPU"</div><div>SCHED_REQUIREMENTS="CLUSTER_ID=\"100\""</div><div><br></div><div>VIRTUAL MACHINE TEMPLATE </div><div>
<b><font color="#ff0000">AUTOMATIC_REQUIREMENTS="CLUSTER_ID = 100 & !(PUBLIC_CLOUD = YES)"</font></b></div><div>CPU="8"</div><div>GRAPHICS=[</div><div> LISTEN="0.0.0.0",</div><div> PORT="5980",</div>
<div> TYPE="VNC" ]</div><div>MEMORY="4096"</div><div>OS=[</div><div> ARCH="x86_64",</div><div> BOOT="cdrom" ]</div><div>TEMPLATE_ID="13"</div><div>VCPU="8"</div>
<div>VMID="80"</div></div><div><br></div></blockquote>Thanks.<span class="HOEnZb"><font color="#888888"><br><div><br></div>-- <br><div dir="ltr">С уважением, Фасихов Ирек Нургаязович<div>Моб.: <a href="tel:%2B79229045757" value="+79229045757" target="_blank">+79229045757</a></div>
</div>
</font></span></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>