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.
Test the following scenarios according to Kevin and Fam's suggestions on qemu-kvm-0.12.1.2-2.415.el6_5.1. But there's some problem in scenario (2).
(1) Internal snapshot with qcow2 => Pass.
a. Boot a guest with qcow2 format
b. Create internal snapshot 1 during the guest boot.
(qemu) savevm 1
c. Login guest after guest boot up and ping external host. Then create another internal snapshot
(qemu) savevm 2
d. (qemu) loadvm 1
c. (qemu) loadvm 2
Result: Internal snapshot could be created and loaded successfully.
(2) qemu-img create -f vmdk -o subformat=monolithicFlat /tmp/a.vmdk 1G
Formatting '/tmp/a.vmdk', fmt=vmdk size=1073741824 compat6=off subformat='monolithicFlat' zeroed_grain=off
[root@localhost home]#
[root@localhost home]#
[root@localhost home]# qemu-img info /tmp/a.vmdk
image: /tmp/a.vmdk
file format: raw
virtual size: 0 (0 bytes)
disk size: 4.0K
[root@localhost home]#
==> As a result, the file format is raw instead of "vmdk", and the virtual size is 0 instead of 1G.
Downgrade the qemu-kvm to qemu-kvm-0.12.1.2-2.415.el6, no this issue:
# rpm -qa | grep qemu
gpxe-roms-qemu-0.9.7-6.10.el6.noarch
qemu-img-0.12.1.2-2.415.el6.x86_64
qemu-kvm-0.12.1.2-2.415.el6.x86_64
qemu-kvm-debuginfo-0.12.1.2-2.415.el6.x86_64
qemu-kvm-tools-0.12.1.2-2.415.el6.x86_64
[root@localhost qemu-kvm-415]# qemu-img create -f vmdk -o subformat=monolithicFlat /tmp/b.vmdk 1G
Formatting '/tmp/b.vmdk', fmt=vmdk size=1073741824 compat6=off subformat='monolithicFlat' zeroed_grain=off
[root@localhost qemu-kvm-415]#
[root@localhost qemu-kvm-415]#
[root@localhost qemu-kvm-415]# qemu-img info /tmp/b.vmdk
image: /tmp/b.vmdk
file format: vmdk
virtual size: 1.0G (1073741824 bytes)
disk size: 4.0K
Hi, Kevin and Fam
Could you help have a look at scenario (2)? Is this a regression?
Thanks,
Qunfang
Test the following scenarios on qemu-kvm-0.12.1.2-2.415.el6_5.2.x86_64, passed.
(1) Internal snapshot with qcow2 => Pass.
a. Boot a guest with qcow2 format
b. Create internal snapshot 1 during the guest boot.
(qemu) savevm 1
c. Login guest after guest boot up and ping external host. Then create another internal snapshot
(qemu) savevm 2
d. (qemu) loadvm 1
c. (qemu) loadvm 2
Result: Internal snapshot could be created and loaded successfully.
(2) # qemu-img create -f vmdk -o subformat=monolithicFlat /tmp/a.vmdk 1G
Formatting '/tmp/a.vmdk', fmt=vmdk size=1073741824 compat6=off subformat='monolithicFlat' zeroed_grain=off
[root@localhost home]#
[root@localhost home]# qemu-img info /tmp/a.vmdk
image: /tmp/a.vmdk
file format: vmdk ==> This is correct.
virtual size: 1.0G (1073741824 bytes)
disk size: 4.0K
[root@localhost home]# qemu-img create -f vmdk -o subformat=monolithicFlat /tmp/b.vmdk 100G
Formatting '/tmp/b.vmdk', fmt=vmdk size=107374182400 compat6=off subformat='monolithicFlat' zeroed_grain=off
[root@localhost home]#
[root@localhost home]#
[root@localhost home]# qemu-img info /tmp/b.vmdk
image: /tmp/b.vmdk
file format: vmdk ==> This is correct.
virtual size: 100G (107374182400 bytes)
disk size: 4.0K
Besides, we will run performance test, function test (virtual block, glusterfs, storage vm migration, qcow2, vmdk) to verify this 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-1750.html