<div dir="ltr"><br><div class="gmail_quote"><div dir="ltr">Hi Pavel,<div><br></div><div>I can't do a screenshot right now, but the structure in vCenter is:<br></div><div><br></div><div><a href="http://nssesxi-mgmt.ldn.arda.net" target="_blank">nssesxi-mgmt.ldn.arda.net</a></div><div> --> North Sutton Street<br></div><div> --> nssesxi</div><div> --> <a href="http://nssesxi01-mgmt.ldn.arda.net" target="_blank">nssesxi01-mgmt.ldn.arda.net</a></div><div> <a href="http://nssesxi02-mgmt.ldn.arda.net" target="_blank">nssesxi02-mgmt.ldn.arda.net</a></div><div> <a href="http://nssesxi03-mgmt.ldn.arda.net" target="_blank">nssesxi03-mgmt.ldn.arda.net</a></div><div> <a href="http://nssesxi04-mgmt.ldn.arda.net" target="_blank">nssesxi04-mgmt.ldn.arda.net</a></div><div> <a href="http://nssesxi05-mgmt.ldn.arda.net" target="_blank">nssesxi05-mgmt.ldn.arda.net</a></div><div><br></div><div>I've tried fully qualified names, but the same error occurs.</div><div><br></div><div>Cheers,</div><div><br></div><div>Cam</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 17, 2016 at 11:15 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">It's another error. Now there is an issue with esxi server name – 'nssesxi04-mgmt'. It must be the same as appears in vcenter. A screenshot of vcenter tree would help.<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">Please note, there is no need to double escape the URL.
<u></u><u></u></span></p><div><div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><u></u> <u></u></span></p>
<div>
<div>
<p class="MsoNormal">On 17/06/16 13:00, "Cam Mac" <<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 Pavel,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">I've tried those URLs (and quite a few other permutations) but get the following errors:
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">vpx://ARDA%5ccam@nssesxi-mgmt/Systems/North%20Sutton%20Street/nssesxi/nssesxi04-mgmt?no_verify=1<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<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 host system specified in '/North Sutton Street/Systems/nssesxi/nssesxi04-mgmt'<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">vpx://ARDA%5ccam@nssesxi-mgmt/North%20Sutton%20Street/Systems/nssesxi/nssesxi04-mgmt?no_verify=1<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<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 host system specified in '/North Sutton Street/Systems/nssesxi/nssesxi04-mgmt'<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">If I double escape the spaces with %2520, it reports it can't find the datacenter.<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">Campbell<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>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Fri, Jun 17, 2016 at 10:45 AM, Pavel Gashev <<a href="mailto:Pax@acronis.com" target="_blank">Pax@acronis.com</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal"><span lang="RU" style="font-size:11.0pt;font-family:Calibri">Cam,</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="RU" style="font-size:11.0pt;font-family:Calibri"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="RU" style="font-size:11.0pt;font-family:Calibri">I believe the URL must be the following:</span><u></u><u></u></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</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="RU" style="font-size:11.0pt;font-family:Calibri">or</span><u></u><u></u></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</span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><span lang="RU" style="font-size:11.0pt;font-family:Calibri"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="RU" style="font-size:11.0pt;font-family:Calibri"> </span><u></u><u></u></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-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<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>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</blockquote>
</div></div></div>
</div>
</blockquote></div><br></div>
</div></div></div><br></div>