Bug 1859956
Summary: | MutatingWebhookConfiguration should be v1, not v1beta1 | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Junqi Zhao <juzhao> | |
Component: | Monitoring | Assignee: | Sergiusz Urbaniak <surbania> | |
Status: | CLOSED ERRATA | QA Contact: | Junqi Zhao <juzhao> | |
Severity: | medium | Docs Contact: | ||
Priority: | high | |||
Version: | 4.6 | CC: | alegrand, anpicker, erooth, kakkoyun, lcosic, mloibl, pkrupa, surbania | |
Target Milestone: | --- | |||
Target Release: | 4.6.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1862404 (view as bug list) | Environment: | ||
Last Closed: | 2020-10-27 16:16:44 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1862404 |
Description
Junqi Zhao
2020-07-23 11:10:47 UTC
Yes well aware of this issue it was fixed in upstream https://github.com/kubernetes/kube-state-metrics/releases/tag/v1.9.7, we need to either bump to latest kube-state-metrics or bump to 2.0, currently this work is tracked in https://issues.redhat.com/browse/MON-1162 To be verified in the next sprint. issue is fixed with 4.6.0-0.nightly-2020-08-03-143208, for the Failed to watch errors, it's tracked in bug 1865742 # oc -n openshift-monitoring logs kube-state-metrics-7d8f88b5f7-2w8sc -c kube-state-metrics I0804 02:14:25.340948 1 main.go:86] Using default collectors I0804 02:14:25.341072 1 main.go:98] Using all namespace I0804 02:14:25.341093 1 main.go:139] metric white-blacklisting: blacklisting the following items: kube_secret_labels W0804 02:14:25.341111 1 client_config.go:543] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work. I0804 02:14:25.343113 1 main.go:186] Testing communication with server I0804 02:14:25.355312 1 main.go:191] Running with Kubernetes cluster version: v4.6+. git version: v4.6.0-202008030720.p0-dirty. git tree state: dirty. commit: 64529ef6458777ac400f4c1bf78b1dabea082fa4. platform: linux/amd64 I0804 02:14:25.355340 1 main.go:193] Communication with server successful I0804 02:14:25.355504 1 main.go:227] Starting metrics server: 127.0.0.1:8081 I0804 02:14:25.355755 1 metrics_handler.go:96] Autosharding disabled I0804 02:14:25.356897 1 builder.go:156] Active collectors: certificatesigningrequests,configmaps,cronjobs,daemonsets,deployments,endpoints,horizontalpodautoscalers,ingresses,jobs,limitranges,mutatingwebhookconfigurations,namespaces,networkpolicies,nodes,persistentvolumeclaims,persistentvolumes,poddisruptionbudgets,pods,replicasets,replicationcontrollers,resourcequotas,secrets,services,statefulsets,storageclasses,validatingwebhookconfigurations,volumeattachments I0804 02:14:25.357258 1 main.go:202] Starting kube-state-metrics self metrics server: 127.0.0.1:8082 E0804 02:27:43.432795 1 reflector.go:307] k8s.io/kube-state-metrics/internal/store/builder.go:346: Failed to watch *v1.Deployment: unknown (get deployments.apps) E0804 02:50:42.390754 1 reflector.go:307] k8s.io/kube-state-metrics/internal/store/builder.go:346: Failed to watch *v1.Job: unknown (get jobs.batch) E0804 02:50:43.395802 1 reflector.go:153] k8s.io/kube-state-metrics/internal/store/builder.go:346: Failed to list *v1.Job: jobs.batch is forbidden: User "system:serviceaccount:openshift-monitoring:kube-state-metrics" cannot list resource "jobs" in API group "batch" at the cluster scope E0804 02:57:02.406234 1 reflector.go:307] k8s.io/kube-state-metrics/internal/store/builder.go:346: Failed to watch *v1.StorageClass: unknown (get storageclasses.storage.k8s.io) E0804 02:57:03.412278 1 reflector.go:307] k8s.io/kube-state-metrics/internal/store/builder.go:346: Failed to watch *v1.StorageClass: unknown (get storageclasses.storage.k8s.io) 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 |