Github user ustcweizhou commented on the pull request: https://github.com/apache/cloudstack/pull/1177#issuecomment-162450640 @snuf The procedure getCommandHostDelegation are overrided in three hypervisor: XenserverGuru, VmwareGuru and Ovm3HypervisorGuru. We should make sure these three files handle the corresponding hypervisor type (eg XenserverGuru only handle xenserver). This is why @anshulgangwar made in #1176 and I made in this PR #1177, we added the check on srcData.getHypervisorTyp. We think the issue is fixed on Xenserver and Ovm3. I checked the VmwareGuru, it handles only vmware hypervisor, so it looks good. I tested creating a template from snapshot on KVM, the command CopyCommand is handled by ssvm, it works.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---