Bug 1384762

Summary: glusterd status showing failed when it's stopped in RHEL7
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Byreddy <bsrirama>
Component: glusterdAssignee: Atin Mukherjee <amukherj>
Status: CLOSED ERRATA QA Contact: Rajesh Madaka <rmadaka>
Severity: low Docs Contact:
Priority: low    
Version: rhgs-3.2CC: amukherj, mpandey, nchilaka, pasik, ppai, rhinduja, rhs-bugs, rmadaka, sheggodu, steven, storage-qa-internal, vbellur
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.4.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: rebase
Fixed In Version: glusterfs-3.12.2-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1462200 (view as bug list) Environment:
Last Closed: 2018-09-04 06:29:44 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: 1462200    
Bug Blocks: 1503134    

Description Byreddy 2016-10-14 05:22:55 UTC
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:

Comment 5 Atin Mukherjee 2017-06-08 13:17:01 UTC
Gaurav,

Can you please work on this bug?

Comment 7 Atin Mukherjee 2017-06-19 12:40:05 UTC
upstream patch : https://review.gluster.org/17559

Comment 11 Rajesh Madaka 2018-02-20 12:35:12 UTC
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

Comment 14 errata-xmlrpc 2018-09-04 06:29:44 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/RHSA-2018:2607