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 725685 - xenpv linux guest can not start after conversion because qemu get 'aio' invalid format
Summary: xenpv linux guest can not start after conversion because qemu get 'aio' inva...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virt-v2v
Version: 6.2
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Matthew Booth
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-26 09:56 UTC by Huang Wenlong
Modified: 2013-10-20 21:44 UTC (History)
4 users (show)

Fixed In Version: virt-v2v-0.8.3-1.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-06 14:49:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1615 0 normal SHIPPED_LIVE Low: virt-v2v security and bug fix update 2011-12-06 00:51:05 UTC

Description Huang Wenlong 2011-07-26 09:56:15 UTC
Description of problem:
xenpv linux guest  can not start after conversion because qemu get 'aio' invalid format.
qemu-kvm can not start with "format=aio "


Version-Release number of selected component (if applicable):
qemu-kvm-0.12.1.2-2.171.el6.x86_64
augeas-libs-0.7.2-6.el6.x86_64
febootstrap-supermin-helper-2.11-7.el6.x86_64
hivex-1.2.4-3.el6.x86_64
libguestfs-1.7.17-19.el6.x86_64
libguestfs-winsupport-1.0-6.el6.x86_64
libvirt-0.9.3-7.el6.x86_64
virtio-win-1.1.16-3.el6.noarch
virt-v2v-0.8.2-1.el6.x86_64



How reproducible:
100%

Steps to Reproduce:
1. convert guest 
#virt-v2v -ic xen+ssh://10.66.72.123 -os r6 -b breth0 xen-pv-rhel6.1-x86_64

2. try to start guest 
# virsh start  xen-pv-rhel6.1-x86_64
error: Failed to start domain xen-pv-rhel6.1-x86_64
error: internal error process exited while connecting to monitor: char device redirected to /dev/pts/3
qemu-kvm: -drive file=/home/v2v/rhel6u1-64b-pv.img,if=none,id=drive-virtio-disk0,format=aio: 'aio' invalid format

  
3.
#virsh dumpxml xen-pv-rhel6.1-x86_64
...
<disk type='file' device='disk'>
      <driver name='qemu' type='aio'/>
      <source file='/mnt/data/images/rhel6u1-64b-pv.img'/>
      <target dev='vda' bus='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </disk>
...


Actual results:
guest can not start 

Expected results:
guest can  start 

Additional info:
If we modify xml file from <driver name='qemu' type='aio'> to <driver name='qemu' type='raw'> ,the guest can start

Comment 2 yuping zhang 2011-07-27 10:44:07 UTC
As this issue stop all xen-pv guests started after conversion,so add the TestBlocker keyword.

Comment 5 Matthew Booth 2011-07-27 15:57:11 UTC
Fix for this is upstream.

Comment 8 Huang Wenlong 2011-08-26 02:53:14 UTC
Verify this bug in virt-v2v-0.8.3-3.el6 

#  virt-v2v -ic xen+ssh://10.66.72.123 -os r6 -b breth0 xen-pv-rhel6.1-i386
root.72.123's password: 
rhel6u1-32b-pv.img: 100% [=========================================================================================================]D 0h02m09s
virt-v2v: xen-pv-rhel6.1-i386 configured with virtio drivers.


# virsh start xen-pv-rhel6.1-i386 
Domain xen-pv-rhel6.1-i386 started


# virsh dumpxml xen-pv-rhel6.1-i386
....
<devices>
    <emulator>/usr/libexec/qemu-kvm</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/data/images/rhel6u1-32b-pv.img'/>
      <target dev='vda' bus='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </disk>
  
....

Comment 9 errata-xmlrpc 2011-12-06 14:49:41 UTC
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


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