[one-users] Opennebula RC1 and PUBLIC_CLOUD
Carlos Martín Sánchez
cmartin at opennebula.org
Mon Nov 25 04:13:55 PST 2013
Hi,
The automatic requirements now includes always the !(PUBLIC_CLOUD=YES)
condition to support hybrid templates [1].
In an environment without hybrid hosts, it should not have any effect.
>From the output you provide, I see a couple of problems:
- 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.
- Your DS template has PUBLIC_CLOUD=YES. Even if it was a system DS, the
scheduler would filter it because of it.
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.
Regards
[1] http://dev.opennebula.org/issues/2092
[2]
http://opennebula.org/documentation:rel4.4:ceph_ds#configuring_the_system_datastore
--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | cmartin at opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>
On Sun, Nov 24, 2013 at 7:55 AM, Ирек Фасихов <malmyzh at gmail.com> wrote:
> I use Hypervisor KVM, but when I run VM status of "Pending".
> In parameter VM automatically generated AUTOMATIC_REQUIREMENTS =
> CLUSTER_ID = 100 *&! (PUBLIC_CLOUD = YES). *
> Is this true?
>
>
> *[oneadmin at cloud ~]$ onedatastore show 105*
> DATASTORE 105 INFORMATION
>
> ID : 105
> NAME : RBD
> USER : oneadmin
> GROUP : oneadmin
> CLUSTER : XXXXXXX
> TYPE : IMAGE
> DS_MAD : ceph
> TM_MAD : ceph
> BASE PATH : /var/lib/one//datastores/105
> DISK_TYPE : RBD
>
> DATASTORE CAPACITY
>
> TOTAL: : 5.5T
> USED: : 315.3G
> FREE: : 5.1T
>
> PERMISSIONS
>
> OWNER : um-
> GROUP : u--
> OTHER : u--
>
> DATASTORE TEMPLATE
>
> BRIDGE_LIST="cloud"
> CLONE_TARGET="SELF"
> DATASTORE_CAPACITY_CHECK="YES"
> DISK_TYPE="RBD"
> DS_MAD="ceph"
> LN_TARGET="NONE"
> NAME="RBD"
> PUBLIC_CLOUD="YES"
> TM_MAD="ceph"
> TYPE="IMAGE_DS"
>
> IMAGES
> 11
>
>
>
> *[oneadmin at cloud ~]$ onetemplate show 13*
> TEMPLATE 13 INFORMATION
>
> ID : 13
> NAME : Temp
> USER : oneadmin
> GROUP : oneadmin
> REGISTER TIME : 11/24 00:10:43
>
> PERMISSIONS
>
> OWNER : um-
> GROUP : ---
> OTHER : ---
>
> TEMPLATE CONTENTS
>
> CLUSTER_100="100"
> CPU="8"
> DISK=[
> DEV_PREFIX="vd",
> IMAGE="Test2",
> IMAGE_UNAME="oneadmin" ]
> GRAPHICS=[
> LISTEN="0.0.0.0",
> TYPE="VNC" ]
> MEMORY="4096"
> OS=[
> ARCH="x86_64",
> BOOT="cdrom" ]
> SCHED_DS_RANK="FREE_MB"
> SCHED_DS_REQUIREMENTS="NAME=RBD"
> SCHED_RANK="FREECPU"
> SCHED_REQUIREMENTS="CLUSTER_ID=\"100\""
> VCPU="8"
>
>
> [oneadmin at cloud ~]$ onevm show 80
> VIRTUAL MACHINE 80 INFORMATION
>
> ID : 80
> NAME : Temp-80
> USER : oneadmin
> GROUP : oneadmin
> STATE : PENDING
> LCM_STATE : LCM_INIT
> RESCHED : No
> START TIME : 11/24 10:39:20
> END TIME : -
> DEPLOY ID : -
>
> VIRTUAL MACHINE MONITORING
>
> NET_RX : 0K
> USED CPU : 0
> NET_TX : 0K
> USED MEMORY : 0K
>
> PERMISSIONS
>
> OWNER : um-
> GROUP : ---
> OTHER : ---
>
> VM DISKS
>
> ID TARGET IMAGE TYPE SAVE SAVE_AS
> 0 vda Test2 rbd NO -
>
> USER TEMPLATE
>
> CLUSTER_100="100"
> SCHED_DS_RANK="FREE_MB"
> SCHED_DS_REQUIREMENTS="NAME=RBD"
> *SCHED_MESSAGE="Sun Nov 24 10:52:07 2013 : No system datastore meets
> SCHED_DS_REQUIREMENTS: CLUSTER_ID = 100 & !(PUBLIC_CLOUD = YES) & (
> NAME=RBD )"*
> SCHED_RANK="FREECPU"
> SCHED_REQUIREMENTS="CLUSTER_ID=\"100\""
>
> VIRTUAL MACHINE TEMPLATE
>
> *AUTOMATIC_REQUIREMENTS="CLUSTER_ID = 100 & !(PUBLIC_CLOUD = YES)"*
> CPU="8"
> GRAPHICS=[
> LISTEN="0.0.0.0",
> PORT="5980",
> TYPE="VNC" ]
> MEMORY="4096"
> OS=[
> ARCH="x86_64",
> BOOT="cdrom" ]
> TEMPLATE_ID="13"
> VCPU="8"
> VMID="80"
>
> Thanks.
>
> --
> С уважением, Фасихов Ирек Нургаязович
> Моб.: +79229045757
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131125/4f4281a8/attachment-0002.htm>
More information about the Users
mailing list