Bug 1786753

Summary: Functionality to enable log rotation for user serviceable snapshot's logs.
Product: [Community] GlusterFS Reporter: Sunny Kumar <sunkumar>
Component: snapshotAssignee: bugs <bugs>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 7CC: 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: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1786722 Environment:
Last Closed: 2020-01-09 13:20:40 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, 1786722, 1786754, 1803810    
Bug Blocks:    

Description Sunny Kumar 2019-12-27 17:27:37 UTC
+++ This bug was initially created as a clone of Bug #1786722 +++

+++ 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:

--- Additional comment from Worker Ant on 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

--- Additional comment from Worker Ant on 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

Comment 1 Worker Ant 2019-12-27 17:30:43 UTC
REVIEW: https://review.gluster.org/23931 (extras: enable log rotation for USS logs) posted (#1) for review on release-7 by Sunny Kumar

Comment 2 Worker Ant 2020-01-09 13:20:40 UTC
REVIEW: https://review.gluster.org/23931 (extras: enable log rotation for USS logs) merged (#1) on release-7 by Sunny Kumar