Fedora Account System
Red Hat Associate
Red Hat Customer
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:
Merged on master branch: https://review.gluster.org/#/c/17120/
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
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