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.
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