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.mitch...@rackspace.com>


_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to