Description of problem: The proxy improperly evaluates responses when making requests against the API server. If the request fails due to something like a 401, the proxy masks that error returning a 500 Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Return the actual error
@Jeff, I can see the below errors, are these what the bug has fixed? $ oc logs -c proxy elasticsearch-cdm-7no5abmu-3-6cddf49f9f-tpgzf time="2020-09-24T06:52:17Z" level=info msg="mapping path \"/\" => upstream \"https://localhost:9200/\"" time="2020-09-24T06:52:17Z" level=info msg="HTTPS: listening on [::]:60001" time="2020-09-24T06:52:17Z" level=info msg="HTTPS: listening on [::]:60000" time="2020-09-24T06:52:17Z" level=info msg="Error processing request in handler authorization: Unable to determine username" time="2020-09-24T06:52:20Z" level=info msg="Error processing request in handler authorization: Unable to determine username" time="2020-09-24T06:52:20Z" level=info msg="Error processing request in handler authorization: got 401 [invalid bearer token, token lookup failed]" image: ose-elasticsearch-proxy/images/v4.6.0-202009231847.p0
From the Kibana console, I can see the error: Unauthorized xxxx. Move to verified.
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.1 extras update), 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:4198