Bug 794680
Summary: | virt-v2v prints waring:WARNING:/boot/grub/device.map references unknown device /dev/fd0 | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | tingting zheng <tzheng> | |
Component: | virt-v2v | Assignee: | Matthew Booth <mbooth> | |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | |
Severity: | low | Docs Contact: | ||
Priority: | low | |||
Version: | 6.3 | CC: | lcui, lnovich, mzhan, rjones, rwu, yupzhang | |
Target Milestone: | rc | Keywords: | Regression | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | virt-v2v-0.8.9-1.el6 | Doc Type: | Bug Fix | |
Doc Text: |
Cause:
virt-v2v renames block devices in various guest config files, including /etc/fstab, during conversion. It emits a warning if it encounters a reference to a block device it doesn't know about.
Consequence:
virt-v2v would emit a redundant warning if a guest's /etc/fstab referenced /etc/fd0.
Fix:
Warnings about floppy devices are now explicitly suppressed.
Result:
virt-v2v no longer emits a warning.
|
Story Points: | --- | |
Clone Of: | ||||
: | 852627 (view as bug list) | Environment: | ||
Last Closed: | 2013-02-21 10:59:14 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 840699, 852627 |
Description
tingting zheng
2012-02-17 10:10:21 UTC
Also tested converting a vm with a cdrom device specified in fstab,virt-v2v will print waring:/etc/fstab references unknown device /dev/hdc. Steps: 1.Before conversion,prepare a vm with a cdrom device specified in fstab in guest,fstab entry: /dev/hdc /media/cdrom auto pamconsole,exec,noauto,managed 0 0 2.Use virt-v2v to convert the guest. # virt-v2v -ic xen+ssh://10.66.72.123 -os default -b breth0 rhel4-32-hvm-min root.72.123's password: root.72.123's password: rhel4-32-hvm-min.img: 100% [======================================================================================]D 0h00m36s virt-v2v: WARNING: /etc/fstab references unknown device /dev/hdc. This entry must be manually fixed after conversion. virt-v2v: WARNING: /boot/grub/device.map references unknown device /dev/fd0. This entry must be manually fixed after conversion. virt-v2v: rhel4-32-hvm-min configured with virtio drivers. This is fixed upstream in commit 6924a592223b52f707868a84b98865391c03d7c3 Verified partial failed, so move the status to "Assigned". Summary: Convert guest with floppy verified passed, but Converted a guest with CDrom(In comment 3), the warning message still popup. Failed Detail please refer to below: 1. Before conversion,prepare a vm with a cdrom device specified in fstab in guest,fstab entry: /dev/hdc /media/cdrom auto pamconsole,exec,noauto,managed 0 0 2. Convert from Xen to KVM: [root@andytest ~]# virt-v2v -ic xen+ssh://10.66.72.23 -os default -b br0 rhel4-32-hvm-min root.72.23's password: root.72.23's password: rhel4-32-hvm-min.img: 100% [==============================================================================================================================]D 0h00m42s virt-v2v: WARNING: /etc/fstab references unknown device /dev/hdc. This entry must be manually fixed after conversion. virt-v2v: rhel4-32-hvm-min configured with virtio drivers. The warning message mentioned in Comment 3 still existed 3. After conversion,check guest file /etc/fstab /dev/hda /media/cdrom auto pamconsole,exec,noauto,managed 0 0 So change the status to "ASSIGNED" The bug specifically references fd0, but the test was of hdc. The hdc warning is different, and needs a different bug. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-0477.html *** Bug 869562 has been marked as a duplicate of this bug. *** |