← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1277068] Re: Multiple db calls in some quota methods

 

** Also affects: oslo
   Importance: Undecided
       Status: New

** Changed in: oslo
     Assignee: (unassigned) => Liyingjun (liyingjun)

-- 
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/1277068

Title:
  Multiple db calls in some quota methods

Status in OpenStack Compute (Nova):
  In Progress
Status in Oslo - a Library of Common OpenStack Code:
  New

Bug description:
  in nova/quota.py
  db.quota_get_all_by_project is called twice in method limit_check(): https://github.com/openstack/nova/blob/master/nova/quota.py#L356 and
  reserve(): https://github.com/openstack/nova/blob/master/nova/quota.py#L424

  db.quota_get_all_by_project_and_user is called twice in method
  get_settable_quotas():
  https://github.com/openstack/nova/blob/master/nova/quota.py#L272

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1277068/+subscriptions


References