I have 3 nodes with CephRBD + OpenNebula + Corosync + Pacemaker + Galera + crmsh.
Software: OpenNebula 4.14.2, CentOS 7.1
All works, but when I instantiate VM, a get an error and VM in PENDING status:
No system datastore meets capacity and SCHED_DS_REQUIREMENTS: CLUSTER_ID = 100 & !(PUBLIC_CLOUD = YES)
I found this report: CephRBD is for Images.
VM TEMPLATE
CONTEXT=[NETWORK="YES",SSH_PUBLIC_KEY="$USER[SSH_PUBLIC_KEY]"]
CPU="1"
DISK=[IMAGE="CentOS",IMAGE_UNAME="oneadmin",READONLY="yes"]
DISK=[IMAGE="VM_Image",IMAGE_UNAME="oneadmin"]
FEATURES=[ACPI="yes"]
GRAPHICS=[LISTEN="0.0.0.0",TYPE="VNC"]
HYPERVISOR="kvm"
LOGO="images/logos/centos.png"
MEMORY="512"
NIC=[NETWORK="Management",NETWORK_UNAME="oneadmin"]
OS=[BOOT="cdrom"]
SCHED_REQUIREMENTS="CLUSTER_ID=\"100\""
I have another single host without clustering, and there are no this problems. OpenNebula 4.12.2
Where do I have a mistake?