DaanHoogland closed pull request #2686: Fixes #2685: broken SXM support
URL: https://github.com/apache/cloudstack/pull/2686
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git
a/plugins/hypervisors/xenserver/src/org/apache/cloudstack/storage/motion/XenServerStorageMotionStrategy.java
b/plugins/hypervisors/xenserver/src/org/apache/cloudstack/storage/motion/XenServerStorageMotionStrategy.java
index 106fd9ea3fd..ee56f699bda 100644
---
a/plugins/hypervisors/xenserver/src/org/apache/cloudstack/storage/motion/XenServerStorageMotionStrategy.java
+++
b/plugins/hypervisors/xenserver/src/org/apache/cloudstack/storage/motion/XenServerStorageMotionStrategy.java
@@ -326,7 +326,7 @@ private Answer
migrateVmWithVolumesAcrossCluster(VMInstanceVO vm, VirtualMachine
volumeToStorageUuid.add(new Pair<>(volumeTo, iqn));
}
else {
- volumeToStorageUuid.add(new Pair<>(volumeTo,
((StoragePool)entry.getValue()).getPath()));
+ volumeToStorageUuid.add(new Pair<>(volumeTo,
((StoragePool)entry.getValue()).getUuid()));
}
}
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services