Bug 1790788 - [GSS][RFE] gluster-block logs are not rotating in Independent mode
Summary: [GSS][RFE] gluster-block logs are not rotating in Independent mode
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: gluster-block
Version: ocs-3.11
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ---
: OCS 3.11.z Batch Update 6
Assignee: Prasanna Kumar Kalever
QA Contact: Vivek Das
URL:
Whiteboard:
Depends On:
Blocks: 1850365
TreeView+ depends on / blocked
 
Reported: 2020-01-14 08:09 UTC by Sonal
Modified: 2023-09-07 21:26 UTC (History)
10 users (show)

Fixed In Version: gluster-block-0.2.1-37.el7rhgs
Doc Type: Enhancement
Doc Text:
With this update, log rotation is now possible for gluster-block and tcmu-runner relevant logs.
Clone Of:
: 1850365 (view as bug list)
Environment:
Last Closed: 2020-12-17 04:31:42 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata 02535421 0 None None None 2020-01-14 08:09:39 UTC
Red Hat Product Errata RHBA-2020:5602 0 None None None 2020-12-17 04:32:12 UTC

Description Sonal 2020-01-14 08:09:39 UTC
Description of problem:

There is no default log rotation configuration for gluster-block logs in OCS Independent mode.
Users manually write log rotate config to rotate logs files in /var/log/gluster-block.

Version-Release number of selected component (if applicable):
OCS 3.11.2 or onwards
glusterfs package: glusterfs-server-3.12.2-47.el7rhgs.x86_64
Openshift package: atomic-openshift-3.11.88-1.git.0.47f4e98.el7.x86_64

How reproducible:
100% reproducible

Steps to Reproduce:
1. Deploy OCS in Independent mode.
2. Check log file in /var/log/gluster-block

Actual results:
/var/log/gluster-block logs are not rotated.

Expected results:
/var/log/gluster-block logs should be rotated.

Comment 2 Prasanna Kumar Kalever 2020-01-14 08:27:54 UTC
Patches are merged upstream:
https://github.com/gluster/gluster-block/pull/163/commits/011366bffa274440a22a17c42823f40da530a75f

Comment 20 errata-xmlrpc 2020-12-17 04:31:42 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 Storage 3.11.z 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-2020:5602


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