Hi all,
Thank you for looking at my request. I’m trying to understand why creating a VM from a Marketplace image is not working. My setup is I have a VMware cluster with VCenter 5.5 running. I have installed Opennebula 4.14 from source and I have imported templates, VMs, networks and such without a problem. I’m able to deploy VMs with templates imported from VCenter. I have created VMFS datastores for system and images. Downloading images to the images datastore works as expected. But when I try to create a VM from a template/image from the Marketplace I get the following message in sched.log
Fri Oct 2 23:32:35 2015 [Z0][VM][D]: Found 1 pending/rescheduling VMs.
Fri Oct 2 23:32:35 2015 [Z0][HOST][D]: Discovered 1 enabled hosts.
Fri Oct 2 23:32:35 2015 [Z0][SCHED][D]: Match-making results for VM 11:
Cannot schedule VM, there is no suitable host.
Fri Oct 2 23:32:35 2015 [Z0][SCHED][D]: Dispatching VMs to hosts:
VMID Host System DS
Am I missing something? Am I suppose to associate a cluster to the datastores in order for this to work? Below is what it shows when running onedatastore commands:
[oneadmin@opennebula414 one]$ onedatastore show 0
DATASTORE 0 INFORMATION
ID : 0
NAME : system
USER : oneadmin
GROUP : oneadmin
CLUSTER : -
TYPE : SYSTEM
DS_MAD : -
TM_MAD : vmfs
BASE PATH : /vmfs/volumes/0
DISK_TYPE : FILE
STATE : READY
DATASTORE CAPACITY
TOTAL: : 0M
FREE: : 0M
USED: : 0M
LIMIT: : -
PERMISSIONS
OWNER : um-
GROUP : u–
OTHER : —
DATASTORE TEMPLATE
BASE_PATH="/vmfs/volumes/"
SHARED="YES"
TM_MAD="vmfs"
TYPE=“SYSTEM_DS”
IMAGES
[oneadmin@opennebula414 one]$ onedatastore show 1
DATASTORE 1 INFORMATION
ID : 1
NAME : default
USER : oneadmin
GROUP : oneadmin
CLUSTER : -
TYPE : IMAGE
DS_MAD : vmfs
TM_MAD : vmfs
BASE PATH : /vmfs/volumes/1
DISK_TYPE : FILE
STATE : READY
DATASTORE CAPACITY
TOTAL: : 2T
FREE: : 2T
USED: : 884M
LIMIT: : -
PERMISSIONS
OWNER : um-
GROUP : u–
OTHER : —
DATASTORE TEMPLATE
BASE_PATH="/vmfs/volumes/"
BRIDGE_LIST="172.27.17.12 172.27.17.13 172.27.17.14 172.27.17.15"
CLONE_TARGET="SYSTEM"
DISK_TYPE="FILE"
DS_MAD="vmfs"
LN_TARGET="NONE"
TM_MAD="vmfs"
TYPE=“IMAGE_DS”
IMAGES
1
3
What is odd is that unlike the images datastore, the system datastore shows no stats, yet it is a 2TB VMFS volume. I also have plenty of resources available on the cluster.
I’m so close to getting this working, but can’t understand what I’m missing. If someone can point me in the right direction I would greatly appreciated.
Thanks,
Jesus