Bug 2038936 - Change cluster version operator log level
Summary: Change cluster version operator log level
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cluster Version Operator
Version: 4.8
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
: 4.8.z
Assignee: Jack Ottofaro
QA Contact: Evgeni Vakhonin
URL:
Whiteboard:
Depends On: 2038275
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-10 15:18 UTC by Scott Dodson
Modified: 2022-02-01 09:13 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of: 2038275
Environment:
Last Closed: 2022-01-25 12:13:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-version-operator pull 724 0 None Merged Bug 2038936: *: Use --v=2 logging to drop client-side throttling noise 2022-02-01 05:26:54 UTC
Red Hat Product Errata RHBA-2022:0172 0 None None None 2022-01-25 12:13:25 UTC

Comment 3 Evgeni Vakhonin 2022-01-12 10:33:11 UTC
using the same method as #2034493

Reproduced
Cluster version is 4.8.0-0.nightly-2022-01-11-000651

# oc -n openshift-cluster-version get deployment cluster-version-operator -oyaml|grep -e "--v"
        - --v=5

# oc logs -n openshift-cluster-version cluster-version-operator-857fcd9c85-c9zkc |grep "I0112 09:[0-5][0-9]" > cvo-old.log
# ls -l cvo-old.log
-rw-r--r--. 1 evakhoni evakhoni 6368415 Jan 12 12:24 cvo-old.log

# grep "due to client-side throttling" cvo-old.log |wc -l 
9019



Verified
Cluster version is 4.8.0-0.nightly-2022-01-12-034645

# oc -n openshift-cluster-version get deployment cluster-version-operator -oyaml|grep -e "--v"
        - --v=2

# oc logs -n openshift-cluster-version cluster-version-operator-796b999cf6-jvlm4 |grep "I0112 09:[0-5][0-9]" > cvo-new.log
# ls -l cvo-new.log 
-rw-r--r--. 1 evakhoni evakhoni 4261636 Jan 12 12:25 cvo-new.log

# grep "due to client-side throttling" cvo-new.log |wc -l
0

log size reduced by 33.0%

Comment 6 errata-xmlrpc 2022-01-25 12:13:09 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.8.28 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-2022:0172


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