Bug 1883502
Summary: | Logging is broken due to mix of k8s.io/klog v1 and v2 | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Ricardo Maraschini <rmarasch> |
Component: | Image Registry | Assignee: | Ricardo Maraschini <rmarasch> |
Status: | CLOSED ERRATA | QA Contact: | Wenjing Zheng <wzheng> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 4.6 | CC: | aos-bugs, jhadvig, jokerman, obulatov, sttts, yapei |
Target Milestone: | --- | ||
Target Release: | 4.7.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause:
Usage of two distinct versions of the same logging package.
Consequence:
Operator logs were being partially lost.
Fix:
Making logging package versions equal (upgraded logging package used by the operator to meet the one used by client-go)
Result:
Logs are not lost anymore.
|
Story Points: | --- |
Clone Of: | 1883461 | Environment: | |
Last Closed: | 2021-02-24 15:21:16 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ricardo Maraschini
2020-09-29 12:18:18 UTC
We didn't have ability to change log levels before, so it's not a blocker for 4.6. A PR already exists for this one, awaiting review. Other than that, we still need to wait for 4.7 cycle to start. Thanks Ricardo and Oleg! Verified on 4.7.0-0.nightly-2020-10-24-155529: 1. With a GCP cluster, change spec.operatorlevel=TraceAll; 2. Set the image registry to Removed 3. Wait for some seconds, log like below will appear: $ oc logs pods/cluster-image-registry-operator-5b6f5ff8b-rwwgp | grep deleting I1026 07:32:48.770962 1 gcs.go:327] deleting all objects in bucket wzheng-47-2tfrc-image-registry-us-central1-fcuhhqklefmcoryijnt 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 |