Bug 2166244

Summary: assets are not compressed during delivery anymore
Product: Red Hat Satellite Reporter: Evgeni Golov <egolov>
Component: InstallationAssignee: Evgeni Golov <egolov>
Status: CLOSED ERRATA QA Contact: Eric Helms <ehelms>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.13.0CC: ehelms, pcreech, pmendezh, rplevka
Target Milestone: 6.13.0Keywords: Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-03 13:24:53 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:

Description Evgeni Golov 2023-02-01 09:43:27 UTC
Description of problem:

# curl -k -I -H "Accept-Encoding: gzip" https://localhost/webpack/vendor-950b729ed5965c2a80e1.js
HTTP/2 200 
date: Wed, 01 Feb 2023 09:10:12 GMT
server: Apache
last-modified: Tue, 24 Jan 2023 16:16:09 GMT
etag: "a481-5f304d562e440"
accept-ranges: bytes
content-length: 42113
content-type: application/javascript



Version-Release number of selected component (if applicable):
6.13.0

How reproducible:
100%

Steps to Reproduce:
1. curl -k -I -H "Accept-Encoding: gzip" <URL_of_asset>

Actual results:
- No "content-encoding: gzip" header
- content-length shows the "full" size of the file, not the gziped size

Expected results:
# curl -k -I -H "Accept-Encoding: gzip" https://localhost/webpack/vendor-950b729ed5965c2a80e1.js
HTTP/2 200 
date: Wed, 01 Feb 2023 09:12:25 GMT
server: Apache
vary: Accept-Encoding
last-modified: Tue, 24 Jan 2023 16:16:09 GMT
etag: "3748-5f304d562e440"
accept-ranges: bytes
content-length: 14152
content-encoding: gzip
content-type: text/javascript


Additional info:

Comment 1 Evgeni Golov 2023-02-01 09:46:50 UTC
Created redmine issue https://projects.theforeman.org/issues/36028 from this bug

Comment 2 Bryan Kearney 2023-02-01 12:03:32 UTC
Upstream bug assigned to egolov

Comment 3 Bryan Kearney 2023-02-01 12:03:33 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/36028 has been resolved.

Comment 4 Eric Helms 2023-02-09 14:31:04 UTC
*** Bug 2165838 has been marked as a duplicate of this bug. ***

Comment 8 errata-xmlrpc 2023-05-03 13:24:53 UTC
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 (Important: Satellite 6.13 Release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2023:2097