Bug 1031547 - afr: incorrect message shown on "gluster volume heal vol-name info"
Summary: afr: incorrect message shown on "gluster volume heal vol-name info"
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: replicate
Version: 2.1
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Anuradha
QA Contact: storage-qa-internal@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-18 09:31 UTC by Rahul Hinduja
Modified: 2016-09-20 02:00 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-31 10:40:18 UTC
Embargoed:


Attachments (Terms of Use)

Description Rahul Hinduja 2013-11-18 09:31:26 UTC
Description of problem:
=======================

Currently when self heal daemon is turned off the "gluster volume heal vol-name info" commands returns the following output.

[root@dj ~]# gluster volume heal vol-dr info 
Self-heal-daemon is disabled. Heal will not be triggered on volume vol-dr
[root@dj ~]# 

The message shown in the output is that the heal will not triggered whereas the command executed was to see the files that require to be healed not to trigger heal.

More appropriate message is required, something like:

Self-heal-daemon is disabled. set "self-heal-daemon" to "on" to see the heal information. 


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

glusterfs-3.4.0.44rhs-1.el6rhs.x86_64


How reproducible:
=================
1/1


Steps to Reproduce:
1. Disable the self-heal-daemon on the volume using "gluster volume set vol-name self-heal-daemon off"
2. Use the volume heal information command "gluster volume heal vol-name info"


Actual results:
===============
[root@dj ~]# gluster volume heal vol-name info 
Self-heal-daemon is disabled. Heal will not be triggered on volume vol-dr
[root@dj ~]#

Expected results:
=================
[root@dj ~]# gluster volume heal vol-name info 
Self-heal-daemon is disabled. set "self-heal-daemon" to "on" to see the heal information.
[root@dj ~]#

Or something similar which is more clear with respect to the command executed


Note You need to log in before you can comment on or make changes to this bug.