Bug 1362497

Summary: [RFE] Add support for importing Debian/Ubuntu guests with virt-v2v
Product: [Community] Virtualization Tools Reporter: Tomáš Golembiovský <tgolembi>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: ptoscano, rbalakri, tgolembi
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1387213 (view as bug list) Environment:
Last Closed: 2017-07-26 14:53:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1335837, 1387213    

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.