osdir.com


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

[placement][ptg] Allocation Partitioning


On 4/16/2019 4:03 PM, melanie witt wrote:
> Consumer types would enable us to count instances from placement, I believe.

I don't see how. The GET /usages API doesn't return anything until there 
are allocations, and there aren't allocations until the scheduler picks 
a host and creates the allocations, and that might fail resulting in 
NoValidHost and a server in ERROR status but that doesn't mean there 
aren't any instances. Changing that would be a break in behavior for 
counting instances.

-- 

Thanks,

Matt