Bug 1886062

Summary: Logging may be broken due to mix of k8s.io/klog v1 and v2
Product: OpenShift Container Platform Reporter: Tom Herbert <therbert>
Component: NetworkingAssignee: Tom Herbert <therbert>
Networking sub component: ovn-kubernetes QA Contact: Mike Fiedler <mifiedle>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: anbhat, aos-bugs, bbennett, fpan, jhadvig, jokerman, mifiedle, sttts, therbert, yapei, zzhao
Version: 4.6Flags: therbert: needinfo-
Target Milestone: ---   
Target Release: 4.6.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1886060
: 1909290 (view as bug list) Environment:
Last Closed: 2021-02-01 15:24:32 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:
Bug Depends On: 1909290    
Bug Blocks: 1885236, 1885237    

Comment 1 Tom Herbert 2020-10-28 16:18:19 UTC
This bug will be addressed by a pull request to upstream ovn-kubernetes.

Comment 2 Tom Herbert 2020-10-30 13:09:54 UTC
PR submitted to upstream ovn-kubernetes:


https://github.com/ovn-org/ovn-kubernetes/pull/1786

Comment 6 Mike Fiedler 2021-01-22 19:38:36 UTC
$ strings ovnkube | grep klog
...
dep     k8s.io/klog     v1.0.0
dep     k8s.io/klog/v2  v2.0.0


Looks like v1 is still vendored but not used.

$ strings ovnkube | egrep "klog\/v2 v2.0.0|20201015054608-420da100c033"
dep     k8s.io/utils    v0.0.0-20201015054608-420da100c033

verified on 4.6.0-0.nightly-2021-01-22-095237

Comment 9 errata-xmlrpc 2021-02-01 15:24:32 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 (OpenShift Container Platform 4.6.15 bug fix 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/RHBA-2021:0235