Bug 1362497 - [RFE] Add support for importing Debian/Ubuntu guests with virt-v2v
Summary: [RFE] Add support for importing Debian/Ubuntu guests with virt-v2v
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1335837 1387213
TreeView+ depends on / blocked
 
Reported: 2016-08-02 11:20 UTC by Tomáš Golembiovský
Modified: 2017-07-26 14:53 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1387213 (view as bug list)
Environment:
Last Closed: 2017-07-26 14:53:06 UTC
Embargoed:


Attachments (Terms of Use)

Description Tomáš Golembiovský 2016-08-02 11:20:27 UTC
Description of problem:

Currently virt-v2v can import only RPM based linux guests. When attempting to import Ubuntu guest the import ends with an error:

    virt-v2v: error: virt-v2v is unable to convert this guest type(linux/ubuntu)

Comment 1 Pino Toscano 2016-10-26 15:05:04 UTC
Update on the current status of this:

- thanks to the work by Tomáš Golembiovský and myself, most of the basic work for Debian/Ubuntu guests is in, and the conversion is enabled since libguestfs >= 1.35.7

- the only known issue at this time is the lack of method to get and set the default kernel in Grub2 (neither grubby nor the Perl Bootloader module are available)

- it might need further testing, especially with all the source hypervisors supported/tested/implemented (VMware, Xen, VirtualBox, Virtuozzo, etc), as they require tweaks (e.g. uninstallation/deconfiguration of tools)

Comment 2 Richard W.M. Jones 2017-02-16 14:18:03 UTC
Tomáš/Pino: What is the status of this upstream now?  And is it sufficiently
working that you are able to support it in RHEL 7.4?

Comment 3 Pino Toscano 2017-02-16 16:37:27 UTC
Rich: more or less what was outlined in comment 1, if I didn't miss anything.

Comment 4 Tomáš Golembiovský 2017-02-17 12:16:01 UTC
The only real issue is the lack of grub2 support from our side, as Pino wrote. That means the default kernel in guest has to have virtio drivers so the guest can boot after conversion.

Besides that the feature is in pretty good shape IMHO.

Comment 5 Richard W.M. Jones 2017-07-26 14:53:06 UTC
Closing, this is upstream in 1.36.


Note You need to log in before you can comment on or make changes to this bug.