Scheduler connects to all cells DBs to gather compute nodes info
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Undecided
|
Surya Seetharaman | ||
Bug Description
The scheduler host.manager connects to all cells DBs to get compute node info even if only a subset of compute nodes uuids are given by placement.
This has a performance impact in large cloud deployments with several cells.
Also related with: https:/
{code}
def _get_computes_
for cell in cells:
with context_
if compute_uuids is None:
return compute_nodes, services
{code}
Changed in nova: | |
assignee: | nobody → Surya Seetharaman (tssurya) |
tags: | added: cells scheduler |
I'm confused, you reference https:/ /review. openstack. org/#/c/ 539617/ but are pasting a code snippet of old code before that scatter/gather routine was added. Does https:/ /review. openstack. org/#/c/ 539617/ resolve your issue or at least make it acceptable performance?