<div dir="ltr"><div>Hi Shahar,</div><div><br></div><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span>> I'm trying to import some .ova images from VMWare that have been copied to<br>
> a node. In both cases they fail with the error:<br>
><br>
> "Conversion of VM from exteral enironment failed: copy-disk stream closed<br>
> unexpectedly"<br>
</span>First you need to look at vdsm log to see more details why it failed.<br>
<span><br></span></blockquote><div>Here is more detail:</div><div><br></div><div>2016-07-14 16:59:01,058 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.ConvertOvaVDSCommand] (pool-7-thread-10) [49ba3bae] START, ConvertOvaVDSCommand(HostName = kvm-ldn-01, ConvertOvaVDSParameters:{runAsync='true'</div><div>, hostId='385dc50a-0617-4e84-9aea-1d9e0de294a5', ovaPath='/home/export/vm/wvm2.ova', vmName='wvm2', storageDomainId='9d1fe12c-5c5f-49ad-a875-a735acba2530', storagePoolId='f351dc97-b524-434c-b14d-c12e04ac4c7d', virtio</div><div>2016-07-14 16:59:02,230 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (pool-7-thread-10) [49ba3bae] Correlation ID: 49ba3bae, Call Stack: null, Custom Event ID: -1, Message: Starting to convert Vm wvm2</div><div><div>2016-07-14 17:04:44,765 INFO [org.ovirt.engine.core.bll.exportimport.ConvertVmCallback] (DefaultQuartzScheduler4) [49ba3bae] Conversion of VM from exteral enironment failed: copy-disk stream closed unexpectedly</div><div>2016-07-14 17:04:45,793 ERROR [org.ovirt.engine.core.bll.exportimport.ConvertOvaCommand] (DefaultQuartzScheduler2) [43b33ecc] Ending command 'org.ovirt.engine.core.bll.exportimport.ConvertOvaCommand' with failure.</div><div>2016-07-14 17:04:45,882 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler2) [43b33ecc] Correlation ID: 49ba3bae, Call Stack: null, Custom Event ID: -1, Message: Failed to convert Vm wvm2</div></div><div><br></div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span><br>
><br>
> I'm considering using virt-v2v to do the conversion of the .ova, but I'm<br>
> not sure how to get that into ovirt then.<br>
><br>
> Any suggestions?<br></span></blockquote><div><br></div><div>What I ended up doing was using Joey Boggs's guest-image-ovf-creator.py to convert the image to the 'correct'</div><div>structure and then upload it via engine-image-uploader to my export domain. It did this, and I can see the files</div><div>in the export domain, but I can't import them via the GUI as they don't appear. Should they? Or should there be</div><div>an 'import domain' somewhere? </div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span>
</span>Try to run virt-v2v -i ova -o local to import the ova to local disk (see the<br>
virt-v2v man page for more options) and see if that pass - the errors can be<br>
more detailed there (it suppose to reflect the same error that you get in vdsm<br>
log)., another options you can do is run virt-v2v in verbose mode (virt-v2v<br>
-v).<br></blockquote><div><br></div><div>I can try this but I'm not quite sure how to go about it. The ovf I created via guest-image-ovf-creator is on an NFS mount </div><div>on the engine: do I need to run virt-v2v on one of the nodes? If so, I assume I need to set the output to an export domain.</div><div>Does '-o local' stick it on the node's VM storage?</div><div><br></div><div><br></div><div>Thanks,</div><div><br>Cam</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
><br>
> Regards,<br>
><br>
> Cam<br>
<br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
> <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
<br>
</blockquote></div><br></div></div>