Bug 844187
Summary: | Change log rotate command to maintain consistency with other CLI | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Vijay Bellur <vbellur> |
Component: | logging | Assignee: | Ric Wheeler <rwheeler> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | mainline | CC: | bugs, gluster-bugs |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.6.0beta1 | Doc Type: | Enhancement |
Doc Text: |
Feature:
Change in the syntax of log rotate command.
Previously it was : volume log rotate <volname> [<brick>]
Changed to : volume log <volname> rotate [<brick>]
Reason:
To maintain uniformity with other commands.
Uniform syntax: volume <verb|noun> <volname> [<actions>|options]
Result (if any): Change in cli syntax for user.
NOTE: Old syntax will also work but will be deprecated after one release.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2014-11-11 08:23:17 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
Vijay Bellur
2012-07-29 16:54:35 UTC
this was done because earlier it was thought to be a separate class all together... setting log, searching for log, etc etc.. depricating current option, and adding something like below : 'gluster volume log <VOLNAME> rotate [all*|nfs|bricks|shd]' looks good to me. Any thoughts? any comments on comment #1? reducing the priority as its a cosmetic issue. change posted for review: http://review.gluster.org/#change,4594 REVIEW: http://review.gluster.org/4594 (cli: Changed log rotate command format to common format.) posted (#4) for review on master by Raghavendra Talur (rtalur) REVIEW: http://review.gluster.org/4594 (cli: Changed log rotate command format to common format.) posted (#5) for review on master by Raghavendra Talur (rtalur) COMMIT: http://review.gluster.org/4594 committed in master by Anand Avati (avati) ------ commit a193f2262b93a06bf1a299f423d4ebaaa171a539 Author: Raghavendra Talur <rtalur> Date: Thu Feb 28 14:41:52 2013 +0530 cli: Changed log rotate command format to common format. Problem: The syntax of log rotate was volume log rotate <volname> [<brick>] All other commands are of the form: volume <verb|noun> <volname> [<actions>|options] Solution: Changed log rotate command usage to common format. Old syntax is also supported, it will be deprecated in next release. Change-Id: Ia6f6665185a1549c6f79ca763599b446f29e2c78 BUG: 844187 Signed-off-by: Raghavendra Talur <rtalur> Reviewed-on: http://review.gluster.org/4594 Reviewed-by: Kaushal M <kaushal> Tested-by: Gluster Build System <jenkins.com> A beta release for GlusterFS 3.6.0 has been released. Please verify if the release solves this bug report for you. In case the glusterfs-3.6.0beta1 release does not have a resolution for this issue, leave a comment in this bug and move the status to ASSIGNED. If this release fixes the problem for you, leave a note and change the status to VERIFIED. Packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update (possibly an "updates-testing" repository) infrastructure for your distribution. [1] http://supercolony.gluster.org/pipermail/gluster-users/2014-September/018836.html [2] http://supercolony.gluster.org/pipermail/gluster-users/ This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.6.1, please reopen this bug report. glusterfs-3.6.1 has been announced [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://supercolony.gluster.org/pipermail/gluster-users/2014-November/019410.html [2] http://supercolony.gluster.org/mailman/listinfo/gluster-users This bug has been CLOSED, and there has not been a response to the requested NEEDINFO in more than 4 weeks. The NEEDINFO flag is now getting cleared so that our Bugzilla household is getting more in order. |