I've found that the first export attempt always fails, but subsequent
exports tend to work afterwards. Although, it resets after a time. I'm
not sure if this is authentication related or not, but it only seems to
work for about 24 hours.

The easiest way to check that I've found is:

1. Make the initial export and let it finish.

2. Discard that initial export.

3. Export the VM again.

4. Try to archive it. (tar -cvJf a.tar.xz a.ova)

5. Check the file size of the archive, if it's greater than a couple MB
you're probably fine. (Do try to import it back and use it, if you want
to be sure.) If not, go to step 3.

It's definitely a pain, but the alternative would be to boot some other
VM and run a clone of the original. I've used FOG in the past for this
and it works fine even on the same hypervisor host. (Writes the disk
images to a NFS share or local filesystem) But you could use anything.
Others here have used Clonezilla. If you have a tape drive or some
other external backup device you could pass it through to another VM
and use it to write the backup directly.

Also, as a sidenote: oVirt 4.4 uses a newer imageio proxy that only
seems to work with Chromium based browsers. So don't try using Pale
Moon, Waterfox, etc. with it as you'll always get bad exports and
failed uploads. I had to find out the hard way.

- Patrick Hibbs

On Mon, 2022-02-21 at 19:34 +0000, Abe E wrote:
> So as title states I am moving VMs from an old system of ours with
> alot of issues to a new 4.4 HC Gluster envr although it seems I am
> running into what I have learnt is a 4.3 bug of some sort with
> exporting OVAs. 
> 
> Some of my OVAs are showing large GB sizes although their actual size
> may be 20K so they are showing no boot device as well, theres really
> no data there. Some OVAs are fine but some are broken. So I was
> wondering if anyone has dealt with this and whats the best way around
> this issue?
> 
> I have no access remotely at the moment but when I get to them, I
> read somewhere its better to just detach disks and download them to a
> HDD for example and build new VMs and upload those disks and attach
> them instead this way? 
> 
> Please do share if you have any better ways, usually I just Export
> OVA to an external HDD, remount to new ovirt and import OVA but seems
> a few of these VMs out of alot did not succeed and I am running out
> of downtime window.
> 
> Thanks a bunch, I have noticed repeated names helping me, I am very
> grateful for your help.
> _______________________________________________
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/ZVJBUKWK4VLLJRC3Y6WTD7WDA4GECOF2/

_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ZPDLSBJEMXECO5RFJKIOKWZ62EOALEX4/

Reply via email to