[one-users] Ceph RBD and SCHED_DS_REQUIREMENTS

Ирек Фасихов malmyzh at gmail.com
Sat Nov 23 08:48:30 PST 2013


[oneadmin at cloud ~]$ onetemplate show 5
TEMPLATE 5 INFORMATION

ID             : 5
NAME           : Test
USER           : oneadmin
GROUP          : oneadmin
REGISTER TIME  : 11/23 20:06:10

PERMISSIONS

OWNER          : um-
GROUP          : ---
OTHER          : ---

TEMPLATE CONTENTS

CLUSTER_100="100"
CPU="8"
DISK=[
  CACHE="none",
  DEV_PREFIX="vd",
  IMAGE="Test",
  IMAGE_UNAME="oneadmin" ]
GRAPHICS=[
  LISTEN="0.0.0.0",
  TYPE="SPICE" ]
MEMORY="81920"
SCHED_DS_RANK="FREE_MB"
SCHED_DS_REQUIREMENTS="NAME=RBD"
SCHED_RANK="FREECPU"
SCHED_REQUIREMENTS="CLUSTER_ID=\"100\""
VCPU="8"



2013/11/23 Ирек Фасихов <malmyzh at gmail.com>

> Thank you, Ruben
>
> * 1.onedatastore show 101 -x*
>
> <DATASTORE>
>   <ID>101</ID>
>   <UID>0</UID>
>   <GID>0</GID>
>   <UNAME>oneadmin</UNAME>
>   <GNAME>oneadmin</GNAME>
>   <NAME>RBD</NAME>
>   <PERMISSIONS>
>     <OWNER_U>1</OWNER_U>
>     <OWNER_M>1</OWNER_M>
>     <OWNER_A>0</OWNER_A>
>     <GROUP_U>1</GROUP_U>
>     <GROUP_M>0</GROUP_M>
>     <GROUP_A>0</GROUP_A>
>     <OTHER_U>0</OTHER_U>
>     <OTHER_M>0</OTHER_M>
>     <OTHER_A>0</OTHER_A>
>   </PERMISSIONS>
>   <DS_MAD>ceph</DS_MAD>
>   <TM_MAD>ceph</TM_MAD>
>   <BASE_PATH>/var/lib/one//datastores/101</BASE_PATH>
>   <TYPE>0</TYPE>
>   <DISK_TYPE>3</DISK_TYPE>
>   <CLUSTER_ID>100</CLUSTER_ID>
>   <CLUSTER>XXXXX</CLUSTER>
>   <TOTAL_MB>5714957</TOTAL_MB>
>   <FREE_MB>5392077</FREE_MB>
>   <USED_MB>322880</USED_MB>
>   <IMAGES>
>     <ID>3</ID>
>   </IMAGES>
>   <TEMPLATE>
>     <BRIDGE_LIST><![CDATA[cloud]]></BRIDGE_LIST>
>     <CEPH_HOST><![CDATA[kvm01 kvm02]]></CEPH_HOST>
>
> <CEPH_SECRET><![CDATA[6785fba7-266d-45da-b2a8-1035d287af35]]></CEPH_SECRET>
>     <CLONE_TARGET><![CDATA[SELF]]></CLONE_TARGET>
>     <DISK_TYPE><![CDATA[RBD]]></DISK_TYPE>
>     <DS_MAD><![CDATA[ceph]]></DS_MAD>
>     <LN_TARGET><![CDATA[NONE]]></LN_TARGET>
>     <TM_MAD><![CDATA[ceph]]></TM_MAD>
>     <TYPE><![CDATA[IMAGE_DS]]></TYPE>
>   </TEMPLATE>
> </DATASTORE>
>
>
>
> *2.cat <http://2.cat> /var/log/one/oned.log*
>
> Sat Nov 23 20:40:11 2013 [ReM][D]: Req:8544 UID:0 ClusterPoolInfo invoked
> Sat Nov 23 20:40:11 2013 [ReM][D]: Req:8544 UID:0 ClusterPoolInfo result
> SUCCESS, "<CLUSTER_POOL><CLUST..."
> Sat Nov 23 20:40:11 2013 [ReM][D]: Req:8400 UID:0 AclInfo invoked
> Sat Nov 23 20:40:11 2013 [ReM][D]: Req:8400 UID:0 AclInfo result SUCCESS,
> "<ACL_POOL><ACL><ID>0..."
> Sat Nov 23 20:40:11 2013 [ReM][D]: Req:1888 UID:0
> VirtualMachineUpdateTemplate invoked, 19, "<TEMPLATE><CLUSTER_1..."
> Sat Nov 23 20:40:11 2013 [ReM][D]: Req:1888 UID:0
> VirtualMachineUpdateTemplate result SUCCESS, 19
>
>
> *3. cat /var/log/one/sched.log*
>
> Sat Nov 23 20:42:41 2013 [VM][D]: Pending/rescheduling VM and capacity
> requirements:
>       VM  CPU      Memory   System DS  Image DS
> ------------------------------------------------------------
>       19  800    83886080           0  DS 101: 5000
> Sat Nov 23 20:42:41 2013 [HOST][D]: Discovered Hosts (enabled):
>  0 1
> Sat Nov 23 20:42:41 2013 [SCHED][D]: VM 19: Datastore 0 filtered out. It
> does not fulfill SCHED_DS_REQUIREMENTS.
> Sat Nov 23 20:42:41 2013 [SCHED][I]: Scheduling Results:
>
>
>
>
> 2013/11/23 Ruben S. Montero <rsmontero at opennebula.org>
>
> Hi,
>>
>> Can you send more information? For example
>>
>> 1.- Output of onedatastore show -x of the ceph datastore (Is it being
>> monitored?)
>> 2.- Are there any errors in oned.log about monitoring the ceph datastore?
>> 3.- What are the messages in sched.log about the VM being in pending
>> state?
>>
>> Cheers
>>
>> Ruben
>>
>>
>> On Sat, Nov 23, 2013 at 1:27 PM, Ирек Фасихов <malmyzh at gmail.com> wrote:
>>
>>> Hi All.
>>>
>>> Opennebula 4.4 RC
>>>
>>> I use RBD datastorage, but when creating the VM get the status of
>>> "Pending"
>>> How to solve this feature? Or disable DEFAULT_DS_SCHED?
>>>
>>> Thanks.
>>>
>>> --
>>> С уважением, Фасихов Ирек Нургаязович
>>> Моб.: +79229045757
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>>
>>
>>
>> --
>> --
>> Ruben S. Montero, PhD
>> Project co-Lead and Chief Architect
>> OpenNebula - Flexible Enterprise Cloud Made Simple
>> www.OpenNebula.org | rsmontero at opennebula.org | @OpenNebula
>>
>
>
>
> --
> С уважением, Фасихов Ирек Нургаязович
> Моб.: +79229045757
>



-- 
С уважением, Фасихов Ирек Нургаязович
Моб.: +79229045757
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131123/aec93e3c/attachment-0002.htm>


More information about the Users mailing list