Bug 1784415

Summary: Deprecated log rotate command still present
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Kshithij Iyer <kiyer>
Component: cliAssignee: Sunil Kumar Acharya <sheggodu>
Status: CLOSED ERRATA QA Contact: Kshithij Iyer <kiyer>
Severity: low Docs Contact:
Priority: low    
Version: rhgs-3.5CC: pprakash, puebele, rhs-bugs, rkothiya, sheggodu, storage-qa-internal
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.5.z Batch Update 3   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-6.0-38 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 1750387 Environment:
Last Closed: 2020-12-17 04:50:48 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: 1750387    
Bug Blocks:    

Description Kshithij Iyer 2019-12-17 11:38:56 UTC
+++ This bug was initially created as a clone of Bug #1750387 +++

Description of problem:
{"volume log rotate <VOLNAME> [BRICK]", cli_cmd_log_rotate_cbk,
 "rotate the log file for corresponding volume/brick"
 " NOTE: This is an old syntax, will be deprecated from next release."},

Should be removed from cli-cmd-volume.c as the command seems to be depreciated now.

Version-Release number of selected component (if applicable):
Whatever is the latest version.

How reproducible:
Always

Steps to Reproduce:
1.Run # gluster v help on a gluster cluster.

Actual results:
Command is displayed in the help menu.

Expected results:
Command should not be a part of the help menu.

Additional info:

--- Additional comment from Worker Ant on 2019-09-09 13:58:12 UTC ---

REVIEW: https://review.gluster.org/23392 ([Cli] Removing old log rotate command from \"# gluster v help\".) posted (#1) for review on master by Kshithij Iyer

--- Additional comment from Sanju on 2019-11-19 12:26:30 UTC ---

Kshithij, would you like to work on the fix for this?

--- Additional comment from Kshithij Iyer on 2019-11-19 13:10:14 UTC ---

Yes! I would like to give it a try.

--- Additional comment from Worker Ant on 2019-12-17 11:33:50 UTC ---

REVIEW: https://review.gluster.org/23392 ([Cli] Removing old log rotate command.) merged (#16) on master by Sunny Kumar

Comment 10 errata-xmlrpc 2020-12-17 04:50:48 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 (glusterfs 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/RHBA-2020:5603