Commit 298e4dc8 authored by Manuel Franceschini's avatar Manuel Franceschini
Browse files

move-instance: Fix parameter order in _CreateInstance



This patch fixes a bug, which caused the primary and secondary
destination nodes to be revered on the destination cluster after an
instance move.
Signed-off-by: default avatarManuel Franceschini <livewire@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent a4ebd726
...@@ -437,7 +437,7 @@ class MoveDestExecutor(object): ...@@ -437,7 +437,7 @@ class MoveDestExecutor(object):
mrt.dest_to_source.release() mrt.dest_to_source.release()
@staticmethod @staticmethod
def _CreateInstance(cl, name, snode, pnode, iallocator, instance, expinfo): def _CreateInstance(cl, name, pnode, snode, iallocator, instance, expinfo):
"""Starts the instance creation in remote import mode. """Starts the instance creation in remote import mode.
@type cl: L{rapi.client.GanetiRapiClient} @type cl: L{rapi.client.GanetiRapiClient}
......
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