-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
premerge
-
Low
-
None
-
False
-
Description of problem:
In OCP BYO external oidc env, kas pod has many "Failed to watch *v1.Group" errors. Since the group api is removed, kas should not still watch it.
Version-Release number of selected component (if applicable):
The cluster-bot build that is built at 2024-12-04T01:26Z with below: build 4.19,openshift/cluster-authentication-operator#713,openshift/cluster-authentication-operator#740,openshift/cluster-kube-apiserver-operator#1760
How reproducible:
Always
Steps to Reproduce:
1. Create OCP BYO external oidc env using keycloak using above cluster-bot build. 2. Check KAS pod logs.
Actual results:
2. kas pod has many "Failed to watch *v1.Group" errors: $ oc logs -n openshift-kube-apiserver -c kube-apiserver <KAS pod> | grep '"UnhandledError"' ...snipped... 2024-12-04T10:28:11.201897127Z E1204 10:28:11.201574 12 reflector.go:158] "Unhandled Error" err="github.com/openshift/client-go@v0.0.0-20241001162912-da6d55e4611f/user/informers/externalversions/factory.go:125: Failed to watch *v1.Group: failed to list *v1.Group: the server could not find the requested resource (get groups.user.openshift.io)" logger="UnhandledError" 2024-12-04T10:28:50.034930007Z E1204 10:28:50.034804 12 reflector.go:158] "Unhandled Error" err="github.com/openshift/client-go@v0.0.0-20241001162912-da6d55e4611f/user/informers/externalversions/factory.go:125: Failed to watch *v1.Group: failed to list *v1.Group: the server could not find the requested resource (get groups.user.openshift.io)" logger="UnhandledError" 2024-12-04T10:29:20.686350468Z E1204 10:29:20.686239 12 reflector.go:158] "Unhandled Error" err="github.com/openshift/client-go@v0.0.0-20241001162912-da6d55e4611f/user/informers/externalversions/factory.go:125: Failed to watch *v1.Group: failed to list *v1.Group: the server could not find the requested resource (get groups.user.openshift.io)" logger="UnhandledError" 2024-12-04T10:29:55.706118379Z E1204 10:29:55.706037 12 reflector.go:158] "Unhandled Error" err="github.com/openshift/client-go@v0.0.0-20241001162912-da6d55e4611f/user/informers/externalversions/factory.go:125: Failed to watch *v1.Group: failed to list *v1.Group: the server could not find the requested resource (get groups.user.openshift.io)" logger="UnhandledError" 2024-12-04T10:30:51.009940143Z E1204 10:30:51.009841 12 reflector.go:158] "Unhandled Error" err="github.com/openshift/client-go@v0.0.0-20241001162912-da6d55e4611f/user/informers/externalversions/factory.go:125: Failed to watch *v1.Group: failed to list *v1.Group: the server could not find the requested resource (get groups.user.openshift.io)" logger="UnhandledError" 2024-12-04T10:31:27.667398108Z E1204 10:31:27.667273 12 reflector.go:158] "Unhandled Error" err="github.com/openshift/client-go@v0.0.0-20241001162912-da6d55e4611f/user/informers/externalversions/factory.go:125: Failed to watch *v1.Group: failed to list *v1.Group: the server could not find the requested resource (get groups.user.openshift.io)" logger="UnhandledError" 2024-12-04T10:32:07.654431318Z E1204 10:32:07.654312 12 reflector.go:158] "Unhandled Error" err="github.com/openshift/client-go@v0.0.0-20241001162912-da6d55e4611f/user/informers/externalversions/factory.go:125: Failed to watch *v1.Group: failed to list *v1.Group: the server could not find the requested resource (get groups.user.openshift.io)" logger="UnhandledError" 2024-12-04T10:33:06.085890891Z E1204 10:33:06.085762 12 reflector.go:158] "Unhandled Error" err="github.com/openshift/client-go@v0.0.0-20241001162912-da6d55e4611f/user/informers/externalversions/factory.go:125: Failed to watch *v1.Group: failed to list *v1.Group: the server could not find the requested resource (get groups.user.openshift.io)" logger="UnhandledError" 2024-12-04T10:33:48.757103482Z E1204 10:33:48.756955 12 reflector.go:158] "Unhandled Error" err="github.com/openshift/client-go@v0.0.0-20241001162912-da6d55e4611f/user/informers/externalversions/factory.go:125: Failed to watch *v1.Group: failed to list *v1.Group: the server could not find the requested resource (get groups.user.openshift.io)" logger="UnhandledError" 2024-12-04T10:34:23.512821657Z E1204 10:34:23.512705 12 reflector.go:158] "Unhandled Error" err="github.com/openshift/client-go@v0.0.0-20241001162912-da6d55e4611f/user/informers/externalversions/factory.go:125: Failed to watch *v1.Group: failed to list *v1.Group: the server could not find the requested resource (get groups.user.openshift.io)" logger="UnhandledError" 2024-12-04T10:34:56.900342359Z E1204 10:34:56.900241 12 reflector.go:158] "Unhandled Error" err="github.com/openshift/client-go@v0.0.0-20241001162912-da6d55e4611f/user/informers/externalversions/factory.go:125: Failed to watch *v1.Group: failed to list *v1.Group: the server could not find the requested resource (get groups.user.openshift.io)" logger="UnhandledError" 2024-12-04T10:35:46.794896782Z E1204 10:35:46.794786 12 reflector.go:158] "Unhandled Error" err="github.com/openshift/client-go@v0.0.0-20241001162912-da6d55e4611f/user/informers/externalversions/factory.go:125: Failed to watch *v1.Group: failed to list *v1.Group: the server could not find the requested resource (get groups.user.openshift.io)" logger="UnhandledError" 2024-12-04T10:36:39.281161494Z E1204 10:36:39.281080 12 reflector.go:158] "Unhandled Error" err="github.com/openshift/client-go@v0.0.0-20241001162912-da6d55e4611f/user/informers/externalversions/factory.go:125: Failed to watch *v1.Group: failed to list *v1.Group: the server could not find the requested resource (get groups.user.openshift.io)" logger="UnhandledError" 2024-12-04T10:37:30.664621731Z E1204 10:37:30.664523 12 reflector.go:158] "Unhandled Error" err="github.com/openshift/client-go@v0.0.0-20241001162912-da6d55e4611f/user/informers/externalversions/factory.go:125: Failed to watch *v1.Group: failed to list *v1.Group: the server could not find the requested resource (get groups.user.openshift.io)" logger="UnhandledError" 2024-12-04T10:38:14.442994152Z E1204 10:38:14.442902 12 reflector.go:158] "Unhandled Error" err="github.com/openshift/client-go@v0.0.0-20241001162912-da6d55e4611f/user/informers/externalversions/factory.go:125: Failed to watch *v1.Group: failed to list *v1.Group: the server could not find the requested resource (get groups.user.openshift.io)" logger="UnhandledError" 2024-12-04T10:39:01.033587383Z E1204 10:39:01.033466 12 reflector.go:158] "Unhandled Error" err="github.com/openshift/client-go@v0.0.0-20241001162912-da6d55e4611f/user/informers/externalversions/factory.go:125: Failed to watch *v1.Group: failed to list *v1.Group: the server could not find the requested resource (get groups.user.openshift.io)" logger="UnhandledError" 2024-12-04T10:39:56.393129873Z E1204 10:39:56.393032 12 reflector.go:158] "Unhandled Error" err="github.com/openshift/client-go@v0.0.0-20241001162912-da6d55e4611f/user/informers/externalversions/factory.go:125: Failed to watch *v1.Group: failed to list *v1.Group: the server could not find the requested resource (get groups.user.openshift.io)" logger="UnhandledError" 2024-12-04T10:40:47.763228103Z E1204 10:40:47.763140 12 reflector.go:158] "Unhandled Error" err="github.com/openshift/client-go@v0.0.0-20241001162912-da6d55e4611f/user/informers/externalversions/factory.go:125: Failed to watch *v1.Group: failed to list *v1.Group: the server could not find the requested resource (get groups.user.openshift.io)" logger="UnhandledError" 2024-12-04T10:41:34.932525830Z E1204 10:41:34.932385 12 reflector.go:158] "Unhandled Error" err="github.com/openshift/client-go@v0.0.0-20241001162912-da6d55e4611f/user/informers/externalversions/factory.go:125: Failed to watch *v1.Group: failed to list *v1.Group: the server could not find the requested resource (get groups.user.openshift.io)" logger="UnhandledError" ...
Expected results:
2. Since the group api is already removed, kas should not still watch it.
Additional info:
- blocks
-
AUTH-543 Authentication operator configuration per auth type
- Code Review