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 1010909 - virt-p2v is mistaken and fails when converting multipath SAN attached server
Summary: virt-p2v is mistaken and fails when converting multipath SAN attached server
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virt-p2v
Version: 6.3
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-23 09:37 UTC by Vincent Alloy
Modified: 2015-03-12 17:17 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-12 17:17:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Vincent Alloy 2013-09-23 09:37:51 UTC
Description of problem:
When using virt-p2v on a multipath SAN attached server with LVM, virt-p2v is mistaken and lists several time the same device. But LVM detects duplicated volumes and chooses to use only the last detected. So if you check all the harddrives (because you don't know which one is used by the OS), the p2v process will failed because it will try to read a device no more used by the OS.
You can see which volume is used by using the vgs command on the console.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Connect a server to a SAN with multipath access and create logical volume
2. Launch virt-p2v
3. Check all harddrives

Actual results:
The same device is listed several time so if you don't know which one is used by the OS. Without knowing which one is the good one, you have to check all and it will failed because it will try to convert a not connected volume.

Expected results:
You should only see the used one (maybe LVM can help you because it automically disconnect the duplicated device).

Additional info:
I manage to do the conversion by checking which volume was used by the system with the vgs command. So after on the GUI I've only chosen the right one and the conversion process succeeded.

Comment 2 RHEL Program Management 2013-10-14 02:00:05 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 3 Richard W.M. Jones 2015-03-12 17:17:06 UTC
I'm closing this bug:

 - virt-p2v has been rewritten for RHEL 7.2

 - Unofficial previews of the new version are available:
   http://oirase.annexia.org/virt-p2v/

 - If a similar bug occurs with the new version of virt-p2v,
   please open a new bug against Red Hat Enterprise Linux 7 / libguestfs


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