Bug 1445364 - [gluster-block]:Gluster-block command doesn't errors out or gives message when the gluster-blockd service is not running on the node
Summary: [gluster-block]:Gluster-block command doesn't errors out or gives message whe...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: gluster-block
Version: rhgs-3.2
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: RHGS 3.3.0
Assignee: Prasanna Kumar Kalever
QA Contact: surabhi
URL:
Whiteboard:
Depends On:
Blocks: 1417151
TreeView+ depends on / blocked
 
Reported: 2017-04-25 14:27 UTC by surabhi
Modified: 2017-09-21 04:17 UTC (History)
2 users (show)

Fixed In Version: gluster-block-0.2-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-21 04:17:54 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:2773 0 normal SHIPPED_LIVE new packages: gluster-block 2017-09-21 08:16:22 UTC

Description surabhi 2017-04-25 14:27:06 UTC
Description of problem:
*******************************
When gluster-blockd service is not running on a system then if a gluster-block command is executed it doesn't errors out or give message about service not running.

systemctl status gluster-blockd
● gluster-blockd.service - Gluster block storage utility
   Loaded: loaded (/usr/lib/systemd/system/gluster-blockd.service; disabled; vendor preset: disabled)
   Active: inactive (dead)
[root@dhcp46-63 gluster-block]# gluster-block list blockstor




Version-Release number of selected component (if applicable):
rpm -qa | grep gluster-block
gluster-block-0.1.1-1.x86_64


How reproducible:
Always

Steps to Reproduce:
1. Stop gluster-block service on any node 
2. execute gluster-block command e.g gluster-block list volname
3. Check the output

Actual results:
*************************
The command just runs and does not gives any output in form of error message.


Expected results:
**************************
The command should fail telling gluster-blockd service is not running.

Additional info:

Comment 2 Prasanna Kumar Kalever 2017-04-28 12:07:00 UTC
Merged on master branch: https://review.gluster.org/#/c/17120/

Comment 6 surabhi 2017-05-30 13:42:33 UTC
If gluster-blockd service is not running and executing any gluster-block command now fails with following message :

 gluster-block list blockstor
Connection failed. Please check if gluster-block daemon is operational.

Looks good to me. Marking the BZ verified.

gluster-block-0.2-3.el7rhgs.x86_64

Comment 8 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


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