RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1253593 - [RFE]virt-p2v support conversion of citrix xen guest
Summary: [RFE]virt-p2v support conversion of citrix xen guest
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libguestfs
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Richard W.M. Jones
QA Contact: Virtualization Bugs
URL:
Whiteboard: P2V
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-14 08:17 UTC by tingting zheng
Modified: 2019-05-13 09:34 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-13 09:34:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Screenshot of virt-p2v error (273.28 KB, image/png)
2015-08-14 08:17 UTC, tingting zheng
no flags Details

Description tingting zheng 2015-08-14 08:17:41 UTC
Created attachment 1062931 [details]
Screenshot of virt-p2v error

Description:
As old version of virt-p2v support conversion of citrix xen guest,I file this RFE bug to track this issue.
Confirmed with Richard,if there is such requirement from customers,the priority of this bug will be raised.

Version:
virt-p2v-1.28.1-1.49.1.el7
virt-v2v-1.28.1-1.49.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Install guest on citrix xen,eg: windows 2008R2.

2.Boot the guest from pxe or iso to launch virt-p2v client GUI.

3.Error shows when try to launch virt-p2v:
virt-p2v:error:no non-removable disks were discovered on this machine.
This is fatal error and virt-p2v cannot continue.
xinit:connection to X server lost.

Actual results:
As description.

Expected results:
virt-p2v support conversion of citrix xen guest.

Additional info:
Attached the screenshot.

Comment 2 Vinícius Ferrão 2019-01-29 18:42:29 UTC
I've recently able to convert a lot of VM's from XenServer 7.2 using the virt-v2v tool.

The only caveat is that virt-p2v cannot find the Xen disks since they are not available from "lsscsi", as they are xen_blkfront loaded.

As a workarround I passed the kernel option: xen_emul_unplug=never to skip the xen_blkfront loading during the boot, so the disks can be loaded as standard QEMU disk drives and not Xen Paravirtual ones.

With this, the devices are detected as /dev/sda instead of /dev/xvda and I was able to convert a lot of servers from XenServer 7.2 to oVirt 4.2.7.

The virt-v2v even removed the xen-guest-tools packages from the guest operating system.

Comment 3 tingting zheng 2019-01-30 03:42:26 UTC
(In reply to Vinícius Ferrão from comment #2)
> I've recently able to convert a lot of VM's from XenServer 7.2 using the
> virt-v2v tool.
> 
> The only caveat is that virt-p2v cannot find the Xen disks since they are
> not available from "lsscsi", as they are xen_blkfront loaded.
> 
> As a workarround I passed the kernel option: xen_emul_unplug=never to skip
> the xen_blkfront loading during the boot, so the disks can be loaded as
> standard QEMU disk drives and not Xen Paravirtual ones.

Thanks for your information,virt-p2v should be able to convert guests from Citrix Xen without update any configurations after the bug is fixed.

> 
> With this, the devices are detected as /dev/sda instead of /dev/xvda and I
> was able to convert a lot of servers from XenServer 7.2 to oVirt 4.2.7.
> 
> The virt-v2v even removed the xen-guest-tools packages from the guest
> operating system.

This is expected since xen-guest-tools are not needed after conversion.

Comment 4 Richard W.M. Jones 2019-05-13 09:34:40 UTC
I don't think we're going to fix this in RHEL 7, so I'm closing it.  If there
is a business case for fixing this in RHEL 8 please open a new bug against that.


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