[openstack-dev] [openstack][cinder]A discussion about quota update lower than current usage.

Mike Perez thingee at gmail.com
Fri Jul 10 23:24:08 UTC 2015


On 12:30 Jul 10, hao wang wrote:
> Cinder now doesn't check the existing resource when user lower the quota.
> It's reasonable for admin can adjust the quota limit to lower level than
> current usage.
> But it also bring confusion that I have received to end user, they saw the
> current usage
> was more than limit, but they can't create resources any more.
> 
> So there have been 'bug' reported[1] and code patch[2] committed, I knew it
> may be
> inappropriate as 'bug fix', but just want to optimize this API of updating
> quota.
> 
> We are proposing to add an option argument which is named 'force' in
> request body.
> Of course the default value is True that means admin can adjust the quota
> lower then
> current usage as same as what we did now. When the force is False, that
> will occur
> a Validation and return 400 Bad Request if the update value is lower than
> current usage.
> 
> I wonder to know folks' opinions and suggestions about this change to see
> if this is value to merge this patch.

Based on the feedback received in the bug and review, it seems like there is
a clear consensus that people don't want this, even if it can be bypassed with
a force option.

-- 
Mike Perez



More information about the OpenStack-dev mailing list