Bug 1764856
Summary: | OCP RHCOS v4.2.0 QCOW2 image for OSP is invalid | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Øystein Bedin <obedin> | |
Component: | RHCOS | Assignee: | Micah Abbott <miabbott> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Michael Nguyen <mnguyen> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 4.2.0 | CC: | amasolov, bbreard, dustymabe, imcleod, jligon, mkrutov, mtoth, nstielau, walters | |
Target Milestone: | --- | |||
Target Release: | 4.2.z | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1765738 (view as bug list) | Environment: | ||
Last Closed: | 2020-01-30 21:09:56 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: | 1765738 | |||
Bug Blocks: |
Description
Øystein Bedin
2019-10-23 21:53:18 UTC
I think this is just a case of a missing file suffix. The OpenStack image coming out of the build pipeline is ultimately compressed via `gzip`, but during the upload process the file suffix is dropped. To confirm, I went to: https://access.redhat.com/downloads/content/290/ver=4.2/rhel---8/4.2.0/x86_64/product-software And downloaded: rhcos-4.2.0-x86_64-openstack.qcow2 Checked the sa256sum: $ sha256sum rhcos-4.2.0-x86_64-openstack.qcow2 b9225f67ae16ef38625c9669d556324d6422b29b5f6bfbd87e960062bfb37f70 rhcos-4.2.0-x86_64-openstack.qcow2 Last modified: 2019-10-16 SHA-256 Checksum: b9225f67ae16ef38625c9669d556324d6422b29b5f6bfbd87e960062bfb37f70 When I check the filetype, it shows as gzip compressed data: $ file rhcos-4.2.0-x86_64-openstack.qcow2 rhcos-4.2.0-x86_64-openstack.qcow2: gzip compressed data, was "rhcos-42.80.20191002.0-openstack.qcow2", last modified: Wed Oct 2 13:48:08 2019, from Unix, original size 1911160832 The workaround here is to rename the file with the `.gz` suffix and uncompress the file before using it. $ mv rhcos-4.2.0-x86_64-openstack.qcow2 rhcos-4.2.0-x86_64-openstack.qcow2.gz $ gunzip rhcos-4.2.0-x86_64-openstack.qcow2.gz $ file rhcos-4.2.0-x86_64-openstack.qcow2 rhcos-4.2.0-x86_64-openstack.qcow2: QEMU QCOW2 Image (v3), 17179869184 bytes I'll investigate getting the file renamed appropriately on access.redhat.com Ahh, yes, you are correct. Forgot about that piece and missed the note in the official docs. Your suggestion to rename the file would be much better to avoid this confusion. Thank you. This is fixed in 4.3 at least; doesn't seem worth trying to fix 4.2. |