Bug 1904929

Summary: [GSS][RFE]Reduce debug level for logs of Nooba Endpoint pod
Product: [Red Hat Storage] Red Hat OpenShift Container Storage Reporter: Karun Josy <kjosy>
Component: Multi-Cloud Object GatewayAssignee: Nimrod Becker <nbecker>
Status: CLOSED ERRATA QA Contact: Elad <ebenahar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.5CC: asriram, assingh, csharpe, dwalveka, dzaken, ebenahar, etamir, muagarwa, nbecker, ocs-bugs, pdhange, tdesala
Target Milestone: ---Keywords: FutureFeature
Target Release: OCS 4.7.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: v4.7.0-249.ci Doc Type: Enhancement
Doc Text:
.Log messages printing to the endpoint pod log Earlier, log messages were printed to the endpoint pod log even if the debug option was not set. With this release, the log messages are printed to the endpoint pod log only when the debug option is set.
Story Points: ---
Clone Of:
: 1938106 (view as bug list) Environment:
Last Closed: 2021-05-19 09:16:33 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: 1938106, 1938134    

Comment 4 Nimrod Becker 2020-12-07 08:09:25 UTC
not a blocker, moving to 4.7
can backport to 4.6.z if needed

Comment 17 Elad 2021-02-04 10:51:45 UTC
The noobaa operator log is not flooded with the type of messages mentioned in the description. I look for massages such as 'S3 REQUEST', 'HTTP REPLY JSON' and 'HTTP REPLY RAW'.

The log does contain a lot of postgres related error messages, but these are probably due to bug 1919967. 

For instance:

ESC[32mFeb-4 10:49:37.446ESC[35m [Endpoint/13] ESC[31m[ERROR]ESC[39m core.util.postgres_client:: got error on _init_table: Error: getaddrinfo ENOTFOUND noobaa-db-pg-0.noobaa-db-pg


Verified with OCS 4.7.0-250.ci

Comment 27 errata-xmlrpc 2021-05-19 09:16:33 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: Red Hat OpenShift Container Storage 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-2021:2041