Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 875647

Summary: Convert a VM with qed format to libvirt failed
Product: Red Hat Enterprise Linux 6 Reporter: Cui Lei <lcui>
Component: virt-v2vAssignee: Matthew Booth <mbooth>
Status: CLOSED DEFERRED QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.4CC: cwei, jwu, leiwang, mjenner, mzhan, rbalakri, rjones, tzheng
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-18 11:22:47 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:
Attachments:
Description Flags
guest prev inspect log none

Description Cui Lei 2012-11-12 09:38:12 UTC
Description of Problem:
When use virt-v2v to convert a VM with qed format to libvirt, failed. Which hint "virt-v2v: No root device found in this operating system image."
Sometimes the progress bar display abnormally. which display repeatly many times.
Here is the source guest qemu-img info:
qemu-img info /var/lib/libvirt/images/qed.img
image: /var/lib/libvirt/images/qed.img
file format: qed
virtual size: 6.0G (6442450944 bytes)
disk size: 1.8G
cluster_size: 65536

related log please refer to the attachment.

Version-Release number of selected component:
virt-v2v-0.8.9-2.el6.x86_64
libguestfs-1.16.32-3.el6.x86_64
libvirt-0.10.2-7.el6.x86_64
augeas-libs-0.9.0-4.el6.x86_64
augeas-0.9.0-4.el6.x86_64
febootstrap-supermin-helper-3.12-2.el6.x86_64
febootstrap-3.12-2.el6.x86_64
perl-hivex-1.3.3-4.2.el6.x86_64
hivex-1.3.3-4.2.el6.x86_64
libguestfs-winsupport-1.0-7.el6.x86_64
virtio-win-1.5.4-1.el6.noarch



Step to Reproduce:
1. Prepare a qed disk format guest.
2. Convert the qed format guest to libvirt, by command like "virt-v2v -ic qemu+ssh://10.66.7.56/system -os default rhel63-qed"

Actual Results:
Converted failed, which hint "virt-v2v: No root device found in this operating system image."

Expected Results:
Converted should be successful.

Additional info:
Converted from local to local could be successful.(but this is rarely scenario) Failed when converted from remote to local.

Comment 1 Cui Lei 2012-11-12 09:38:51 UTC
Created attachment 643344 [details]
guest prev inspect log

Comment 4 RHEL Program Management 2012-12-14 07:05:28 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 6 Richard W.M. Jones 2014-11-18 11:22:47 UTC
Virt-v2v needs to run on the latest Red Hat Enterprise Linux release
to ensure it can correctly read and modify new guest filesystem
features.  A new version of virt-v2v is now available for RHEL 7.1.

Before RHEL 7.1 is released, follow the instructions here to
install unsupported preview packages on top of RHEL 7.0:
https://www.redhat.com/archives/libguestfs/2014-May/msg00090.html

After RHEL 7.1 is released, virt-v2v will be available in
Technical Preview.

You can run virt-v2v in a single virtual machine.  Other
requirements are covered here:
http://libguestfs.org/virt-v2v.1.html#resource-requirements

If you find a missing feature or bug in the new version of virt-v2v
please file a bug using the following link:
https://bugzilla.redhat.com/enter_bug.cgi?product=Red%20Hat%20Enterprise%20Linux%207&component=libguestfs