<div dir="ltr">I think the OVA will be better,<div>we can test all the scenarios with that</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 5, 2017 at 12:37 PM, Yevgeny Zaspitsky <span dir="ltr"><<a href="mailto:yzaspits@redhat.com" target="_blank">yzaspits@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Seems like engines tries to validate a vNic with an empty MAC address and fails on that. The fact that in the direct flow it works sounds weird to me: either we loose the MAC in one flow or we do not validate it in the other one.<br><br></div>Kun, could you please send (in private if you like) the OVF file from the input tarball you've used, so we'd be able to debug the case more thoroughly?<br><br></div>Regards,<br></div>Yevgeny<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 5, 2017 at 10:03 AM, Kun Wei <span dir="ltr"><<a href="mailto:kuwei@redhat.com" target="_blank">kuwei@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi,shavivi.<br>
<br>
Thank you .Yes,as you know i can import ova directly and it can be import successful.<br>
<br>
But i am testing v2v now and i want to confirm if it is a new bug.<br>
<div class="m_3223381609650402418HOEnZb"><div class="m_3223381609650402418h5"><br>
<br>
<br>
----- Original Message -----<br>
From: "Shahar Havivi" <<a href="mailto:shavivi@redhat.com" target="_blank">shavivi@redhat.com</a>><br>
To: "Kun Wei" <<a href="mailto:kuwei@redhat.com" target="_blank">kuwei@redhat.com</a>>, "Yevgeny Zaspitsky" <<a href="mailto:yzaspits@redhat.com" target="_blank">yzaspits@redhat.com</a>><br>
Cc: "users" <<a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a>>, "Tingting Zheng" <<a href="mailto:tzheng@redhat.com" target="_blank">tzheng@redhat.com</a>>, "Ming Xie" <<a href="mailto:mxie@redhat.com" target="_blank">mxie@redhat.com</a>><br>
Sent: Thursday, January 5, 2017 3:05:45 PM<br>
Subject: Re: Import guest at rhv4.0.6 failed after convert a regular ova file by virt-v2v<br>
<br>
Yevgeny, please look why it fails on "isMacInRange"<br>
<br>
Kun, you know that you can import ova directly instead of using virt-v2v to<br>
export domain and then import to data domain,<br>
you can do that from the VMs tab->Import-> and change the source to OVA.<br>
<br>
On Thu, Jan 5, 2017 at 4:35 AM, Kun Wei <<a href="mailto:kuwei@redhat.com" target="_blank">kuwei@redhat.com</a>> wrote:<br>
<br>
><br>
> Hi, I want to confirm a questions if it is a bug,or if something wrong<br>
> with me.Thanks<br>
><br>
> When i convert a ova guest file to rhv4.0.6 by virt-v2v,but import is<br>
> failed.The attachment are engine.log and vdsm.log.<br>
><br>
><br>
><br>
> Version:<br>
> libguestfs-1.32.7-3.el7_3.2.x8<wbr>6_64<br>
> virt-v2v-1.32.7-3.el7_3.2.x86_<wbr>64<br>
> qemu-img-rhev-2.6.0-28.el7_3.2<wbr>.x86_64<br>
> libvirt-2.0.0-10.el7_3.3.x86_6<wbr>4<br>
> rhv4.0: 4.0.6.3<br>
><br>
> Steps :<br>
> 1:Prepare a regular ova file guest .<br>
> 2:Use virt-v2v to convert the ova file to rhv4.0.<br>
> # virt-v2v -i ova esx-rhel6.8-vmdkgz.tar -o rhev -os 10.73.131.93:/home/nfs_export<br>
> -of qcow2<br>
> [ 0.0] Opening the source -i ova esx-rhel6.8-vmdkgz.tar<br>
> [ 44.1] Creating an overlay to protect the source from being modified<br>
> [ 45.0] Initializing the target -o rhev -os 10.73.131.93:/home/nfs_export<br>
> [ 45.3] Opening the overlay<br>
> [ 53.1] Inspecting the overlay<br>
> [ 70.2] Checking for sufficient free disk space in the guest<br>
> [ 70.2] Estimating space required on target for each disk<br>
> [ 70.2] Converting Red Hat Enterprise Linux Server release 6.8 (Santiago)<br>
> to run on KVM<br>
> virt-v2v: This guest has virtio drivers installed.<br>
> [ 215.6] Mapping filesystem data to avoid copying unused and blank areas<br>
> [ 216.0] Closing the overlay<br>
> [ 217.2] Checking if the guest needs BIOS or UEFI to boot<br>
> [ 217.2] Assigning disks to buses<br>
> [ 217.2] Copying disk 1/1 to /tmp/v2v.8kDoXb/908b80fa-09a6-<br>
> 4827-8e0a-a6a54520f685/images/<wbr>47a1919e-1914-44b4-920f-<br>
> b8e208fa4bc1/da74f1c3-8f43-4a1<wbr>5-934a-bb9d380615c3 (qcow2)<br>
> (100.00/100%)<br>
> [ 254.6] Creating output metadata<br>
> [ 254.7] Finishing off<br>
> 3.Then login rhv4.0 and try to import the guest from export domain to data<br>
> domain after finishing the conversion.But it is failed with the<br>
> error:"Failed to import Vm rhel6u8 to Data Center Default, Cluster Default"<br>
> as appendix picture.<br>
><br>
> -Additional info :<br>
> I can import a guest from kvm or vmware.Only can not import this way.<br>
><br>
><br>
> -<br>
> Best Regards,<br>
> Kun Wei<br>
><br>
><br>
><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>