Commit 0b71067a authored by Iustin Pop's avatar Iustin Pop

Update multi-reloc design doc with enhanced results

In order to increase the amount of information returned from the
IAllocator plugin, we enhance the return values from the node-evac and
change-group operations.
Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent b6e88032
......@@ -72,8 +72,26 @@ instances and a list of jobsets.
The two lists of instances describe which instances could be
moved/migrated and which couldn't for some reason ("unsuccessful"). The
union of the two lists must be equal to the set of instances given in
the original request.
union of the instances in the two lists must be equal to the set of
instances given in the original request. The successful list of
instances contains elements as follows::
(instance name, target group name, [chosen node names])
The choice of names is simply for readability reasons (for example,
Ganeti could log the computed solution in the job information) and for
being able to check (manually) for consistency that the generated
opcodes match the intended target groups/nodes. Note that for the
node-evacuate operation, the group is not changed, but it should still
be returned as such (as it's easier to have the same return type for
both operations).
The unsuccessful list of instances contains elements as follows::
(instance name, explanation)
where ``explanation`` is a string describing why the plugin was not able
to relocate the instance.
The list of jobsets contained in the result describe how to actually
execute the operation. Each jobset contains lists of serialized opcodes.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment