[Libguestfs] [PATCH 5/5] v2v: Add -o rhv-upload output mode.

Tomáš Golembiovský tgolembi at redhat.com
Thu Feb 22 18:23:13 UTC 2018


On Thu, 22 Feb 2018 14:31:28 +0000
"Richard W.M. Jones" <rjones at redhat.com> wrote:

> On Thu, Feb 22, 2018 at 01:57:25PM +0000, Richard W.M. Jones wrote:
> > PROBLEMS:
> >  - Spools to a temporary disk
> >  - Need to specify direct/indirect upload via flag
> >  - Location of ca.pem
> >  - Target cluster
> >  - Delete disks on failure, or rename disks on success?
> >  - Handling of sparseness in raw format disks  
> 
> Actually there are a few more problems I forgot about:
> 
> - How should disks be named?  Currently it uses <guestname>-000, -001 etc

IMHO this is good enough. The names are not that important, the UUID is
the key.

> - How should the OVA file refer to disks?

By disk UUID and volume UUID. You should have the first one from the
upload API and I guess you'll have to query for the volume UUID
afterwards.

    Tomas

> 
> Rich.
> 
> -- 
> Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
> Read my programming and virtualization blog: http://rwmj.wordpress.com
> virt-builder quickly builds VMs from scratch
> http://libguestfs.org/virt-builder.1.html
> 
> _______________________________________________
> Libguestfs mailing list
> Libguestfs at redhat.com
> https://www.redhat.com/mailman/listinfo/libguestfs


-- 
Tomáš Golembiovský <tgolembi at redhat.com>




More information about the Libguestfs mailing list