I am Brazilian and I apologize if I write something wrong.
I need a help to implement OpenNebula with academic objective (master).
I have a virtual machine (4GB RAM, 100 GB HD) as frontend using Centos7 and have two physical hosts (8GB RAM, 500GB HD) using Centos7 well.
I’m using version 4.8 OpenNebula.
Managed to create network, cluster, datastore, insert images and create templates …
I’m having problems when creating virtual machines, the status is forever “pending” and can not get more information in the logs. I’ve tried to create other datastores, use other images and the problem continues.
the reason for the VM not being deployed can be found in /var/log/one/sched.log
This is where opennebula logs what happens when deploying a VM and deciding where it will deploy it. If you need more help, please post the log of a VM and the relevant part of the log from sched.log, so we can take a look at what happens.
In general, speaking with my experience with OpenNebula, a VM is in PENDING state when it is waiting for a resource to be available. It could be datastore, hypervisor host, CPU, MEMORY, etc.
So lets clear out issues one by one.
Please provide some more info about your setup - OpenNebula’s version, setup, configuration, resources, etc.
i am also having the same problem
vm is in pending state since a long time
here are my logs
Mon Jun 20 13:55:10 2016 [Z0][SCHED][I]: Dispatching VMs to hosts. Total time: 3.1571e-05s
Mon Jun 20 13:55:40 2016 [Z0][SCHED][I]: Getting scheduled actions information. Total time: 0.00312423s
Mon Jun 20 13:55:40 2016 [Z0][VM][D]: Found 1 pending/rescheduling VMs.
Mon Jun 20 13:55:40 2016 [Z0][HOST][D]: Discovered 2 enabled hosts.
Mon Jun 20 13:55:40 2016 [Z0][SCHED][I]: Getting VM and Host information. Total time: 0.00549406s
Mon Jun 20 13:55:40 2016 [Z0][SCHED][D]: Match-making results for VM 44:
Cannot schedule VM, there is no suitable host.
Mon Jun 20 13:55:40 2016 [Z0][SCHED][D]: Match Making statistics:
Number of VMs: 1
Total time: 0s
Total Match time: 2.29699e-06s
Total Ranking Time: 0s
Mon Jun 20 13:55:40 2016 [Z0][SCHED][D]: Dispatching VMs to hosts:
VMID Host System DS
-------------------------
Mon Jun 20 13:55:40 2016 [Z0][SCHED][I]: Dispatching VMs to hosts. Total time: 3.146e-05s
i have also the same problem i install opennebula 5.2 on ubuntu server 16.04
sched.log
Wed May 24 01:43:44 2017 [Z0][VM][D] : Found 4 pending/rescheduling VMs.
Wed May 24 01:43:44 2017 [Z0][HOST][D] : Discovered 1 enabled hosts.
Wed May 24 01:43:44 2017 [Z0][SCHED][D] : Match-making results for VM 13: Cannot schedule VM, there is no suitable host.
please help me