Skip to content

Conversation

@cgwalters
Copy link
Member

#862 (comment)
This regressed OpenShift on OpenStack installs, which had adjusted
to deal with the lack of Content-Encoding and a switch to add .gz
to images.

Basically, if we're going to say things are explicitly compressed,
let's not also tell people to transparently decompress them because
it's easy to end up with a file named .gz that was decompressed.

coreos#862 (comment)
This regressed OpenShift on OpenStack installs, which had adjusted
to deal with the lack of `Content-Encoding` and a switch to add `.gz`
to images.

Basically, if we're going to say things are explicitly compressed,
let's not also tell people to *transparently* decompress them because
it's easy to end up with a file named `.gz` that was decompressed.
@hardys
Copy link

hardys commented Dec 18, 2019

lgtm, thanks!

@stbenjam
Copy link

LGTM as well, thank you!!

Copy link
Member

@miabbott miabbott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Probably should backport to 4.3, too

@cgwalters
Copy link
Member Author

CI doesn't cover this, so merging now.

@cgwalters cgwalters merged commit cca1586 into coreos:master Dec 18, 2019
@cgwalters cgwalters deleted the no-content-encoding branch December 18, 2019 15:46
Copy link
Member

@jlebon jlebon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunate, but makes sense. It's weird how complicated all this stuff is. We're trying to be nice and provide more information about the content and it backfires on us.

@cgwalters
Copy link
Member Author

Probably should backport to 4.3, too

The original PR isn't on 4.3 AFAICS.

stbenjam added a commit to stbenjam/installer that referenced this pull request Jan 7, 2020
The current version of RHCOS pinned in the installer has a regression in
how the gzipped images are handled. This release uses the .gz extension,
but also adds a header for transport compression which results in curl
producing a decompressed image with a .gz extension that breaks the
baremetal platform.

This was fixed in coreos/coreos-assembler#1006.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants