Reset nova's quota to default for a tenant

Asked by Koji

Hi folks,

Is there a way to update nova's quotas back to defaults for one tenant without putting the default numbers on arguments?

I am probably missing something, but right now, when I want to change quotas back to the defaults, I'm putting the default numbers like "nova quota-update <tenant-id> --instances 10".

Our OpenStack is Grizzly, by the way.

Thanks in advance!
Koji

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
Tiantian Gao
Solved:
Last query:
Last reply:
Revision history for this message
Best Tiantian Gao (gtt116) said :
#1

Hi koji,

Try this:

usage: nova quota-delete [--tenant <tenant-id>] [--user <user-id>]

Delete quota for a tenant/user so their quota will Revert back to default.

Optional arguments:
  --tenant <tenant-id> ID of tenant to delete quota for.
  --user <user-id> ID of user to delete quota for.

Revision history for this message
Koji (kj-tanaka) said :
#2

Thanks a lot, Tiantian!

Koji