API responses for build should avoid waiting on scheduler when possible

Bug #885349 reported by Chris Behrens
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Chris Behrens

Bug Description

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

Chris Behrens (cbehrens)
Changed in nova:
importance: Undecided → Low
status: New → In Progress
assignee: nobody → Chris Behrens (cbehrens)
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to nova (master)

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

 status fixcommitted
 done

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)
Changed in nova:
milestone: none → essex-1
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: essex-1 → 2012.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.