Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1538722 - Registry push fails during build in S3 registry
Registry push fails during build in S3 registry
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Image Registry (Show other bugs)
3.9.0
Unspecified Unspecified
unspecified Severity high
: ---
: 3.9.0
Assigned To: Oleg Bulatov
Dongbo Yan
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-01-25 11:42 EST by Vikas Laad
Modified: 2018-03-28 10:22 EDT (History)
2 users (show)

See Also:
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
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-03-28 10:22:32 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0489 None None None 2018-03-28 10:22 EDT

  None (edit)
Description Vikas Laad 2018-01-25 11:42:02 EST
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 11:45 EST
Created attachment 1386209 [details]
build log
Comment 3 Oleg Bulatov 2018-01-25 11:53:54 EST
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 12:31:53 EST
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 08:56:37 EST
https://github.com/openshift/image-registry/pull/56
Comment 8 Mike Fiedler 2018-01-26 12:40:44 EST
Moving to MODIFIED until a puddle is available for QA
Comment 10 Vikas Laad 2018-01-29 13:34:54 EST
Verified on 3.9.0-0.31.0, s3 registry works as expected.
Comment 13 errata-xmlrpc 2018-03-28 10:22:32 EDT
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.