Make start_instance cast directly to compute host

Fixes bug 918615

start_instance doesn't need to go through scheduler because it still has
instance['host'] set and resources are still accounted for in the
scheduler, which means there's still room to restart it on its assigned
host (even though it is deleted from the virt layer)

Change-Id: I3cdd73b7ad2297b57f7e36be84819ff233ac8f08
This commit is contained in:
Chris Behrens
2012-01-21 08:04:19 +00:00
parent 56af643e32
commit 1ef1addfea
3 changed files with 5 additions and 10 deletions

View File

@@ -36,7 +36,6 @@ flags.DEFINE_string('volume_scheduler_driver',
# A mapping of methods to topics so we can figure out which driver to use.
_METHOD_MAP = {'run_instance': 'compute',
'start_instance': 'compute',
'prep_resize': 'compute',
'live_migration': 'compute',
'create_volume': 'volume',