rafaelweingartner commented on a change in pull request #2686: Fixes #2685:
broken SXM support
URL: https://github.com/apache/cloudstack/pull/2686#discussion_r192799629
##########
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:
I do not know what is used in the `path` field there, but if you use the
storage UUID, you should not have a problem to find storage repositories in the
XenServer host.
----------------------------------------------------------------
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