Bug 1840856 - openshift-apiserver doesn't live reload extension-apiserver-authentication trust
Summary: openshift-apiserver doesn't live reload extension-apiserver-authentication trust
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: openshift-apiserver
Version: 4.5
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.5.0
Assignee: Lukasz Szaszkiewicz
QA Contact: Xingxing Xia
URL:
Whiteboard:
Depends On:
Blocks: 1840857
TreeView+ depends on / blocked
 
Reported: 2020-05-27 17:41 UTC by Tomáš Nožička
Modified: 2020-07-13 17:42 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 1840857 (view as bug list)
Environment:
Last Closed: 2020-07-13 17:42:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift openshift-apiserver pull 107 0 None closed Bug 1795163: openshift-apiserver operator not available when used for single node cluster (CRC) 2020-07-22 12:40:55 UTC
Red Hat Product Errata RHBA-2020:2409 0 None None None 2020-07-13 17:42:37 UTC

Description Tomáš Nožička 2020-05-27 17:41:05 UTC
openshift-apiserver doesn't live reload extension-apiserver-authentication trust 

openssl verify -CAfile <( oc -n kube-system get cm extension-apiserver-authentication --template='{{index .data "requestheader-client-ca-file"}}' ) <( oc get secret -n openshift-kube-apiserver aggregator-client --template='{{index .data "tls.crt"}}' | base64 -d )
/proc/self/fd/12: OK

but kube-apiserver still can't connect to discovery

oc get apiservices v1.apps.openshift.io -o yaml
apiVersion: apiregistration.k8s.io/v1
kind: APIService
metadata:
  name: v1.apps.openshift.io
status:
  conditions:
  - lastTransitionTime: "2020-05-26T15:08:10Z"
    message: 'failing or missing response from https://10.130.0.18:8443/apis/apps.openshift.io/v1:
      bad status from https://10.130.0.18:8443/apis/apps.openshift.io/v1: 401'
    reason: FailedDiscoveryCheck
    status: "False"
    type: Available

Hit on recovery flow when the trust is rotated.

Comment 7 errata-xmlrpc 2020-07-13 17:42:22 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-2020:2409


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