Bug 1924568 - [aws-c2s]Failed to push images to openshift registry with "MethodNotAllowed: The specified method is not allowed against this resource"
Summary: [aws-c2s]Failed to push images to openshift registry with "MethodNotAllowed: ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Image Registry
Version: 4.7
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Oleg Bulatov
QA Contact: Wenjing Zheng
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-03 08:32 UTC by XiuJuan Wang
Modified: 2021-06-21 15:00 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-21 15:00:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift image-registry pull 265 0 None closed Bug 1924568: Bumping docker distribution dependency 2021-02-15 10:51:47 UTC

Description XiuJuan Wang 2021-02-03 08:32:44 UTC
Description of problem:
On the AWS GovCloud/C2S emulation cluster,it's failed to push images to openshift registry with "s3aws: MethodNotAllowed: The specified method is not allowed against this resource"

Version-Release number of selected component (if applicable):
4.7.0-0.nightly-2021-01-31-031653

How reproducible:
AWS GovCloud/C2S emulation cluster 

Steps to Reproduce:
1.Push image to image registry
2.
3.

Actual results:
$ oc get builds
NAME         TYPE     FROM          STATUS                               STARTED       DURATION
httpd-ex-1   Source   Git@092fbaa   Failed (PushImageToRegistryFailed)   2 hours ago   1m37s
httpd-ex-2   Source   Git@092fbaa   Failed (PushImageToRegistryFailed)   2 hours ago   47s

$oc -n openshift-image-registry  logs  -f image-registry-67d86c6f7f-w9bxw 

time="2021-02-03T06:27:35.421621196Z" level=error msg="response completed with error" err.code=unknown err.detail="s3aws: MethodNotAllowed: The specified method is not allowed against this resource.\n\tstatus code: 405, request id: 85E87420B2893AD4, host id: IjLcJM++6Ss42jhmy5E2QSyKy52CWKdDfXev1b4u2eSAyB9aO9RvUq0EKuTSDwqM1ApcaR7cW1s=" err.message="unknown error" go.version=go1.15.5 http.request.host="image-registry.openshift-image-registry.svc:5000" http.request.id=887fa03c-a1fe-4aca-bc60-9738c5ef9769 http.request.method=POST http.request.remoteaddr="10.128.2.198:37270" http.request.uri="/v2/y4e9d/httpd-ex/blobs/uploads/?from=openshift%2Fhttpd&mount=sha256%3A199846f31ae5fa065552bd264c2e9c002b4e92e89f73f949724c6353621e1d9c" http.request.useragent="containers/5.10.1 (github.com/containers/image)" http.response.contenttype="application/json; charset=utf-8" http.response.duration=188.301293ms http.response.status=500 http.response.written=123 openshift.auth.user="system:serviceaccount:y4e9d:builder" vars.name=y4e9d/httpd-ex

Expected results:
Could push image to image registry

Additional info:


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