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.
Description of problem:
linux guest do not use the virtio driver for disk and network after conversion
Version-Release number of selected component (if applicable):
virt-v2v-0.8.2-2.el6.x86_64
libguestfs-1.7.17-24.el6.x86_64
augeas-libs-0.9.0-1.el6.x86_64
febootstrap-supermin-helper-2.11-7.el6.x86_64
hivex-1.2.4-3.el6.x86_64
libguestfs-winsupport-1.0-7.el6.x86_64
libvirt-0.9.4-2.el6.x86_64
virtio-win-1.3.3-0.el6
How reproducible:
100%
Steps to Reproduce:
1. convert a linux guest
2. check guest's xml file after conversion
...
<disk type='file' device='disk'>
<driver name='qemu' type='raw'/>
<source file='/mnt/data/images/kvm-rhel5.7-but-grub-in-rhel6.1'/>
<target dev='hda' bus='ide'/>
<alias name='ide0-0-0'/>
<address type='drive' controller='0' bus='0' unit='0'/>
</disk>
...
<interface type='bridge'>
<mac address='54:52:00:78:b3:ef'/>
<source bridge='breth0'/>
<target dev='vnet1'/>
<model type='e1000'/>
<alias name='net0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>
...
3.check the guest modprobe.conf file if guest is rhel5
#cat /etc/modprobe.conf
before conversion :
alias eth0 8139cp
alias scsi_hostadapter ata_piix
after conversion :
alias eth0 e1000
Actual results:
do not use virtio driver
Expected results:
use virtio driver
Additional info:
rhel5 and rhel6 guest both can reproduce this bug
I test it with virt-v2v-0.8.2-1.el6.x86_64 , it is good ,the guest will use virtio_blk and virtio_net , so it is a regression bug .
Hi,Matt
We also find there is not /var/lib/virt-v2v/virt-v2v.db file in v2v host after
install virt-v2v-0.8.2-2
some others problems seems relate with this file
Now we can not convert windows guest , will get error like :
"virt-v2v: No app in config matches os='windows' name='virtio' major='6'
minor='1' arch='x86_64'"
major sometime = 5 ,and linux guest also get some message like but it can
convert successfully :
virt-v2v: No capability in config matches os='linux' name='virtio'
distro='rhel' major='5' minor='6'
virt-v2v: No capability in config matches os='linux' name='cirrus'
distro='rhel' major='5' minor='6'
and linux do not use virtio dirver .
So I think these maybe all relate with missing /var/lib/virt-v2v/virt-v2v.db .
Wenlong
Verify this issue with:
virt-v2v-0.8.3-1.el6.x86_64
libguestfs-1.7.17-26.el6.x86_64
libvirt-0.9.4-4.el6.x86_64
# ll /var/lib/virt-v2v/virt-v2v.db
-rw-r--r--. 1 root root 6863 Aug 20 01:06 /var/lib/virt-v2v/virt-v2v.db
Converted linux/windows guests successfully.
So change the status to VERIFIED.
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/RHSA-2011-1615.html
Description of problem: linux guest do not use the virtio driver for disk and network after conversion Version-Release number of selected component (if applicable): virt-v2v-0.8.2-2.el6.x86_64 libguestfs-1.7.17-24.el6.x86_64 augeas-libs-0.9.0-1.el6.x86_64 febootstrap-supermin-helper-2.11-7.el6.x86_64 hivex-1.2.4-3.el6.x86_64 libguestfs-winsupport-1.0-7.el6.x86_64 libvirt-0.9.4-2.el6.x86_64 virtio-win-1.3.3-0.el6 How reproducible: 100% Steps to Reproduce: 1. convert a linux guest 2. check guest's xml file after conversion ... <disk type='file' device='disk'> <driver name='qemu' type='raw'/> <source file='/mnt/data/images/kvm-rhel5.7-but-grub-in-rhel6.1'/> <target dev='hda' bus='ide'/> <alias name='ide0-0-0'/> <address type='drive' controller='0' bus='0' unit='0'/> </disk> ... <interface type='bridge'> <mac address='54:52:00:78:b3:ef'/> <source bridge='breth0'/> <target dev='vnet1'/> <model type='e1000'/> <alias name='net0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface> ... 3.check the guest modprobe.conf file if guest is rhel5 #cat /etc/modprobe.conf before conversion : alias eth0 8139cp alias scsi_hostadapter ata_piix after conversion : alias eth0 e1000 Actual results: do not use virtio driver Expected results: use virtio driver Additional info: rhel5 and rhel6 guest both can reproduce this bug I test it with virt-v2v-0.8.2-1.el6.x86_64 , it is good ,the guest will use virtio_blk and virtio_net , so it is a regression bug .