Description of problem:
=======================
glusterd status showing "Active: failed" when it's stopped in RHEL7
~]# systemctl status glusterd
● glusterd.service - GlusterFS, a clustered file-system server
Loaded: loaded (/usr/lib/systemd/system/glusterd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2016-10-14 10:07:13 IST; 1s ago
Process: 19087 ExecStart=/usr/sbin/glusterd -p /var/run/glusterd.pid --log-level $LOG_LEVEL $GLUSTERD_OPTIONS (code=exited, status=0/SUCCESS)
Main PID: 19088 (code=exited, status=15)
CGroup: /system.slice/glusterd.service
└─5830 /sbin/rpc.statd
Version-Release number of selected component (if applicable):
=============================================================
glusterfs-3.8.4-2.
How reproducible:
=================
Always
Steps to Reproduce:
====================
1. Have RHGS RHEL7 node
2. Start the glusterd if it's not running // systemctl start glusterd
3. Stop the glusterd // systemctl stop glusterd
4. Check the status // systemctl status glusterd ---> will show "Active: Failed"
Actual results:
===============
glusterd status showing failed when it's stopped in RHEL7
Expected results:
=================
Status should show Inactive / Not running when it's stopped
Additional info:
verified this bug with below version:
glusterfs-3.12.2-4
verified scenario:
-> Stopped glusterd on RHEL7.5 using "systemctl stop glusterd" command
-> Then verified glusterd status using "systemctl status glusterd" command
-> Glusterd status showing "incative"
Moving this bug to verified state
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/RHSA-2018:2607
Description of problem: ======================= glusterd status showing "Active: failed" when it's stopped in RHEL7 ~]# systemctl status glusterd ● glusterd.service - GlusterFS, a clustered file-system server Loaded: loaded (/usr/lib/systemd/system/glusterd.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Fri 2016-10-14 10:07:13 IST; 1s ago Process: 19087 ExecStart=/usr/sbin/glusterd -p /var/run/glusterd.pid --log-level $LOG_LEVEL $GLUSTERD_OPTIONS (code=exited, status=0/SUCCESS) Main PID: 19088 (code=exited, status=15) CGroup: /system.slice/glusterd.service └─5830 /sbin/rpc.statd Version-Release number of selected component (if applicable): ============================================================= glusterfs-3.8.4-2. How reproducible: ================= Always Steps to Reproduce: ==================== 1. Have RHGS RHEL7 node 2. Start the glusterd if it's not running // systemctl start glusterd 3. Stop the glusterd // systemctl stop glusterd 4. Check the status // systemctl status glusterd ---> will show "Active: Failed" Actual results: =============== glusterd status showing failed when it's stopped in RHEL7 Expected results: ================= Status should show Inactive / Not running when it's stopped Additional info: