<div dir="ltr">OK.<div><br></div><div>The problem is that SCHED_REQUIREMENTS is for the arguments in the DS Template, if you want to keep the requirements, simply add and other attribute (NAME = RBD), just like as CEPH_SECRET, CEPH_HOST or BRIDGE_LIST</div>
<div><br></div><div>Cheers</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Nov 23, 2013 at 5:48 PM, Ирек Фасихов <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>[oneadmin@cloud ~]$ onetemplate show 5</div><div>TEMPLATE 5 INFORMATION </div>
<div>ID : 5 </div><div>NAME : Test </div>
<div>USER : oneadmin </div><div>GROUP : oneadmin </div><div>REGISTER TIME : 11/23 20:06:10 </div><div><br></div><div>PERMISSIONS </div>
<div>OWNER : um- </div><div>GROUP : --- </div><div>OTHER : --- </div><div><br></div><div>TEMPLATE CONTENTS </div>
<div>CLUSTER_100="100"</div><div>CPU="8"</div><div>DISK=[</div><div> CACHE="none",</div><div> DEV_PREFIX="vd",</div><div> IMAGE="Test",</div><div> IMAGE_UNAME="oneadmin" ]</div>
<div>GRAPHICS=[</div><div> LISTEN="0.0.0.0",</div><div> TYPE="SPICE" ]</div><div>MEMORY="81920"</div><div>SCHED_DS_RANK="FREE_MB"</div><div>SCHED_DS_REQUIREMENTS="NAME=RBD"</div>
<div>SCHED_RANK="FREECPU"</div><div>SCHED_REQUIREMENTS="CLUSTER_ID=\"100\""</div><div>VCPU="8"</div><div><br></div></div><div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">2013/11/23 Ирек Фасихов <span dir="ltr"><<a href="mailto:malmyzh@gmail.com" target="_blank">malmyzh@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thank you, Ruben<div><br></div><div><div><b> 1.onedatastore show 101 -x</b></div></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<div><div><DATASTORE></div></div><div><div> <ID>101</ID></div>
</div><div><div> <UID>0</UID></div></div><div><div> <GID>0</GID></div></div><div><div> <UNAME>oneadmin</UNAME></div></div><div><div> <GNAME>oneadmin</GNAME></div></div>
<div>
<div> <NAME>RBD</NAME></div></div><div><div> <PERMISSIONS></div></div><div><div> <OWNER_U>1</OWNER_U></div></div><div><div> <OWNER_M>1</OWNER_M></div></div><div><div> <OWNER_A>0</OWNER_A></div>
</div><div><div> <GROUP_U>1</GROUP_U></div></div><div><div> <GROUP_M>0</GROUP_M></div></div><div><div> <GROUP_A>0</GROUP_A></div></div><div><div> <OTHER_U>0</OTHER_U></div>
</div><div><div> <OTHER_M>0</OTHER_M></div></div><div><div> <OTHER_A>0</OTHER_A></div></div><div><div> </PERMISSIONS></div></div><div><div> <DS_MAD>ceph</DS_MAD></div></div>
<div><div> <TM_MAD>ceph</TM_MAD></div></div><div><div> <BASE_PATH>/var/lib/one//datastores/101</BASE_PATH></div></div><div><div> <TYPE>0</TYPE></div></div><div><div> <DISK_TYPE>3</DISK_TYPE></div>
</div><div><div> <CLUSTER_ID>100</CLUSTER_ID></div></div><div><div> <CLUSTER>XXXXX</CLUSTER></div></div><div><div> <TOTAL_MB>5714957</TOTAL_MB></div></div><div><div> <FREE_MB>5392077</FREE_MB></div>
</div><div><div> <USED_MB>322880</USED_MB></div></div><div><div> <IMAGES></div></div><div><div> <ID>3</ID></div></div><div><div> </IMAGES></div></div><div><div> <TEMPLATE></div>
</div><div><div> <BRIDGE_LIST><![CDATA[cloud]]></BRIDGE_LIST></div></div><div><div> <CEPH_HOST><![CDATA[kvm01 kvm02]]></CEPH_HOST></div></div><div><div> <CEPH_SECRET><![CDATA[6785fba7-266d-45da-b2a8-1035d287af35]]></CEPH_SECRET></div>
</div><div><div> <CLONE_TARGET><![CDATA[SELF]]></CLONE_TARGET></div></div><div><div> <DISK_TYPE><![CDATA[RBD]]></DISK_TYPE></div></div><div><div> <DS_MAD><![CDATA[ceph]]></DS_MAD></div>
</div><div><div> <LN_TARGET><![CDATA[NONE]]></LN_TARGET></div></div><div><div> <TM_MAD><![CDATA[ceph]]></TM_MAD></div></div><div><div> <TYPE><![CDATA[IMAGE_DS]]></TYPE></div>
</div><div><div> </TEMPLATE></div></div><div><div></DATASTORE></div></div></blockquote><div><div><br></div></div><div><br></div><div><b><a href="http://2.cat" target="_blank">2.cat</a> /var/log/one/oned.log</b></div>
<blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<div><div>Sat Nov 23 20:40:11 2013 [ReM][D]: Req:8544 UID:0 ClusterPoolInfo invoked</div></div><div><div>Sat Nov 23 20:40:11 2013 [ReM][D]: Req:8544 UID:0 ClusterPoolInfo result SUCCESS, "<CLUSTER_POOL><CLUST..."</div>
</div><div><div>Sat Nov 23 20:40:11 2013 [ReM][D]: Req:8400 UID:0 AclInfo invoked</div></div><div><div>Sat Nov 23 20:40:11 2013 [ReM][D]: Req:8400 UID:0 AclInfo result SUCCESS, "<ACL_POOL><ACL><ID>0..."</div>
</div><div><div>Sat Nov 23 20:40:11 2013 [ReM][D]: Req:1888 UID:0 VirtualMachineUpdateTemplate invoked, 19, "<TEMPLATE><CLUSTER_1..."</div></div><div><div>Sat Nov 23 20:40:11 2013 [ReM][D]: Req:1888 UID:0 VirtualMachineUpdateTemplate result SUCCESS, 19</div>
</div></blockquote><div><br></div><div><b>3. cat /var/log/one/sched.log</b></div><div><br></div><div><div>Sat Nov 23 20:42:41 2013 [VM][D]: Pending/rescheduling VM and capacity requirements:</div><div> VM CPU Memory System DS Image DS</div>
<div>------------------------------------------------------------</div><div> 19 800 83886080 0 DS 101: 5000 </div><div>Sat Nov 23 20:42:41 2013 [HOST][D]: Discovered Hosts (enabled):</div><div> 0 1</div>
<div>Sat Nov 23 20:42:41 2013 [SCHED][D]: VM 19: Datastore 0 filtered out. It does not fulfill SCHED_DS_REQUIREMENTS.</div><div>Sat Nov 23 20:42:41 2013 [SCHED][I]: Scheduling Results:</div></div><div><br></div><div><br>
</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/11/23 Ruben S. Montero <span dir="ltr"><<a href="mailto:rsmontero@opennebula.org" target="_blank">rsmontero@opennebula.org</a>></span><div><div>
<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi,<div><br></div><div>Can you send more information? For example</div><div><br></div><div>1.- Output of onedatastore show -x of the ceph datastore (Is it being monitored?)</div><div>2.- Are there any errors in oned.log about monitoring the ceph datastore?</div>
<div>3.- What are the messages in sched.log about the VM being in pending state?</div><div><br></div><div>Cheers</div><div><br></div><div>Ruben</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>
On Sat, Nov 23, 2013 at 1:27 PM, Ирек Фасихов <span dir="ltr"><<a href="mailto:malmyzh@gmail.com" target="_blank">malmyzh@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi All.<div><br></div><div>Opennebula 4.4 RC</div><div><br></div><div>
<div>I use RBD datastorage, but when creating the VM get the status of "Pending"</div>
<div>How to solve this feature? Or disable DEFAULT_DS_SCHED?</div>
<div><br></div><div>Thanks.</div><span><font color="#888888"><div><div><br></div>-- <br><div dir="ltr">С уважением, Фасихов Ирек Нургаязович<div>Моб.: <a href="tel:%2B79229045757" value="+79229045757" target="_blank">+79229045757</a></div>
</div>
</div></font></span></div></div>
<br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">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><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div><div>-- <br></div></div>Ruben S. Montero, PhD<br>Project co-Lead and Chief Architect<div>OpenNebula - Flexible Enterprise Cloud Made Simple<br>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:rsmontero@opennebula.org" target="_blank">rsmontero@opennebula.org</a> | @OpenNebula</div></div>
</font></span></div>
</blockquote></div></div></div><div><div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">С уважением, Фасихов Ирек Нургаязович<div>Моб.: <a href="tel:%2B79229045757" value="+79229045757" target="_blank">+79229045757</a></div>
</div>
</div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">С уважением, Фасихов Ирек Нургаязович<div>Моб.: <a href="tel:%2B79229045757" value="+79229045757" target="_blank">+79229045757</a></div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div><div>-- <br></div></div>Ruben S. Montero, PhD<br>Project co-Lead and Chief Architect<div>OpenNebula - Flexible Enterprise Cloud Made Simple<br>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:rsmontero@opennebula.org" target="_blank">rsmontero@opennebula.org</a> | @OpenNebula</div></div>
</div></div>