Bug 1889541
| Summary: | [4.5 upgrade]console is not accessible during cluster upgrade | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Hongkai Liu <hongkliu> |
| Component: | oauth-apiserver | Assignee: | Standa Laznicka <slaznick> |
| Status: | CLOSED NOTABUG | QA Contact: | Xingxing Xia <xxia> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.5 | CC: | aos-bugs, jokerman, mfojtik |
| Target Milestone: | --- | Keywords: | Upgrades |
| Target Release: | 4.7.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-12-14 08:52:16 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Hongkai Liu
2020-10-19 23:31:40 UTC
After some investigation I've found out a few errors in the console-operator logs with OAuthClient
```
2020-10-19T19:56:58.806997884Z W1019 19:56:58.804176 1 reflector.go:424] github.com/openshift/client-go/oauth/informers/externalversions/factory.go:101: watch of *v1.OAuthClient ended with: an error on the server ("unable to decode an event from the watch stream: stream error: stream ID 2381; INTERNAL_ERROR") has prevented the request from succeeding
2020-10-19T19:57:04.543936166Z E1019 19:57:04.543892 1 reflector.go:127] github.com/openshift/client-go/oauth/informers/externalversions/factory.go:101: Failed to watch *v1.OAuthClient: failed to list *v1.OAuthClient: the server is currently unable to handle the request (get oauthclients.oauth.openshift.io)
2020-10-19T19:57:05.052857714Z E1019 19:57:05.052818 1 status.go:78] ConfigMapSyncDegraded FailedGetOAuthClient the server is currently unable to handle the request (get oauthclients.oauth.openshift.io console)
```
After checking the oauth-apiserver pod logs I've seen a lot of "SHOULD NOT HAPPEN" errors:
```
2020-10-19T20:08:48.962394748Z I1019 20:08:48.962350 1 client.go:360] parsed scheme: "passthrough"
2020-10-19T20:08:48.962443812Z I1019 20:08:48.962405 1 passthrough.go:48] ccResolverWrapper: sending update to cc: {[{https://10.0.159.123:2379 <nil> 0 <nil>}] <nil> <nil>}
2020-10-19T20:08:48.962443812Z I1019 20:08:48.962416 1 clientconn.go:948] ClientConn switching balancer to "pick_first"
2020-10-19T20:08:48.962763421Z I1019 20:08:48.962739 1 balancer_conn_wrappers.go:78] pickfirstBalancer: HandleSubConnStateChange: 0xc000244f40, {CONNECTING <nil>}
2020-10-19T20:08:48.980362067Z I1019 20:08:48.980255 1 balancer_conn_wrappers.go:78] pickfirstBalancer: HandleSubConnStateChange: 0xc000244f40, {READY <nil>}
2020-10-19T20:08:48.999857658Z I1019 20:08:48.998895 1 controlbuf.go:508] transport: loopyWriter.run returning. connection error: desc = "transport is closing"
2020-10-19T20:09:00.308037964Z E1019 20:09:00.307996 1 fieldmanager.go:175] [SHOULD NOT HAPPEN] failed to update managedFields for /, Kind=: failed to convert new object (oauth.openshift.io/v1, Kind=OAuthClient) to smd typed: no corresponding type for oauth.openshift.io/v1, Kind=OAuthClient
```
Due to that reason Im sending it to the oauth-apiserver team for further investigation.
Hongkai, have you observed this issue recently? Standa, No, not this one recently. thanks for the information, I'm going to close as NOTABUG |