Bug 1299250
Summary: | qemu-img created VMDK images are unbootable | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Robert Scheck <redhat-bugzilla> | ||||
Component: | qemu-kvm | Assignee: | Fam Zheng <famz> | ||||
Status: | CLOSED ERRATA | QA Contact: | Ping Li <pingl> | ||||
Severity: | medium | Docs Contact: | Yehuda Zimmerman <yzimmerm> | ||||
Priority: | unspecified | ||||||
Version: | 7.2 | CC: | chayang, famz, huding, inetkach, jherrman, juzhang, knoel, ppostler, rbalakri, virt-maint, xfu, yuhuang, yzimmerm | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | qemu-kvm-1.5.3-111.el7 | Doc Type: | Release Note | ||||
Doc Text: |
Data layout of VMDK images with streamOptimized sub-format was incorrect
Previously, the data layout of a Virtual Machine Disk (VMDK) image with a streamOptimized sub-format created by the qemu-img tool was incorrect. This prevented the VMDK image from being bootable when imported to ESX servers. In this update, the image is converted to a valid VMDK streamOptimized image. This results in the VMDK image being bootable.
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2016-11-03 20:09:53 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1203710, 1299116, 1305606, 1313485 | ||||||
Attachments: |
|
Description
Robert Scheck
2016-01-17 20:45:38 UTC
Robert, thanks for the bugreport. As I said in the other BZ (bug 1299116), if this issue is critical or in any way time sensitive, please raise a ticket through your regular Red Hat support channels to make certain it receives the proper attention and prioritization that will result in a timely resolution. For information on how to contact the Red Hat production support team, please visit: https://www.redhat.com/support/process/production/#howto Ademar, thanks for the reminder. Cross-filed case 01569297 on the Red Hat customer portal. Does this mean there is something to test? If so, may you share the testing update with me (either here or via the ticket), please? Yes, you can test the scratch build rpms that include the fixes for this bug (and bz 1299116): http://people.redhat.com/fzheng/bz1299250/ Thanks! Btw, is it intended that there is no SRPM? The %changelog does not mention anything, so I am wondering if it's really patched (before running my tests). My reply to comment 7 from the other day got lost. Robert, the SRPM is not preserved but the packages do have the fix. Thanks, Fam I would like to confirm that the updated RPM (qemu-img-1.5.3-108.el7.test) works fine for me and passed all my tests regarding this issue. Great, thanks! This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions Fix included in qemu-kvm-1.5.3-111.el7 Reproduced the issue with qemu-kvm-1.5.3-110.el7.x86_64. After step 7, guest cannot boot up. Verified the issue with qemu-kvm-1.5.3-111.el7.x86_64(Step 3 is unnecessary). After step 7, guest can boot up successfully. Steps to reproduce: 1. Create a guest on ESXi 5.1 via vSphere and copy out the flat vmdk file(such as rhel6.8z_64_lazy-flat.vmdk, rename it as example.img. The format of the file is raw). 2. qemu-img convert example.img -O vmdk -o adapter_type=lsilogic,subformat=streamOptimized,compat6 example.vmdk 3. printf '\x03' | dd conv=notrunc of=example.vmdk bs=1 seek=$((0x4)) 4. sh example.ovf.sh 5. tar cf example.ova example.ovf example.vmdk 6. Import example.ova into ESXi 5.1. 7. Boot up the guest. 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. https://rhn.redhat.com/errata/RHSA-2016-2585.html |