[Openstack] Discussion / proposal: Ability to reset tenant's quotas to default

Kevin L. Mitchell kevin.mitchell at rackspace.com
Tue Oct 9 17:36:05 UTC 2012


On Tue, 2012-10-09 at 12:17 -0400, Eoghan Glynn wrote:
> I don't think a new nova command is needed for this use-case,
> just add a simple custom script:
> 
>   nova quota-update `nova quota-defaults $1 | tail -n +4 | tr '_' '-' | awk '/|/ {printf(" --%s %s", $2,$4)}'` $1
> 
> then call with the tenant ID as command line arg. 

The problem with this approach is that if you then change the default
quotas, they are not reflected for the tenant.  I've noticed the lack of
a DELETE handler in the quotas (and quota_classes) extension(s) and
often thought we needed to add one for just this caseā€¦
-- 
Kevin L. Mitchell <kevin.mitchell at rackspace.com>





More information about the Openstack mailing list