[Openstack] Why doesn't suspend release vCPUs/memory?

John Griffith john.griffith at solidfire.com
Mon Jun 23 16:54:00 UTC 2014


On Mon, Jun 23, 2014 at 10:49 AM, Ricky Saltzer <ricky at cloudera.com> wrote:

> Right, the quotas don't seem to be released. If I have 210/210 vCPUs used,
> and I suspend an instance with 4 vCPUs, I still have 210/210 vCPUs used.
>
>
> On Mon, Jun 23, 2014 at 11:38 AM, John Griffith <
> john.griffith at solidfire.com> wrote:
>
>>
>> On Mon, Jun 23, 2014 at 7:45 AM, Ricky Saltzer <ricky at cloudera.com>
>> wrote:
>>
>>>
>>> https://ask.openstack.org/en/question/32826/why-doesnt-suspend-release-vcpusmemory/
>>
>>
>> ​My understanding was always that the instance is no longer consuming any
>> resources via the virt layer, so in essence the resources are in fact freed
>> up on the Compute Node.  Quotas and such however aren't modified (which
>> seems correct to me).  Are you saying you want to see quota's adjusted
>> here? ​
>>
>>
>
>
> --
> Ricky Saltzer
> http://www.cloudera.com
>
>  ​Yeah, I think that makes sense and is expected, as a user you're still
consuming those "items" even if they're not active.  The alternative would
be (which I think is what you're getting at) to actually deduct items that
are suspended from the tenants quota count.  I guess when I think of it
though those resources are still "reserved" even if they're not in use.  I
suppose you could do this and then if on resume the quota isn't there we
don't actually resume... but I think this could be argued either way.

Maybe seperate quotas for active vs suspended?  ​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140623/cc9c3756/attachment.html>


More information about the Openstack mailing list