Re: [Libguestfs] [libguestfs/libguestfs] OpenStack support (#38)
On Wed, Jun 05, 2019 at 04:13:37PM +0000, kedorlaomer wrote:
According to the manpage,
Virt-p2v converts a physical machine to run virtualized on KVM, managed by libvirt, OpenStack, oVirt, Red Hat Virtualisation (RHV), or one of the other targets supported by virt-v2v(1).
In fact, `openstack` is one of the targets of `virt-v2v`. According to the file `p2v/conversion.c`, function `generate_wrapper_script`, the output mode of `virt-v2v` can be set to `glance`. The manpage of `virt-v2v` claims
only -o openstack should be used normally.
But even if `-o glance` was appropriate, there's no provision for setting additional command line flags such as `-oo …` in order to set up the server id, authentication and other conversion options.
Does the conversion to OpenStack work in any setup? Has it reportedly ever worked? What needs to be done to get it working?
Yes, the -o openstack mode does work and is used routinely. However virt-p2v needs additional work in order to support -o openstack, currently you can only convert to a flat image and then import that. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v
participants (1)
-
Richard W.M. Jones