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 2008910 - qcow2 images should be built in 1.1 compat format
Summary: qcow2 images should be built in 1.1 compat format
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: osbuild-composer
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Ondřej Budai
QA Contact: Wei Shi
URL:
Whiteboard:
Depends On:
Blocks: 2008928
TreeView+ depends on / blocked
 
Reported: 2021-09-29 13:28 UTC by Ondřej Budai
Modified: 2021-12-07 21:33 UTC (History)
4 users (show)

Fixed In Version: osbuild-composer-33.3-1.el9_b
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2008928 (view as bug list)
Environment:
Last Closed: 2021-12-07 21:30:47 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github osbuild osbuild-composer pull 1848 0 None Merged distro/rhel90: use qcow2 compat 1.1 for qcows 2021-10-01 13:08:31 UTC
Red Hat Issue Tracker RHELPLAN-98483 0 None None None 2021-09-29 13:29:40 UTC

Description Ondřej Budai 2021-09-29 13:28:23 UTC
Description of problem:
qcow2 images built by osbuild-composer are currently in 0.10 compat format. As we want to be able to use this image on RHEL 7+ (not RHEL 6), it's fine to switch to a newer 1.1 compat format.

Version-Release number of selected component (if applicable):
osbuild-composer-33.2-1.el9_b.x86_64

Actual results:
$ qemu-img info rhel-guest-image.qcow2 
image: rhel-guest-image.qcow2
file format: qcow2
virtual size: 10 GiB (10737418240 bytes)
disk size: 598 MiB
cluster_size: 65536
Format specific information:
    compat: 0.10
    compression type: zlib
    lazy refcounts: false
    refcount bits: 16
    corrupt: false
    extended l2: false


Expected results:
$ qemu-img info rhel-guest-image.qcow2 
image: rhel-guest-image.qcow2
file format: qcow2
virtual size: 10 GiB (10737418240 bytes)
disk size: 598 MiB
cluster_size: 65536
Format specific information:
    compat: 1.1
    compression type: zlib
    lazy refcounts: false
    refcount bits: 16
    corrupt: false
    extended l2: false

Comment 1 Ondřej Budai 2021-09-29 13:32:17 UTC
Hello Wei, we agreed in https://issues.redhat.com/browse/COMPOSER-1149 that this needs to be fixed in 9.0 Beta, can you please give us a qa_ack?

Comment 5 Ondřej Budai 2021-10-02 08:18:56 UTC
Both Jakub and I tested the new build and the bug is fixed, I'm setting to preverified:

$ qemu-img info ced2b167-ee43-49ff-9fe2-a3537b9334b9-disk.qcow2                     
image: ced2b167-ee43-49ff-9fe2-a3537b9334b9-disk.qcow2
file format: qcow2
virtual size: 10 GiB (10737418240 bytes)
disk size: 598 MiB
cluster_size: 65536
Format specific information:
    compat: 1.1
    compression type: zlib
    lazy refcounts: false
    refcount bits: 16
    corrupt: false
    extended l2: false

Comment 8 Wei Shi 2021-10-04 16:26:10 UTC
Verified with the latest nightly build:

$ qemu-img info rhel-guest-image-9.0-20211004.2.x86_64.qcow2
image: rhel-guest-image-9.0-20211004.2.x86_64.qcow2
file format: qcow2
virtual size: 10 GiB (10737418240 bytes)
disk size: 598 MiB
cluster_size: 65536
Format specific information:
    compat: 1.1
    compression type: zlib
    lazy refcounts: false
    refcount bits: 16
    corrupt: false
    extended l2: false


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