diff options
author | Chris Behrens <cbehrens@codestud.com> | 2011-11-02 10:58:45 -0700 |
---|---|---|
committer | Chris Behrens <cbehrens@codestud.com> | 2011-11-02 11:55:29 -0700 |
commit | 057138540df2b067bd3cd2857cceb97d1ecd86d0 (patch) | |
tree | 55ff978831ae2c568b5d787be15718a0870dfc92 /nova/log.py | |
parent | 830760b4c79cf9cdc80c6e0047ea206abc21f2c6 (diff) | |
download | nova-057138540df2b067bd3cd2857cceb97d1ecd86d0.tar.gz nova-057138540df2b067bd3cd2857cceb97d1ecd86d0.tar.xz nova-057138540df2b067bd3cd2857cceb97d1ecd86d0.zip |
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
Diffstat (limited to 'nova/log.py')
0 files changed, 0 insertions, 0 deletions