Bug 1564736

Summary: modify auth command fails
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Prasanna Kumar Kalever <prasanna.kalever>
Component: gluster-blockAssignee: Prasanna Kumar Kalever <prasanna.kalever>
Status: CLOSED ERRATA QA Contact: krishnaram Karthick <kramdoss>
Severity: medium Docs Contact:
Priority: unspecified    
Version: cns-3.9CC: amukherj, pprakash, rhs-bugs, vinug
Target Milestone: ---Keywords: Regression
Target Release: CNS 3.10   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gluster-block-0.2.1-18.el7rhgs Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-12 09:25:34 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:
Bug Depends On:    
Bug Blocks: 1568861    

Description Prasanna Kumar Kalever 2018-04-07 09:09:17 UTC
Description of problem:

$ gluster-block create test/blockX1 ring-buffer 32 192.168.124.227 1G
IQN: iqn.2016-12.org.gluster-block:50c787bd-9617-49b2-813f-4d03432c80ba
PORTAL(S): 192.168.124.227:3260
RESULT: SUCCESS

Modify AUTH Fails:

$ gluster-block modify test/blockX1 auth enable
Volume does not exist
RESULT:FAIL

But Modify SIZE succeeds:

$ gluster-block modify test/blockX1 size 2G
IQN: iqn.2016-12.org.gluster-block:50c787bd-9617-49b2-813f-4d03432c80ba
SIZE: 2.0 GiB
SUCCESSFUL ON: 192.168.124.227
RESULT: SUCCESS

We will have to fix modify auth cli command args parsing                        

this is a regression introduced by:
                                                             
commit cfa7677b1ee064978aa8222928ce05e2ba48e225
Author: Prasanna Kumar Kalever <prasanna.kalever>
Date:   Wed Mar 21 16:28:15 2018 +0530

    gluster-block: add resize support

Comment 2 Prasanna Kumar Kalever 2018-04-07 09:11:30 UTC
PR: (posted upstream)
https://github.com/gluster/gluster-block/pull/72

Comment 9 errata-xmlrpc 2018-09-12 09:25:34 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, 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/RHEA-2018:2691