Bug 1452036

Summary: Gluster-block fails to create volumes and no proper return.
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Humble Chirammal <hchiramm>
Component: gluster-blockAssignee: Pranith Kumar K <pkarampu>
Status: CLOSED ERRATA QA Contact: surabhi <sbhaloth>
Severity: high Docs Contact:
Priority: unspecified    
Version: cns-3.5CC: amukherj, hchiramm, pkarampu, prasanna.kalever, rhs-bugs, sbhaloth, vinug
Target Milestone: ---   
Target Release: RHGS 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gluster-block-0.2.1-1.el7rhgs Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-21 04:17:54 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: 1417151    

Description Humble Chirammal 2017-05-18 08:19:41 UTC
Description of problem:




No proper return of SUCCESS or FAILURE in gluster-block

[root@localhost ~]# gluster-block list blockmaster1
*Nil*
[root@localhost ~]# gluster-block create blockmaster1/blockvol-b3e08d5b-3ba1-11e7-8095-c85b7636c232 ha 1 10.67.116.108 2GiB --json
[root@localhost ~]# echo $?
255
[root@localhost ~]# gluster-block list blockmaster1
*Nil*
[root@localhost ~]# 


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 5 Humble Chirammal 2017-05-18 10:40:54 UTC
gluster-block (0.2)
Repository rev: https://github.com/gluster/gluster-block.git
Copyright (c) 2016 Red Hat, Inc. <https://redhat.com/>
gluster-block comes with ABSOLUTELY NO WARRANTY.
It is licensed to you under your choice of the GNU Lesser
General Public License, version 3 or any later version (LGPLv3
or later), or the GNU General Public License, version 2 (GPLv2),
in all cases as published by the Free Software Foundation.

Comment 8 Pranith Kumar K 2017-06-04 17:26:17 UTC
https://review.gluster.org/17461

Comment 10 surabhi 2017-06-19 09:10:55 UTC
Tried multiple times, create of gluster block from various nodes, it gives success or failure after each attempt.

Marking the BZ to verified.

gluster-block-0.2.1-1.el7rhgs.x86_64
tcmu-runner-1.2.0-4.el7rhgs.x86_64

Comment 11 Humble Chirammal 2017-06-19 09:15:15 UTC
It was my mistake that, I failed to mention, this issue is completely reproducible when we give wrong block IPs in the command line. I know I am late to mention this, however it would be appreciated if we can verify that scenario in this bz.

Comment 12 surabhi 2017-06-19 09:28:44 UTC
As mentioned by Humble tried creating block with invalid host Ip and it takes around 240-300 secs to exit and give the message as follows:

gluster-block create blockstor/goodblock ha 1 auth enable google.com 1GiB
failed to configure on google.com : Connection timed out
RESULT:FAIL

Discussed this with Prasanna and the default wait time is 300 secs so it tries until then and then it will exit with the message.

Comment 14 errata-xmlrpc 2017-09-21 04:17:54 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-2017:2773