nova/nova/conductor
EdLeafe 8c86547fa0 Pass a list of instance UUIDs to scheduler
When the RequestSpec object was created, it was assumed that when the
request was for more than one instance the scheduler would not need to
know the UUIDs for the individual instances and so it was agreed to
only pass one instance UUID. If, however, we want the scheduler to be
able to claim resources on the selected host, we will need to know the
instance UUID, which will be the consumer_id of the allocation.

This patch adds a new RPC parameter 'instance_uuids' that will be passed
to the scheduler. The next patch in the series adds the logic to the
scheduler to use this new field when selecting hosts.

Co-Authored-By: Sylvain Bauza <sbauza@redhat.com>
Partially-Implements: blueprint placement-claims

Change-Id: I44ebdb3e29db950bf2ad0e6b1dbfdecd1ca03530
2017-06-01 14:54:16 +00:00
..
tasks Pass a list of instance UUIDs to scheduler 2017-06-01 14:54:16 +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 Pass a list of instance UUIDs to scheduler 2017-06-01 14:54:16 +00:00
rpcapi.py Add RPC version aliases for Ocata 2017-02-27 18:37:48 +04:00