nova/nova/conductor
Andrey Volkov bcbfee183e Add schedule_and_build_instances conductor method
This patch is part of refactoring to move instance saving to the
conductor. It only creates new conductor manager method to schedule and
build instance.

The new method does quite the same thing as build_instances but has some
differences:
- build_requests and request_spec are used instead of
  instances param
- it's cell aware i.e. it creates instance and related
  objects in the appropriate cell
- in the case of failure method creates instance in cell0

Co-Authored-By: Dan Smith <dansmith@redhat.com>
Change-Id: I19d6d765894785b214458b32fe612b4ef78a270d
Implements: bp cells-scheduling-interaction
2016-12-14 11:56:55 -08:00
..
tasks Merge "Update RequestSpec nested flavor when a resize comes in" 2016-07-29 19:34:56 +00:00
__init__.py Remove conductor local api:s and 'use_local' config option 2016-10-18 14:26:06 +02:00
api.py Add schedule_and_build_instances conductor method 2016-12-14 11:56:55 -08:00
manager.py Add schedule_and_build_instances conductor method 2016-12-14 11:56:55 -08:00
rpcapi.py Add schedule_and_build_instances conductor method 2016-12-14 11:56:55 -08:00