Red Hat Bugzilla – Bug 1294651
Cannot change name of imported VM from VMware
Last modified: 2016-02-18 06:05:37 EST
Description of problem:
If we want to import VM that is called X in VMware and for the imported VM to be called Y in oVirt, the import-VM dialog allows us to modify the name of the VM, however this conversion will most probably fail and in the worse case, if there is a VM with that name in vSphere, we will import the wrong VM.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Load VMs from VMware
2. Change the name of a VM that is going to be imported in the import dialog to a name that doesn't match the name of any VM in VMware.
Conversion fail, a VM with the new name does not exist in VMware
The conversion should succeed, the VM in oVirt should be with the modified name
We need to differentiate the name that the VM is going to have and the original name of the VM and to use the original one in the conversion.
Verified on :
1)Import VM with new name.
2)Import VM and change the name to a name that match other VM name in VMware. and verified that the VM imported is the one that was selected and not the one with the same name.