git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Openstack] [nova] Log files on exceeding cpu allocation limit


On 08/07/2018 10:57 AM, Cody wrote:
> Hi everyone,
> 
> I intentionally triggered an error by launching more instances than it 
> is allowed by the 'cpu_allocation_ratio' set on a compute node. When it 
> comes to logs, the only place contained a clue to explain the launch 
> failure was in the nova-conductor.log on a controller node. Why there is 
> no trace in the nova-scheduler.log (or any other logs) for this type or 
> errors?

Because it's not an error.

You exceeded the capacity of your resources, that's all.

Are you asking why there isn't a way to *check* to see whether a 
particular request to launch a VM (or multiple VMs) will exceed the 
capacity of your deployment?

Best,
-jay