Red Hat Bugzilla – Bug 1291055
v2v: Conversion of VM from VMware environment failed with "HTTP/1.1 404 Not Found".
Last modified: 2016-02-17 09:40:52 EST
Description of problem:
Trying to import VMware VM from RHEVM failed with "HTTP/1.1 404 Not Found" when trying to get storage path.
VMware environment is 6.0.0 licensed and VMware VM I'm trying to import is with NFS disk.
Version-Release number of selected component (if applicable):
host (RHEL 7.2):
Steps to Reproduce:
1. From vSphere client, create DC -> Cluster -> add host -> create VM with NFS storage (keep VM powered off during the next steps).
2. Open RHEVM, navigate to virtual machines tab -> click import.
3. Enter vCenter details and credentials -> click "load"
4. Select one of the VMs that were listed to import and click "next".
5. Select host and storage domain destination -> click "ok"
After import process started, it failed during import VM disk phase with the next engine.log (IP address changed to 10.X.X.X by me):
2015-12-13 10:15:40,742 INFO [org.ovirt.engine.core.bll.ConvertVmCallback] (DefaultQuartzScheduler_Worker-27)  Conversion of VM from exteral enironment failed: Job u'423c3d8c-15e9-4650-f0fa-02d0a8332ea9' process failed exit-code: 1, stderr: curl -q --insecure --user '<hidden>' --head --silent --url 'https://10.X.X.X/folder/rhel7/rhel7-flat.vmdk?dcPath=Compute/cluster&dsName=storage'
HTTP/1.1 404 Not Found
Date: Sun, 13 Dec 2015 08:16:14 GMT
Set-Cookie: vmware_soap_session="c905314a0fd3cec35f9442c995f067b3704e08ec"; Path=/; HttpOnly; Secure;
Content-Type: text; charset=plain
virt-v2v: error: vcenter: URL not found:
Import VM should succeed.
engine.log and vdsm.log attached.
vdsm issue occurred at: Thread-29651::ERROR::2015-12-13 10:16:14,715
engine issue occurred at: 2015-12-13 10:15:40,742
Created attachment 1105283 [details]
Created attachment 1105284 [details]
I also tried to disable SELinux and turn off iptables, issue is still reproduced.
This is probably a duplicate of
There are only two realistic solutions to this:
(1) Modify the UI so that the user can pass in the dcpath
parameter (which is then passed through to the virt-v2v
However that's going to be annoying to document, so a
better solution is:
(2) Wait for RHEL 7.3 where a combination of libguestfs and
libvirt [bug 1263574] updates will fix this automatically
without any need to use --dcpath.
In any case, we cannot solve this in libguestfs.
BTW neither of the log files contains any useful information. To
really diagnose if this is a duplicate, I need the output of the
'virt-v2v -v -x' command.
based on comment #4, and assuming bug 1263574 and bug 1292437 get the backport approval, there is indeed no need to track this separately
Richard, if you're fine with that I would close as dupe of RHEV bug 1292096
Closing as duplicate per comment 6.
*** This bug has been marked as a duplicate of bug 1292096 ***