Bug 1756478

Summary: [4.2.z] Cannot disable S3 redirect via operator
Product: OpenShift Container Platform Reporter: Adam Kaplan <adam.kaplan>
Component: Image RegistryAssignee: Oleg Bulatov <obulatov>
Status: CLOSED ERRATA QA Contact: Wenjing Zheng <wzheng>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: aos-bugs, obulatov, wzheng
Target Milestone: ---Keywords: NeedsTestCase
Target Release: 4.2.z   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1756475 Environment:
Last Closed: 2019-11-13 18:55:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1756475    
Bug Blocks:    

Description Adam Kaplan 2019-09-27 17:46:51 UTC
+++ This bug was initially created as a clone of Bug #1756475 +++

Description of problem:
docker/distribution supports a "redirect" option for supported drivers like s3 [1].
In this case read requests (HEAD, GET) are redirected to the storage provider. This is enabled by default in the image registry.

There are several cases where the redirect breaks either Docker clients, or storage providers which implement the s3 API. Cluster admins should be able to disable this behavior.

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

Additional info:

[1] https://docs.docker.com/registry/configuration/#redirect

Comment 1 Adam Kaplan 2019-09-27 17:50:04 UTC
Backport requested via Steve Teuber. This will satisfy multiple requests for our experimental support for S3 appliances [1].

[1] http://post-office.corp.redhat.com/archives/openshift-sme/2019-September/msg00020.html

Comment 3 Wenjing Zheng 2019-10-28 09:38:51 UTC
Verified on 4.2.0-0.nightly-2019-10-27-140004.

Comment 5 errata-xmlrpc 2019-11-13 18:55:47 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, and where to find the updated
files, follow the link below.

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