Bug 1885235 - Prometheus: Logging is broken due to mix of k8s.io/klog v1 and v2
Summary: Prometheus: Logging is broken due to mix of k8s.io/klog v1 and v2
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Monitoring
Version: 4.6
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: 4.7.0
Assignee: Simon Pasquier
QA Contact: Junqi Zhao
URL:
Whiteboard:
Depends On: 1883461 1885236 1885237 1886060
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-05 13:38 UTC by Sergiusz Urbaniak
Modified: 2021-02-24 15:23 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of: 1883461
Environment:
Last Closed: 2021-02-24 15:23:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift prometheus pull 61 0 None closed Bug 1885235: bump Prometheus to v2.22.0 2021-01-29 09:55:53 UTC
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:23:35 UTC

Comment 1 Simon Pasquier 2020-10-06 13:51:08 UTC
PR submitted upstream: https://github.com/prometheus/prometheus/pull/8015

Comment 3 Junqi Zhao 2020-10-22 01:36:21 UTC
tested with 4.7.0-0.nightly-2020-10-21-001511, prometheus version is 2.22.0 now
# oc -n openshift-monitoring logs -c prometheus prometheus-k8s-0
level=info ts=2020-10-21T23:42:21.672Z caller=main.go:353 msg="Starting Prometheus" version="(version=2.22.0, branch=rhaos-4.7-rhel-8, revision=6602cbd5e87109bfb6165c29b39f39024168667c)"
level=info ts=2020-10-21T23:42:21.673Z caller=main.go:358 build_context="(go=go1.15.0, user=root@1fde91b90149, date=20201020-18:30:08)"
level=info ts=2020-10-21T23:42:21.673Z caller=main.go:359 host_details="(Linux 4.18.0-193.28.1.el8_2.x86_64 #1 SMP Fri Oct 16 13:38:49 EDT 2020 x86_64 prometheus-k8s-0 (none))"
level=info ts=2020-10-21T23:42:21.673Z caller=main.go:360 fd_limits="(soft=1048576, hard=1048576)"
level=info ts=2020-10-21T23:42:21.673Z caller=main.go:361 vm_limits="(soft=unlimited, hard=unlimited)"
...

Comment 7 errata-xmlrpc 2021-02-24 15:23:10 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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement 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/RHSA-2020:5633


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