Bug 1300648

Summary: Global options obtained using 'gluster volume get', should not require specific volume name
Product: [Community] GlusterFS Reporter: SATHEESARAN <sasundar>
Component: glusterdAssignee: Muthu Vigneshwaran <mvignesh>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: mainlineCC: amukherj, bugs, mvignesh
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-23 05:19:20 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 SATHEESARAN 2016-01-21 11:03:00 UTC
Description of problem:
-----------------------
Global volume options are set using 'gluster volume set' with the volume name set as 'all'. But the same options are obtained using 'gluster volume get' by using the volume name.

In other words, 'gluster volume get' functionality should also use 'all' to obtain the global volume options.

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

How reproducible:
-----------------
Always

Steps to Reproduce:
--------------------
1. Try to get the global volume option
# gluster volume get <vol-name> op-version

Actual results:
---------------
'gluster volume get' uses specific volume name to get the global volume option

Expected results:
-----------------
'gluster volume get' should implement 'all' as the volume name to obtain the global volume option

Comment 1 Atin Mukherjee 2017-01-23 05:19:20 UTC
Patch http://review.gluster.org/15563 has fixed this issue and will be available as part of release-3.10, we'd not be backporting this patch to previous releases and hence closing this issue.