openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #17326
Re: Discussion / proposal: Ability to reset tenant's quotas to default
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@xxxxxxxxxxxxx>
References