Bug 1786722

Summary: Functionality to enable log rotation for user serviceable snapshot's logs.
Product: [Community] GlusterFS Reporter: Sunny Kumar <sunkumar>
Component: snapshotAssignee: Sunny Kumar <sunkumar>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: mainlineCC: bkunal, bugs, rhinduja, rhs-bugs, sheggodu, skandark, storage-qa-internal, sunkumar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1668303
: 1786753 1786754 1803810 (view as bug list) Environment:
Last Closed: 2019-12-27 17:01:17 UTC Type: ---
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: 1668303    
Bug Blocks: 1786753, 1786754, 1803810    

Description Sunny Kumar 2019-12-27 13:41:21 UTC
+++ This bug was initially created as a clone of Bug #1668303 +++

Description of problem:

Functionality to enable log rotation for user serviceable snapshot's logs.

Currently gluster does not contain log rotation for user serviceable snapshot. 
In file /etc/logrotate.d/glusterfs there is no entry for the logs generated by user serviceable snapshots in '/var/log/glusterfs/snaps/'

Version-Release number of selected component (if applicable): 

How reproducible:
Always

Additional info:

Comment 1 Worker Ant 2019-12-27 14:14:07 UTC
REVIEW: https://review.gluster.org/23930 (extras: enable log rotation for USS logs) posted (#1) for review on master by Sunny Kumar

Comment 2 Worker Ant 2019-12-27 17:01:17 UTC
REVIEW: https://review.gluster.org/23930 (extras: enable log rotation for USS logs) merged (#2) on master by Amar Tumballi