Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1381339

Summary: starting glusterfs-server via init.d results in upstart reporting stop/waiting
Product: [Community] GlusterFS Reporter: Ben Werthmann <ben>
Component: coreAssignee: bugs <bugs>
Status: CLOSED EOL QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.7.8CC: amukherj, bugs, kaushal
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-08 11:02:07 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:

Description Ben Werthmann 2016-10-03 18:28:55 UTC
Description of problem:

The Ubuntu Trusty package has an Upstart (/etc/init/glusterfs-server.conf) and an init.d script (/etc/init.d/glusterfs-server):

ubuntu@bwerthmann-0a393805:~$ sudo service glusterfs-server status
glusterfs-server start/running, process 23844
ubuntu@bwerthmann-0a393805:~$ sudo /etc/init.d/glusterfs-server start
 * glusterd service is already running with pid 23844
ubuntu@bwerthmann-0a393805:~$ sudo /etc/init.d/glusterfs-server status
 * glusterd service is running with pid 23844
ubuntu@bwerthmann-0a393805:~$ sudo /etc/init.d/glusterfs-server stop
 * Stopping glusterd service glusterd                                                                                                                                                            [ OK ]
ubuntu@bwerthmann-0a393805:~$ sudo service glusterfs-server status
glusterfs-server stop/waiting
ubuntu@bwerthmann-0a393805:~$ sudo /etc/init.d/glusterfs-server status
 * glusterd service is not running.
ubuntu@bwerthmann-0a393805:~$ sudo /etc/init.d/glusterfs-server start
 * Starting glusterd service glusterd                                                                                                                                                            [ OK ]
ubuntu@bwerthmann-0a393805:~$ sudo /etc/init.d/glusterfs-server status
 * glusterd service is running with pid 24210
ubuntu@bwerthmann-0a393805:~$ sudo service glusterfs-server status
glusterfs-server stop/waiting

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

How reproducible:
always


Steps to Reproduce:
1. sudo /etc/init.d/glusterfs-server status
2. sudo /etc/init.d/glusterfs-server stop
3. sudo /etc/init.d/glusterfs-server start
4. sudo service glusterfs-server status
glusterfs-server stop/waiting

Actual results:
glusterfs-server stop/waiting

Expected results:
There should be no difference in state between Upstart and init.d.

Additional info:
We resolved this issue by removing the Upstart script via config mgmt.

Comment 1 Kaushal 2017-03-08 11:02:07 UTC
This bug is getting closed because GlusteFS-3.7 has reached its end-of-life.

Note: This bug is being closed using a script. No verification has been performed to check if it still exists on newer releases of GlusterFS.
If this bug still exists in newer GlusterFS releases, please reopen this bug against the newer release.