<div dir="ltr">There was a bug on this:<div><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1378045">https://bugzilla.redhat.com/show_bug.cgi?id=1378045</a><br></div><div>Using the &#39;import&#39; from VMs tab resolved the problem.</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><pre cols="72"><span style="font-family:arial,helvetica,sans-serif">Yaniv Dary
Technical Product Manager
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra&#39;anana, Israel 4350109

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