yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #19689
[Bug 1363324] [NEW] a bug in quota check
Public bug reported:
\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.
** Affects: nova
Importance: Undecided
Status: New
--
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):
New
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
Follow ups
References