Created attachment 1088913 [details] screenshot-1 for step2 Description of problem: when i test virt-v2v integration to rhevm feature, failed to import virtual machine when select VMware as source on rhevm3.6 server Version-Release number of selected component (if applicable): 1. rhevm server: rhevm-3.6.0.2-0.1.el6.noarch 2. registered host installed with following tree:http://download.englab.nay.redhat.com/pub/rhel/rel-eng/RHEL-7.2-20151030.0/compose/Server/x86_64/os/ libvirt-1.2.17-13.el7.x86_64 vdsm-4.17.10-5.el7ev.noarch libguestfs-1.28.1-1.55.el7.x86_64 virt-v2v-1.28.1-1.55.el7.x86_64 qemu-kvm-rhev-2.3.0-31.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1. Login with administration portal, System->Virtual Machines. 2. Click Import. Select VMware as source and complete details for my vCenter environment. Details please see screenshot-1 3. Click the "Load" button. Actual results: Get a error message from webadmin and The "Import Virtual Machine(s)" window hangs forever. Failed to retrieve VMs information from external server vpx://root.4.103/tzheng-demo/10.66.106.63?no_verify=1 Expected results: list of VM's available for import. Additional info: 1. virsh command works well. # virsh -c vpx://root.4.103/tzheng-demo/10.66.106.63?no_verify=1 Enter root's password for 10.66.4.103: Welcome to virsh, the virtualization interactive terminal. Type: 'help' for help with commands 'quit' to quit virsh # list Id Name State ---------------------------------------------------- 2. I will attach engine.log and vdsm.log
Created attachment 1088915 [details] vdsm.log
Created attachment 1088916 [details] engine.log
Tried with new rhevm pkg and import virtual machine while selecting VMware as source, but failed, please help me have a look. steps: 1. Upgrade my rhevm server to latest one: rhevm-3.6.1.1-0.1.el6.noarch 2. Login with administration portal, System->Virtual Machines. 3. Click Import. Select VMware as source and complete details for my vCenter environment. 4. Click the "Load" button. 5. Choose one virtual machine to import, and click "Next".(See screenshot-2). 6. Click "OK" in next window. Result: After step6,failed to import guest with error: Error while executing action: esx6.0-rhel6.7-i386: Cannot ${action} ${type}. Host does not exist.
Created attachment 1103821 [details] screenshot-2
you need to select host in the "proxy host" select box
The can do action message is fixed and will be merged in 3.6.2 Please see if you have active hots in the cluster, If it still doesn't work please attach the engine log.
(In reply to Shahar Havivi from comment #6) > you need to select host in the "proxy host" select box Yes, when i selected the registered host in "proxy host", i can not meet Comment 4 error in next page. But i always have some issue want to confirm with you. 1. When my registered host is a latest rhel7.2 host, i can import a virtual machine from esx server(VMware as source) successfully . 2. When my registered host is a rhevh 7.2 system, failed to import guest from esx server and ova file with following error: Failed to import Vm esx6.0-rhel5.11-x86_64 to Data Center Default, Cluster Default I will attach engine.log, called engine.log_cmt6. please help me have a look, thanks in advance.
Created attachment 1104208 [details] engine.log for comment 6
It looks like the original problem that you open this bug for is solved since you are able to list the vms now. Please contact me offline for this issue and will decide if this is a new bug.
(In reply to Shahar Havivi from comment #10) > It looks like the original problem that you open this bug for is solved > since you are able to list the vms now. > > Please contact me offline for this issue and will decide if this is a new > bug. ok, since bug issue has been fixed, i will contact you offline, thanks very much.
Verified: rhevm-3.6.2.5-0.1.el6 sanlock-3.2.4-1.el7.x86_64 vdsm-4.17.17-0.el7ev.noarch libvirt-client-1.2.17-13.el7_2.2.x86_64 qemu-kvm-rhev-2.3.0-31.el7_2.4.x86_64