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 791099

Summary: When the guest images already exist in local pool, virt-v2v prints waring:WARNING:/boot/grub/device.map references unknown device /dev/vda
Product: Red Hat Enterprise Linux 6 Reporter: tingting zheng <tzheng>
Component: virt-v2vAssignee: Matthew Booth <mbooth>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.3CC: rwu, whuang, yupzhang
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-16 09:45:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description tingting zheng 2012-02-16 07:56:40 UTC
Description of problem:
When the guest images already exist in local pool,virt-v2v prints waring:WARNING:/boot/grub/device.map references unknown device /dev/vda

Version-Release number of selected component (if applicable):
virt-v2v-0.8.6-1.el6.x86_64
libvirt-0.9.10-1.el6.x86_64
libguestfs-1.16.5-1.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1.Use virt-v2v to convert a guest.
# virt-v2v  -ic qemu+ssh://10.66.72.122/system -os default -b rhevm kvm-rhel6.2-x86_64
The authenticity of host '10.66.72.122 (10.66.72.122)' can't be established.
RSA key fingerprint is 0e:e6:24:0e:16:b3:10:73:44:e8:7b:f2:fd:39:6f:66.
Are you sure you want to continue connecting (yes/no)? yes
root.72.122's password:
root.72.122's password:
kvm-rhel6.1-x86_64.img: 100% [====================================================================================]D 0h03m55s
virt-v2v: WARNING: The connected hypervisor does not support feature pae.
virt-v2v: kvm-rhel6.2-x86_64 configured with virtio drivers.

2.Undefine the converted guest:
# virsh list --all
 Id    Name                           State
----------------------------------------------------
 -     kvm-rhel6.2-x86_64             shut off

# virsh undefine kvm-rhel6.2-x86_64
Domain kvm-rhel6.2-x86_64 has been undefined

3.Use virt-v2v to convert the guest again:
# virt-v2v  -ic qemu+ssh://10.66.72.122/system -os default -b rhevm kvm-rhel6.2-x86_64
root.72.122's password:
virt-v2v: WARNING: Storage volume kvm-rhel6.1-x86_64.img already exists on the target. NOT copying it again. Delete the volume and retry to copy again.
virt-v2v: WARNING: /boot/grub/device.map references unknown device /dev/vda. This entry must be manually fixed after conversion.
virt-v2v: WARNING: The connected hypervisor does not support feature pae.
virt-v2v: kvm-rhel6.2-x86_64 configured with virtio drivers.



Actual results:
There is warning:virt-v2v: WARNING: /boot/grub/device.map references unknown device /dev/vda. This entry must be manually fixed after conversion.

Expected results:
There is should no warning as actual results.


Additional info:
1.When tested with virt-v2v-0.8.3-5.el6.x86_64,there is no such warning.
# virt-v2v  -ic qemu+ssh://10.66.72.122/system -os default -b rhevm kvm-rhel6.2-x86_64
root.72.122's password:
virt-v2v: WARNING: Storage volume kvm-rhel6.1-x86_64.img already exists on the target. NOT copying it again. Delete the volume and retry to copy again.
virt-v2v: WARNING: The connected hypervisor does not support feature pae.
virt-v2v: kvm-rhel6.2-x86_64 configured with virtio drivers.

Comment 3 Matthew Booth 2012-02-16 09:45:58 UTC
This is expected behaviour. The second conversion is using unconverted metadata and converted images. Warnings are to be expected when doing this.