Bug 1815562 - error getting secrets: <nil>
Summary: error getting secrets: <nil>
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Image Registry
Version: 3.11.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 4.6.0
Assignee: Oleg Bulatov
QA Contact: Wenjing Zheng
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-20 15:16 UTC by Oleg Bulatov
Modified: 2020-10-27 15:56 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: some internal packages use an internal error structure Consequence: the error interface is not nil when a pointer to a structure is assigned, even if the pointer is nil Fix: return an internal error interface Result: nil errors are nil when they are converted to the error interface
Clone Of:
Environment:
Last Closed: 2020-10-27 15:56:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift image-registry pull 240 0 None closed Bug 1815562: refactor errors package 2020-10-05 09:13:12 UTC
Red Hat Product Errata RHBA-2020:4196 0 None None None 2020-10-27 15:56:56 UTC

Description Oleg Bulatov 2020-03-20 15:16:43 UTC
Description of problem:

The registry has meaningless messages in the log:

time="2020-03-20T14:40:30.36032516Z" level=error msg="error getting secrets: <nil>" go.version=go1.10.8 http.request.host=registry.svc.ci.openshift.org http.request.id=d922da7b-dcc6-48e3-8c0e-ebc5eb165397 http.request.method=HEAD http.request.remoteaddr=172.16.108.1 http.request.uri="/v2/ci-op-l2t1vzpp/release/blobs/sha256:bbb437cccdc9bfef14818d4b12a4beeaa1068691e96fca70f16bea1ef5975668" http.request.useragent=Go-http-client/1.1 instance.id=abcdafbd-a832-49a5-b29e-e4c56d6de6ab openshift.auth.user="system:serviceaccount:ci-op-l2t1vzpp:ci-operator" openshift.auth.userid=a50d82fa-6ab8-11ea-a71e-42010a8e0003 vars.digest="sha256:bbb437cccdc9bfef14818d4b12a4beeaa1068691e96fca70f16bea1ef5975668" vars.name=ci-op-l2t1vzpp/release

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

3.11

How reproducible:

Always

Steps to Reproduce:
1. Run the registry
2. Pull an image using pull-through

Actual results:

error in the log

Expected results:

clean logs

Additional info:

Comment 2 Oleg Bulatov 2020-05-18 12:12:29 UTC
Low priority, won't be fixed this release.

Comment 5 Wenjing Zheng 2020-06-16 03:04:53 UTC
No such error now, verified on 4.6.0-0.nightly-2020-06-15-165117.

Comment 7 errata-xmlrpc 2020-10-27 15:56:40 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 (OpenShift Container Platform 4.6 GA Images), 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-2020:4196


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