Bug 2159676

Summary: rbd-mirror logs are rotated very frequently, increase the default maxlogsize for rbd-mirror
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Subham Rai <srai>
Component: rookAssignee: Subham Rai <srai>
Status: CLOSED ERRATA QA Contact: Pratik Surve <prsurve>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.12CC: ebenahar, idryomov, muagarwa, nberry, ocs-bugs, odf-bz-bot, tnielsen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-21 15:23:05 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:

Description Subham Rai 2023-01-10 11:27:53 UTC
Description of problem (please be detailed as possible and provide log
snippests):

rbd-mirror logs are rotated very frequently,  increase the default maxlogsize for rbd-mirror. It is proving easy to debug when logs are rotated quickly with 7 rotations. 

Version of all relevant components (if applicable):

od-4.12

Comment 2 Subham Rai 2023-01-10 11:31:58 UTC
@idryomov could you suggest min maxlogsize for rbd-mirror, also it will be great if you could add details about where you faced the issue. Thanks

Comment 4 Subham Rai 2023-01-17 05:30:29 UTC
@tnielsen any thoughts on above

Comment 5 Travis Nielsen 2023-01-17 17:25:41 UTC
(In reply to Subham Rai from comment #4)
> @tnielsen any thoughts on above

If we can just increase the size of the rbd mirror logs, sounds good. 
We should just avoid increasing all the log sizes if we don't need them.

Comment 8 Mudit Agarwal 2023-04-03 10:59:41 UTC
Fixed in version: Any latest stable 4.13 build

Comment 12 Elad 2023-06-19 06:01:56 UTC
Moving to 4.13.z for verification purposes

Comment 15 errata-xmlrpc 2023-06-21 15:23:05 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 (Red Hat OpenShift Data Foundation 4.13.0 enhancement and 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-2023:3742