Admins and advanced users can see the scheduler error messages in sunstone, 
under the placement VM tab.
That's what I meant when I said "there are no logs".

On the other hand, I didn't know about /var/log/one/sched.log. Here is what I found there:


Mon Oct 27 14:15:52 2014 [Z0][VM][D]: Pending/rescheduling VM and capacity requirements:
      VM  CPU      Memory   System DS  Image DS
------------------------------------------------------------
     110  400     2097152       10240  DS 1: 0
Mon Oct 27 14:15:52 2014 [Z0][HOST][D]: Discovered Hosts (enabled):
 0
Mon Oct 27 14:15:52 2014 [Z0][SCHED][D]: VM 110: Host 0 filtered out. Not enough capacity.
Mon Oct 27 14:15:52 2014 [Z0][SCHED][I]: Scheduling Results:

and it keeps repeating.

Pavel Tankov

On 10/24/2014 07:21 PM, Carlos Martín Sánchez wrote:
Hi Pavel,

On Fri, Oct 24, 2014 at 3:49 PM, Pavel Tankov
<[email protected]
<mailto:[email protected]>> wrote:

    Hello,

    CentOS6.5 -> KVM -> Opennebula 4.8

    My users log in to the cloud view. I have prepared templates for
    them. They can instantiate VMs with the default capacity, but if
    they decide to choose anything other than the default, e.g. Change
    Capacity --> small-x2 or medium-x2 or whatever, the VM never boots
    up, it stays in "PENDING" and there are no logs.

    What could be the problem? Is it some quota that exists by default
    for regular users? I have not set up restrictions deliberately.

    Thanks,
    Pavel Tankov


The problem is not the quota, because in that case the users would not
be able to even create the VM.

When a VM stays in pending, it's because the scheduler can't find where
to deploy it. Admins and advanced users can see the scheduler error
messages in sunstone, under the placement VM tab. This information is
not available to cloud users, since they are not supposed to know about
the underlying infrastructure.

You will find more detailed information in /var/log/one/sched.log. If
the reason is not clear in there, paste the output and we'll try to
help deciphering it.

Regards.
--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org <http://www.opennebula.org/> | [email protected]
<mailto:[email protected]> | @OpenNebula
<http://twitter.com/opennebula><mailto:[email protected]>



_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to