Description of problem: Due to Bug 1573467 - [v2v] Transform a single VM from VMware to RHV fail with unclear error message, when VM is not under a cluster, A cluster change was done in the VMware setup: VMs were under a host, and the host was moved to be under a cluster. This is in order to overcome bug 1573467, and have v2v working. On CFME side, the VMware VMs indeed were displayed associated with the cluster, however the v2v still failed. Remove & add the VMware setup resolved the problem: v2v worked OK. Version-Release number of selected component (if applicable): CFME-5.8.4.2/vSphere 6.5
Created attachment 1429213 [details] evm_log.tgz
Created attachment 1429214 [details] automation_log.tgz
Ilanit can you be a little more specific about what fails? I just tried this and after moving the host into a cluster I can: 1. See the host under the cluster in the MIQ UI 2. See the host under the cluster in the rails console ems.ems_clusters.first.hosts 3. See the cluster from the host in the rails console host.find_by(:name => "hostname").ems_cluster 4. See the cluster from a VM on that host host.find_by(:name => "hostname").vms.first.ems_cluster As far as I can tell everything looks correct.
Adam, Thanks for investigating, Based on your comment, it seems that after moving the VMs to be under a cluster in VMware, CFME Core gets updated with the change. I tested VM transform of a single VM from VMware to RHV, and it failed due to bug 1573467 (It assumed cluster should always exist). I then moved the VMs to be under cluster on VMware, however the VM transform still failed. In CFME UI, it indeed seem that the cluster change was reflected. As VM transform still fail, it might be that the VM transform part, didn't adapt to the cluster change. Moving bug to the RHV team.
VM transformation for single VM migration in CloudForms
This function is deprecated in favor of the new Infrastructure Migration Solution.