<div dir="ltr">I see.  Thanks for the info!  now I know how I can work around this.  The BSD system was pfsense, so I can just install new and reload the configuration, as for atomic, I don't have a large number of them so I will just install new and docker load the containers in.<br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 7, 2017 at 1:12 AM, Pino Toscano <span dir="ltr"><<a href="mailto:ptoscano@redhat.com" target="_blank">ptoscano@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<span class=""><br>
On Friday, 7 April 2017 03:57:30 CEST solarflow99 wrote:<br>
> I have a Fedora 24 system I can already get this working for most OVA<br>
> files, just the BSD and atomic ones weren't recognized.<br>
<br>
</span>BSD systems are not currently supported by virt-v2v, they need an<br>
ad-hoc conversion module.<br>
<br>
Inspection of Atomic systems currently does not work, see also<br>
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1102241" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/<wbr>show_bug.cgi?id=1102241</a><br>
<span class=""><br>
> Assuming my<br>
> version of virt-v2v is just old, I installed rawhide on a different system<br>
> and tried with virt-v2v-1.37.8-1.fc27.x86_64 and now its having another<br>
> problem.  Is there a known version of virt-v2v I should be using?  Here is<br>
> the output from the rawhide attempt happens for any OVA file I try:<br>
><br>
> # virt-v2v -v -x -i ova graylog.ova -o qemu -of qcow2 -os /var/tmp<br>
> --qemu-boot<br>
</span>> [...]<br>
<span class="">> libguestfs: trace: v2v: launch = -1 (error)<br>
> virt-v2v: error: libguestfs error: could not create appliance through<br>
> libvirt.<br>
><br>
> Try running qemu directly without libvirt using this environment variable:<br>
> export LIBGUESTFS_BACKEND=direct<br>
><br>
> Original error from libvirt: Cannot access backing file '/root/graylog.ova'<br>
> of storage file '/var/tmp/v2vovle91365.qcow2' (as uid:107, gid:107):<br>
> Permission denied [code=38 int1=13]<br>
<br>
</span>The problem is that the OVA can be read as root only, and you are<br>
running as root.  On Fedora, libguestfs uses libvirt by default to spawn<br>
an appliance, and libvirt uses by default a non-priviledged user when<br>
running as root.<br>
<br>
We have a (ugly IMHO) workaround for some of the cases, as you can see<br>
from a snippet of the output:<br>
<span class=""><br>
| virt-v2v: warning: making OVA directory public readable to work around<br>
| libvirt bug <a href="https://bugzilla.redhat.com/1045069" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/<wbr>1045069</a><br>
<br>
</span>but it doesn't always work.  The ways to overcome this problem are<br>
1) run virt-v2v as non-root<br>
2) temporarly export LIBGUESTFS_BACKEND=direct for that virt-v2v<br>
   execution<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Pino Toscano</font></span></blockquote></div><br></div>