[Bugs] [Bug 1223747] New: `gluster volume heal <vol-name> split-brain' shows wrong usage
bugzilla at redhat.com
bugzilla at redhat.com
Thu May 21 11:42:50 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1223747
Bug ID: 1223747
Summary: `gluster volume heal <vol-name> split-brain' shows
wrong usage
Product: Red Hat Gluster Storage
Version: 3.1
Component: gluster-afr
Keywords: Triaged
Severity: medium
Assignee: pkarampu at redhat.com
Reporter: ssampat at redhat.com
QA Contact: storage-qa-internal at redhat.com
CC: amukherj at redhat.com, atalur at redhat.com,
bugs at gluster.org, gluster-bugs at redhat.com
Depends On: 1218565
Blocks: 1186580 (qe_tracker_everglades)
Group: redhat
+++ This bug was initially created as a clone of Bug #1218565 +++
Description of problem:
------------------------
Running the following command shows wrong usage message -
# gluster v heal <vol-name> split-brain
Usage: /usr/sbin/glfsheal <VOLNAME> [bigger-file <FILE> | source-brick
<HOSTNAME:BRICKNAME> [<FILE>] | split-brain-info]
Volume heal failed.
The usage above gives the name of the binary instead of the name and format of
the command being run. Another thing to remove from the message is the
`split-brain-info' option as that does not run with the command. See below -
# gluster v heal <vol-name> split-brain split-brain-info
Usage: volume heal <VOLNAME> [enable | disable | full |statistics [heal-count
[replica <HOSTNAME:BRICKNAME>]] |info [healed | heal-failed | split-brain]
|split-brain {bigger-file <FILE> |source-brick <HOSTNAME:BRICKNAME> [<FILE>]}]
Version-Release number of selected component (if applicable):
---------------------------------------------------------------
glusterfs-3.7.0alpha0-0.17.gited96153.el6.x86_64
How reproducible:
------------------
Always
Steps to Reproduce:
--------------------
1. Run the following command and observe the usage message displayed -
# gluster v heal <vol-name> split-brain
Usage: /usr/sbin/glfsheal <VOLNAME> [bigger-file <FILE> | source-brick
<HOSTNAME:BRICKNAME> [<FILE>] | split-brain-info]
Volume heal failed.
Actual results:
-----------------
Usage displayed is incorrect because of the reasons explained above.
Expected results:
------------------
Usage should be correctly displayed.
Additional info:
--- Additional comment from Ravishankar N on 2015-05-05 09:59:07 EDT ---
Assigning it to Anuradha as she knows the fix.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1186580
[Bug 1186580] QE tracker bug for Everglades
https://bugzilla.redhat.com/show_bug.cgi?id=1218565
[Bug 1218565] `gluster volume heal <vol-name> split-brain' shows wrong
usage
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=48Yh4tSIAc&a=cc_unsubscribe
More information about the Bugs
mailing list