← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1746561] [NEW] Make host_manager use scatter-gather and ignore down cells

 

Public bug reported:

Currently the "_get_computes_for_cells" function in the host_manager of
scheduler runs sequentially and this affects the performance in case of
large deployments (running a lot of cells) :

https://github.com/openstack/nova/blob/stable/pike/nova/scheduler/host_manager.py#L601

So it would be nice to use the scatter_gather_all_cells function to do
this operation in parallel.

Also apart from the performance scaling point of view, in case
connection to a particular cell fails, it would be nice to have
sentinels returned which is done by the scatter_gather_all_cells. This
helps when a cell is down.

** Affects: nova
     Importance: Undecided
     Assignee: Dan Smith (danms)
         Status: In Progress


** Tags: cells

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

Title:
  Make host_manager use scatter-gather and ignore down cells

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  Currently the "_get_computes_for_cells" function in the host_manager
  of scheduler runs sequentially and this affects the performance in
  case of large deployments (running a lot of cells) :

  https://github.com/openstack/nova/blob/stable/pike/nova/scheduler/host_manager.py#L601

  So it would be nice to use the scatter_gather_all_cells function to do
  this operation in parallel.

  Also apart from the performance scaling point of view, in case
  connection to a particular cell fails, it would be nice to have
  sentinels returned which is done by the scatter_gather_all_cells. This
  helps when a cell is down.

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


Follow ups