Bug 1538722 - Registry push fails during build in S3 registry
Summary: Registry push fails during build in S3 registry
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Image Registry
Version: 3.9.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 3.9.0
Assignee: Oleg Bulatov
QA Contact: Dongbo Yan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-25 16:42 UTC by Vikas Laad
Modified: 2018-03-28 14:22 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: downgrade of the dependency aws-sdk-go Consequence: write to s3 fails Fix: upgrade the dependency Result: bug fixed
Clone Of:
Environment:
Last Closed: 2018-03-28 14:22:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
build log (67.51 KB, text/plain)
2018-01-25 16:45 UTC, Vikas Laad
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0489 0 None None None 2018-03-28 14:22:52 UTC

Description Vikas Laad 2018-01-25 16:42:02 UTC
Description of problem:
Registry push are failing for s3 registry during any build of quickstart app. I see following error in registry logs

time="2018-01-25T16:14:06.240840753Z" level=error msg="response completed with error" err.code=unknown err.detail="s3aws: NotImplemented: A header you provided implies functionality that is not implemented

Version-Release number of selected component (if applicable):
openshift v3.9.0-0.24.0
kubernetes v1.9.1+a0ce1bc657
etcd 3.2.8

Steps to Reproduce:
1. create cluster with s3 registry backend
2. create quickstart app and watch build and registry logs

Actual results:
Registry push fails during build

Expected results:
Registry push should succeed.

Additional info:
Attached build and registry logs.

Comment 2 Vikas Laad 2018-01-25 16:45:22 UTC
Created attachment 1386209 [details]
build log

Comment 3 Oleg Bulatov 2018-01-25 16:53:54 UTC
From https://github.com/aws/aws-sdk-go/issues/1379:

> This is a known issue with the service using 1.6.2 of the SDK or earlier.

From https://github.com/docker/distribution/blob/release/2.6/Godeps/Godeps.json:

> "ImportPath": "github.com/aws/aws-sdk-go/aws",
> "Comment": "v1.2.4",

I'm still investigating, but it looks like we need to update our aws-sdk-go.

Comment 4 Mike Fiedler 2018-01-25 17:31:53 UTC
This works in the 3.9.0-0.23.0 docker-registry image but not in 3.9.0-0.24.0

Comment 7 Oleg Bulatov 2018-01-26 13:56:37 UTC
https://github.com/openshift/image-registry/pull/56

Comment 8 Mike Fiedler 2018-01-26 17:40:44 UTC
Moving to MODIFIED until a puddle is available for QA

Comment 10 Vikas Laad 2018-01-29 18:34:54 UTC
Verified on 3.9.0-0.31.0, s3 registry works as expected.

Comment 13 errata-xmlrpc 2018-03-28 14:22:32 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.

https://access.redhat.com/errata/RHBA-2018:0489


Note You need to log in before you can comment on or make changes to this bug.