You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by re...@apache.org on 2015/11/29 09:09:37 UTC

[2/2] git commit: updated refs/heads/master to f823d06

Merge pull request #1118 from karuturi/CLOUDSTACK-9081

CLOUDSTACK-9081 Migration of vm across clusters fails in clustered MS setupStorage motion of vm across clusters/xenserver-pools fails in a
clustered management server setup. In xen storage motion we have to send
a migrate_receive command to the destination host, followed by
migrate_send command to the source host. The sr and network detials of
the destination host have to be passed in migrate_send command on the
source. While migrating across clusters the source and destination
resources are seperate objects. To pass this information across
resources we have to send seperate migrate with storage receive and send
commands to the resource. In a clustered ms setup these commands may
have to be forwarded to another ms as the resource may be owned by it.
The serilization of the command and answer objects fails in such case as
it doesn't understand the xapi sr and network objects. Made a change to
serialize these objects in the resource layer and pass the around as
strings in the command and answer objects.
Reviewed-By: @likitha
Author: @devdeep
Tested-By: @sailajamada

* pr/1118:
  CLOUDSTACK-9081 Migration of vm across clusters fails in clustered MS setup

Signed-off-by: Remi Bergsma <gi...@remi.nl>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/f823d06d
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/f823d06d
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/f823d06d

Branch: refs/heads/master
Commit: f823d06dd9b610ba8e6b3cab9f815feb157a4f68
Parents: e4e685b 00522e4
Author: Remi Bergsma <gi...@remi.nl>
Authored: Sun Nov 29 09:09:03 2015 +0100
Committer: Remi Bergsma <gi...@remi.nl>
Committed: Sun Nov 29 09:09:03 2015 +0100

----------------------------------------------------------------------
 .../api/MigrateWithStorageReceiveAnswer.java    | 10 ++---
 .../api/MigrateWithStorageSendCommand.java      | 10 ++---
 ...MigrateWithStorageReceiveCommandWrapper.java | 18 +++++++--
 ...610MigrateWithStorageSendCommandWrapper.java | 42 ++++++++++----------
 .../xenbase/XenServer610WrapperTest.java        | 35 ++++++++--------
 5 files changed, 63 insertions(+), 52 deletions(-)
----------------------------------------------------------------------