Reviewed: https://review.openstack.org/569055 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=77881659251bdff52163ba1572e13a105eadaf7f Submitter: Zuul Branch: master
commit 77881659251bdff52163ba1572e13a105eadaf7f Author: Surya Seetharaman <[email protected]> Date: Thu May 17 10:16:56 2018 +0200 Make _instances_cores_ram_count() be smart about cells This makes the _instances_cores_ram_count() method only query for instances in cells that the tenant actually has instances landed in. We do this by getting a list of cell mappings that have instance mappings owned by the project and limiting the scatter/gather operation to just those cells. Change-Id: I0e2a9b2460145d3aee92f7fddc4f4da16af63ff8 Closes-Bug: #1771810 ** Changed in: nova Status: In Progress => Fix Released -- 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/1771810 Title: Quota calculation connects to all available cells Status in OpenStack Compute (nova): Fix Released Status in OpenStack Compute (nova) rocky series: Confirmed Bug description: Quota utilisation calculation connects to all cells DBs to get all consumed resources for a project. When having several cells this can be inefficient and can fail if one of the cell DBs is not available. To calculate the quota utilization of a project should be enough to use only the cells where the project has/had instances. This information is available in nova_api DB. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1771810/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

