API responses for build should avoid waiting on scheduler when possible

Bug #885349 reported by Chris Behrens on 2011-11-02
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Chris Behrens

Bug Description

We can avoid waiting on scheduler in a single zone deployment when building a single instance.

Chris Behrens (cbehrens) on 2011-11-02
Changed in nova:
importance: Undecided → Low
status: New → In Progress
assignee: nobody → Chris Behrens (cbehrens)

Reviewed: https://review.openstack.org/1263
Committed: http://github.com/openstack/nova/commit/057138540df2b067bd3cd2857cceb97d1ecd86d0
Submitter: Jenkins
Branch: master

 status fixcommitted

commit 057138540df2b067bd3cd2857cceb97d1ecd86d0
Author: Chris Behrens <email address hidden>
Date: Wed Nov 2 10:58:45 2011 -0700

    APIs should not wait on scheduler for builds in single zone deployment

    Fixes bug 885349

    We can short circuit waiting on the scheduler if we're in a single zone
    deployment and only building 1 instance. This patch checks for that
    case and creates the instance DB entry directly in the API (in
    compute/api) without the call to the scheduler.

    Change-Id: I98b27156167f057d11fbc56a9ff99d4e2ec423d3

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2011-11-09
Changed in nova:
milestone: none → essex-1
Thierry Carrez (ttx) on 2011-11-17
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in nova:
milestone: essex-1 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers