That seems to be the case, and I can see where you're coming from, but if the resources aren't released at the quota level, then they're effectively being used from a user's point of view. It would be nice if *suspend* released resources after the instance is shutdown, and a *resume* would reclaim the resources (provided enough are available). For instance, if I had 210/210 vCPUs used, and I suspend *instance_a* with 1 vCPU, and then launch *instance_b *with 1 vCPU...*instance_b *should successfully deploy, but resuming *instance_a* should fail with a quota exceeded exception.
On Mon, Jun 23, 2014 at 12:54 PM, John Griffith <john.griff...@solidfire.com > wrote: > > > > On Mon, Jun 23, 2014 at 10:49 AM, Ricky Saltzer <ri...@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.griff...@solidfire.com> wrote: >> >>> >>> On Mon, Jun 23, 2014 at 7:45 AM, Ricky Saltzer <ri...@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? > > -- Ricky Saltzer http://www.cloudera.com
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack