rhtyd commented on a change in pull request #2686: Fixes #2685: broken SXM
support
URL: https://github.com/apache/cloudstack/pull/2686#discussion_r192654415
##########
File path:
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()));
Review comment:
This can have compatibility issues wrt non-local disks, can any xenserver
guru test/comment - @rafaelweingartner @DaanHoogland etc?
----------------------------------------------------------------
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