Comment 13 for bug 1304234

Revision history for this message
Huang Zhiteng (zhiteng-huang) wrote : Re: the problem of updating quota

I'm sick and tired of people telling me that Nova does this Nova does that and we should do that as well in Cinder. That doesn't necessarily make it a sound reason to do anything.

In a case when admin really want to set the quota for a user, whose quota was 20 instances and already spawned 10, to 5. How could you do that in Nova? Step 1: setting quota to 10, and then setup a script monitor # of instance for that specific user to send yourself a notification. Step 2, cross-finger and wait for the user to shutdown one or more of his/her instances so that you can lower his/her quota even more (hopefully that user didn't boot new instance before you can change the quota). Step 3, iterate step 1 and 2 until you can actually reduce quota to 5?