yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #22799
[Bug 1363324] Re: a bug in quota check
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => juno-rc1
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1363324
Title:
a bug in quota check
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
\nova\db\sqlalchemy\api.py quota_reserve()
when decided whether to refresh the user_usages[resource], one rule is
that if the last refresh was too long time ago, we need refresh
user_usages[resource].
elif max_age and (user_usages[resource].updated_at -
timeutils.utcnow()).seconds >= max_age:
using last update time minus current time result in a overflow ,so
that the refresh action always be executed,in consideration of the
max_age won't be a max number.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1363324/+subscriptions
References