<div dir="ltr">I tried that already, and it fails. I gave it another try with the GUI on the new VM I created, as you described, and it fails.<div>I can attach the engine log if you like.</div><div><br></div><div>Thanks,</div><div><br>Cam</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 21, 2016 at 2:17 PM, Shahar Havivi <span dir="ltr">&lt;<a href="mailto:shavivi@redhat.com" target="_blank">shavivi@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"><span class="">On 21.07.16 14:01, Campbell McLeay wrote:<br>
&gt; Thanks Shahar. Will do. I created a new VM on VMWare for the purposes<br>
&gt; of testing the import again with a new hostname, and it failed with<br>
&gt; the same error.<br>
</span>What you are trying to do is as far as I understand is to use virt-v2v utility<br>
to put the ova in export domain, there may be something wrong between the<br>
virt-v2v output ovf and the oVirt engine.<br>
You can try the new feature to import ova strait on oVirt admin portal (if you<br>
already try that the forget it), go to the vms tab -&gt; import and select<br>
&quot;vmware ova&quot; from the select box...<br>
<div class="HOEnZb"><div class="h5"><br>
&gt;<br>
&gt; Cheers,<br>
&gt;<br>
&gt; Cam<br>
&gt;<br>
&gt; On 21 July 2016 at 12:59, Shahar Havivi &lt;<a href="mailto:shavivi@redhat.com">shavivi@redhat.com</a>&gt; wrote:<br>
&gt; &gt; On 21.07.16 14:58, Shahar Havivi wrote:<br>
&gt; &gt;&gt; The error looks like you have a problem in the storage pool which is null by<br>
&gt; &gt;&gt; the log.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Please open a bug and specify the exact steps that you took,<br>
&gt; &gt;&gt; ie.<br>
&gt; &gt;&gt; 1. $ virt-v2v -o rhev ...<br>
&gt; &gt;&gt; 2. goto the admin portal and try to view the VMs in the export domain<br>
&gt; &gt;&gt; 3. etc...<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; If you can attach the ova without the disk it will be great.<br>
&gt; &gt; And please attach the engine.log as well.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Shahar.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; On 21.07.16 10:16, Cam Mac wrote:<br>
&gt; &gt;&gt; &gt; Sent, thanks Shahar.<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; On Thu, Jul 21, 2016 at 10:05 AM, Shahar Havivi &lt;<a href="mailto:shavivi@redhat.com">shavivi@redhat.com</a>&gt; wrote:<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; On 21.07.16 10:03, Cam Mac wrote:<br>
&gt; &gt;&gt; &gt; &gt; OK,<br>
&gt; &gt;&gt; &gt; &gt; Can you please share the engine.log<br>
&gt; &gt;&gt; &gt; &gt; &gt; Hi Shahar,<br>
&gt; &gt;&gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; &gt; Doesn&#39;t appear to be there:<br>
&gt; &gt;&gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; &gt; engine=&gt; select vm_name from vm_static where vm_name=&#39;wvm2&#39;;<br>
&gt; &gt;&gt; &gt; &gt; &gt;  vm_name<br>
&gt; &gt;&gt; &gt; &gt; &gt; ---------<br>
&gt; &gt;&gt; &gt; &gt; &gt; (0 rows)<br>
&gt; &gt;&gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; &gt; Thanks,<br>
&gt; &gt;&gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; &gt; Cam<br>
&gt; &gt;&gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; &gt; On Thu, Jul 21, 2016 at 8:33 AM, Shahar Havivi &lt;<a href="mailto:shavivi@redhat.com">shavivi@redhat.com</a>&gt;<br>
&gt; &gt;&gt; &gt; &gt; wrote:<br>
&gt; &gt;&gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; On 20.07.16 20:06, Richard W.M. Jones wrote:<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; On Wed, Jul 20, 2016 at 07:16:32PM +0100, Cam Mac wrote:<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; The import doesn&#39;t happen automatically, you have to do the final<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; step<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; manually (when using the command line).  See:<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; <a href="http://libguestfs.org/virt-v2v.1.html#output-to-rhev" rel="noreferrer" target="_blank">http://libguestfs.org/virt-v2v.1.html#output-to-rhev</a><br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; However that error shouldn&#39;t happen.  It looks like the name is<br>
&gt; &gt;&gt; &gt; &gt; the<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; same as the name of an existing VM.  From virt-v2v you can do the<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; whole conversion/import over again, this time adding the `-on<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; new_name&#39; option to the command line (obviously choosing a name<br>
&gt; &gt;&gt; &gt; &gt; which<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; is not otherwise being used).<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; I don&#39;t know if there&#39;s a way to get oVirt to change the name<br>
&gt; &gt;&gt; &gt; &gt; when<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; importing from the export domain.  As far as I know you have to<br>
&gt; &gt;&gt; &gt; &gt; start<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; the import from scratch.<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; There&#39;s no existing VM with that name that I can see. It may have<br>
&gt; &gt;&gt; &gt; &gt; come<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; from<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; one of my earlier import attempts,<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; though that earlier attempt did not show up in the GUI, it did<br>
&gt; &gt;&gt; &gt; &gt; write<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; files<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; to the export domain.<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; I re-ran the conversion again with a rename but it failed to<br>
&gt; &gt;&gt; &gt; &gt; import it<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; again, with the same error.<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; Could there be a record in the DB somewhere, or does it look at the<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; files<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; alone? Just trying to work out where the conflict is.<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; I had a look at the ovirt-engine code where<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; ACTION_TYPE_FAILED_NAME_ALREADY_USED is raised and it appears to come<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; from a database check.  However I&#39;m not really familiar enough with<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; the code to be sure.  Probably best to ask an oVirt developer, or try<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; dumping the database to see if &quot;wvm2&quot; appears in a column anywhere.<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; Rich.<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; --<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; Richard Jones, Virtualization Group, Red Hat<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; <a href="http://people.redhat.com/~rjones" rel="noreferrer" target="_blank">http://people.redhat.com/~rjones</a><br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; Read my programming and virtualization blog:<br>
&gt; &gt;&gt; &gt; &gt; <a href="http://rwmj.wordpress.com" rel="noreferrer" target="_blank">http://rwmj.wordpress.com</a><br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; Fedora Windows cross-compiler. Compile Windows programs, test, and<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; build Windows installers. Over 100 libraries supported.<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; <a href="http://fedoraproject.org/wiki/MinGW" rel="noreferrer" target="_blank">http://fedoraproject.org/wiki/MinGW</a><br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; It may be in the DB...<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; Try to run this via psql:<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; select vm_name from vm_static where vm_name=&#39;wvm2&#39;;<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; and see if there is a result...<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Users mailing list<br>
&gt; &gt; <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
&gt; &gt; <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Campbell McLeay · Senior Systems Administrator<br>
&gt;<br>
&gt; London · New York · Los Angeles · Montréal<br>
&gt; T  <a href="tel:%2B44%20%280%2920%207344%208000" value="+442073448000">+44 (0)20 7344 8000</a><br>
&gt; 19-23 Wells Street, London W1T 3PQ<br>
&gt; Twitter · Facebook · <a href="http://framestore.com" rel="noreferrer" target="_blank">framestore.com</a><br>
</div></div></blockquote></div><br></div>