<div dir="ltr"><div>Hi Pavel,</div><div><br></div>I've tried those URLs (and quite a few other permutations) but get the following errors:<div><br></div><div>vpx://ARDA%5ccam@nssesxi-mgmt/Systems/North%20Sutton%20Street/nssesxi/nssesxi04-mgmt?no_verify=1<br></div><div><br></div><div><div>Enter ARDA\cam's password for nssesxi-mgmt: </div><div>error: failed to connect to the hypervisor</div><div>error: internal error: Could not find host system specified in '/North Sutton Street/Systems/nssesxi/nssesxi04-mgmt'</div></div><div><br></div><div>vpx://ARDA%5ccam@nssesxi-mgmt/North%20Sutton%20Street/Systems/nssesxi/nssesxi04-mgmt?no_verify=1<br></div><div><br></div><div><div>Enter ARDA\cam's password for nssesxi-mgmt: </div><div>error: failed to connect to the hypervisor</div><div>error: internal error: Could not find host system specified in '/North Sutton Street/Systems/nssesxi/nssesxi04-mgmt'</div></div><div><br></div><div>If I double escape the spaces with %2520, it reports it can't find the datacenter.</div><div><br></div><div>Cheers,</div><div><br></div><div>Campbell</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 17, 2016 at 10:45 AM, Pavel Gashev <span dir="ltr"><<a href="mailto:Pax@acronis.com" target="_blank">Pax@acronis.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span lang="RU" style="font-size:11.0pt;font-family:Calibri">Cam,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="RU" style="font-size:11.0pt;font-family:Calibri"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="RU" style="font-size:11.0pt;font-family:Calibri">I believe the URL must be the following:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="RU" style="font-size:11.0pt;font-family:Calibri">vpx://ARDA%5ccam@nssesxi-mgmt/Systems/North%20Sutton%20Street/nssesxi/nssesxi04-mgmt?no_verify=1<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="RU" style="font-size:11.0pt;font-family:Calibri">or<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="RU" style="font-size:11.0pt;font-family:Calibri">vpx://ARDA%5ccam@nssesxi-mgmt/North%20Sutton%20Street/Systems/nssesxi/nssesxi04-mgmt?no_verify=1<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><span lang="RU" style="font-size:11.0pt;font-family:Calibri"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="RU" style="font-size:11.0pt;font-family:Calibri"><u></u> <u></u></span></p>
<div>
<div>
<p class="MsoNormal">On 09/06/16 20:28, "<a href="mailto:users-bounces@ovirt.org" target="_blank">users-bounces@ovirt.org</a> on behalf of Cam Mac" <<a href="mailto:users-bounces@ovirt.org" target="_blank">users-bounces@ovirt.org</a> on behalf of
<a href="mailto:iucounu@gmail.com" target="_blank">iucounu@gmail.com</a>> wrote:<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<blockquote style="border:none;border-left:solid #b5c4df 4.5pt;padding:0cm 0cm 0cm 4.0pt;margin-left:3.75pt;margin-right:0cm">
<div>
<div>
<div>
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I am trying to import and convert some VMWare guests from a VMWare cluster with vCenter version 6, to a KVM (oVirt) host. The KVM node (RHEL 7.2) has virt-v2v 1.28.1, though I've also tried using Fedora 23 which has 1.32.4. <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">The details are:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">vCenter server: nssesxi-mgmt<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Datacenter name: North Sutton Street<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">esxi server which runs the VM: nssesxi-mgmt04<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">folder name: Systems<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">VM name: wvm2<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">cluster name: nssesxi<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I tried via the 'Import' option in the oVirt GUI, and put the details above in, and after thinking about it for a while, it returns a 500 internal server error. As I'm authing against AD, I put my username as cam@ARDA. I have attached the
log (gzipped). <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I've also tried via the command line, and the result is much the same. I did post the below to the libvirt-users mailing list but have not had a response, so I thought I'd see if anyone here might know what is going on.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Unfortunately, spaces were put in the name of the datacenter, so I escape them with %20<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">So the final URI is constructed as:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">vpx://<DOMAIN\user@<vcenter_server>/<folder>/<datacenter_name>/<esxi_server> <vm_name><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">The error I get is:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"># virt-v2v -v -x -ic vpx://ARDA%5ccam@nssesxi-mgmt/Systems/North%20Sutton%20Street/nssesxi04-mgmt?no_verify=1 wvm2<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">virt-v2v: libguestfs 1.28.1 (x86_64)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 0.0] Opening the source -i libvirt -ic vpx://ARDA%5ccam@nssesxi-mgmt/Systems/North%20Sutton%20Street/nssesxi04-mgmt?no_verify=1 wvm2<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">input_libvirt_vcenter_https: source: scheme vpx server nssesxi-mgmt<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Enter ARDA\cam's password for nssesxi-mgmt: <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">libvirt: ESX Driver error : internal error: Could not find compute resource specified in '/Systems/North Sutton Street/nssesxi04-mgmt'<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">virt-v2v: error: internal error: invalid argument: cannot open libvirt <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">connection <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">'vpx://ARDA%5ccam@nssesxi-mgmt/Systems/North%20Sutton%20Street/nssesxi04-mgmt?no_verify=1'<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">If reporting bugs, run virt-v2v with debugging enabled and include the <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">complete output:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"> virt-v2v -v -x [...]<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">#<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"># virsh -c 'vpx://ARDA%5ccam@nssesxi-mgmt/Systems/North%20Sutton%20Street/nssesxi04-mgmt?no_verify=1' list --all<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Enter ARDA\cam's password for nssesxi-mgmt: <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">error: failed to connect to the hypervisor<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">error: internal error: Could not find compute resource specified in '/Systems/North Sutton Street/nssesxi04-mgmt'<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">#<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I can access via http a list of VMs at the following URL:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="https://nssesxi-mgmt/folder?dcPath=North%2520Sutton%2520Street&dsName=nssesxi%252dc2%252dr10%252dlun2" target="_blank">https://nssesxi-mgmt/folder?dcPath=North%2520Sutton%2520Street&dsName=nssesxi%252dc2%252dr10%252dlun2</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Below is the URI to the vm itself (once shutdown, it gets the name 'vm2_1'):<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="https://nssesxi-mgmt/folder/wvm2_1?dcPath=North%2520Sutton%2520Street&dsName=nssesxi%252dc1%252dr10%252dlun2" target="_blank">https://nssesxi-mgmt/folder/wvm2_1?dcPath=North%2520Sutton%2520Street&dsName=nssesxi%252dc1%252dr10%252dlun2</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Any ideas?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Cheers,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">-Cam<u></u><u></u></p>
</div>
</div>
</div>
</div>
</blockquote>
</div></div></div>
</div>
</blockquote></div><br></div>