The CoreOS team has always produced compressed RHCOS images, however they recently started to add the `.gz` extension to the image file to indicate more clearly that the files are compressed.
Previously, the image auto-download feature of the installer was able to uncompress the file on the fly thanks to the use of Content-Disposition + Content-Encoding in the HTTP headers. This change in the image filename caused it to stop uncompressing the file and retrieve the gzipped archive instead.
We need to make the installer able to work with RHCOS images having the `.gz` or not having it.
This is currently blocking PR https://github.com/openshift/installer/pull/2633 for bug 1768978.
Verified on 4.3.0-0.nightly-2019-11-13-233341
INFO Obtaining RHCOS image file from 'https://releases-art-rhcos.svc.ci.openshift.org/art/storage/releases/rhcos-4.3/43.81.201911081536.0/x86_64/rhcos-43.81.201911081536.0-openstack.x86_64.qcow2.gz?sha256=e09d8300d3e209fad8d428c4c366b55a9a4b9e3a6d5ae0217073e9d3338b5a08'
DEBUG Unpacking file into "/root/.cache/openshift-installer/image_cache/ef1915b9dd0c83aab9378eff6c252c3c"...
DEBUG Checksum validation is complete...
INFO Decompress image data from /root/.cache/openshift-installer/image_cache/ef1915b9dd0c83aab9378eff6c252c3c to /root/.cache/openshift-installer/image_cache/ef1915b9dd0c83aab9378eff6c252c3c.uncompressed
DEBUG openstack_images_image_v2.base_image: Still creating... [10s elapsed]
DEBUG openstack_images_image_v2.base_image: Creation complete after 51s [id=ece89155-732e-4525-a04e-0db2b171205e]
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.