diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-01-22 15:29:13 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-01-22 15:29:13 +0000 |
| commit | 4fa5866df4b79d3e38da8dd3ee76483c1ee7d1a5 (patch) | |
| tree | 4195bf6a9e49266a6529c98e07b012122efe1d8d /nova/compute | |
| parent | e788bb259d527f6b40785922a3e002e8e102ad22 (diff) | |
| parent | 26b7c43ca1fe94f937d6a6d89b3114ce9931c74d (diff) | |
Merge "Make start_instance cast directly to compute host"
Diffstat (limited to 'nova/compute')
| -rw-r--r-- | nova/compute/api.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/nova/compute/api.py b/nova/compute/api.py index f154103cf..ca28f3871 100644 --- a/nova/compute/api.py +++ b/nova/compute/api.py @@ -948,11 +948,7 @@ class API(base.Base): # TODO(yamahata): injected_files isn't supported right now. # It is used only for osapi. not for ec2 api. # availability_zone isn't used by run_instance. - rpc.cast(context, - FLAGS.scheduler_topic, - {"method": "start_instance", - "args": {"topic": FLAGS.compute_topic, - "instance_uuid": instance_uuid}}) + self._cast_compute_message('start_instance', context, instance) #NOTE(bcwaldon): no policy check here since it should be rolled in to # search_opts in get_all |
