[openstack-dev] ask for usage of quota reserve
Kevin L. Mitchell
kevin.mitchell at rackspace.com
Thu Dec 18 16:40:20 UTC 2014
On Thu, 2014-12-18 at 15:34 +0800, Eli Qiao(Li Yong Qiao) wrote:
> can anyone tell if we call quotas.reserve() but never call
> quotas.commit() or quotas.rollback().
> what will happen?
A reservation is always created with an expiration time; by default,
this expiration time is 86400 seconds (1 day) after the time at which
the reservation is created. Expired reservations are deleted by the
_expire_reservations() periodic task, which is defined on the scheduler.
Thus, if a resource is reserved, but never committed or rolled back, it
should continue to affect quota requests for approximately one day, then
be automatically rolled back by the scheduler.
--
Kevin L. Mitchell <kevin.mitchell at rackspace.com>
Rackspace
More information about the OpenStack-dev
mailing list