← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Reviewed:  https://review.openstack.org/539617
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=fdea8b723ba5a25ea9dc0917401fbb1401e05ee3
Submitter: Zuul
Branch:    master

commit fdea8b723ba5a25ea9dc0917401fbb1401e05ee3
Author: Dan Smith <dansmith@xxxxxxxxxx>
Date:   Wed Jan 31 09:30:11 2018 -0800

    Make host_manager use scatter-gather and ignore down cells
    
    This makes the host_manager query for computes in parallel across all the
    cells. It also ignores cells that fail or time out so that scheduling can
    proceed.
    
    Closes-Bug: #1746561
    Change-Id: I48d8b763f475c010fa48ee1db232a6d3ae75f5e6


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

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

Status in OpenStack Compute (nova):
  Fix Released

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


References