Bug 1904929 - [GSS][RFE]Reduce debug level for logs of Nooba Endpoint pod
Summary: [GSS][RFE]Reduce debug level for logs of Nooba Endpoint pod
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Container Storage
Classification: Red Hat Storage
Component: Multi-Cloud Object Gateway
Version: 4.5
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: OCS 4.7.0
Assignee: Nimrod Becker
QA Contact: Elad
URL:
Whiteboard:
Depends On:
Blocks: 1938106 1938134
TreeView+ depends on / blocked
 
Reported: 2020-12-07 06:38 UTC by Karun Josy
Modified: 2021-08-17 17:42 UTC (History)
12 users (show)

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.
Clone Of:
: 1938106 (view as bug list)
Environment:
Last Closed: 2021-05-19 09:16:33 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github noobaa noobaa-core pull 6358 0 None closed Reduce log chattiness on S3 ops 2021-02-17 14:20:28 UTC
Github noobaa noobaa-core pull 6363 0 None closed Backport to 5.7 2021-02-17 14:20:28 UTC
Red Hat Product Errata RHSA-2021:2041 0 None None None 2021-05-19 09:17:26 UTC

Internal Links: 1880747 1911266

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


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