API responses for build should avoid waiting on scheduler when possible
Bug #885349 reported by
Chris Behrens
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.
Changed in nova: | |
importance: | Undecided → Low |
status: | New → In Progress |
assignee: | nobody → Chris Behrens (cbehrens) |
Changed in nova: | |
milestone: | none → essex-1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-1 → 2012.1 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/1263 github. com/openstack/ nova/commit/ 057138540df2b06 7bd3cd2857cceb9 7d1ecd86d0
Committed: http://
Submitter: Jenkins
Branch: master
status fixcommitted
done
commit 057138540df2b06 7bd3cd2857cceb9 7d1ecd86d0
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: I98b27156167f05 7d11fbc56a9ff99 d4e2ec423d3