Bug 971256

Summary: glusterd : ' service glusterd status' is giving Usage (Usage: /etc/init.d/glusterd {start|stop|status|restart|condrestart|try-restart|reload|force-reload}), rather than showing status
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Rachana Patel <racpatel>
Component: glusterfsAssignee: Amar Tumballi <amarts>
Status: CLOSED NOTABUG QA Contact: amainkar
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.1CC: rhs-bugs, vbellur, vraman
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-06 06:59:41 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 Rachana Patel 2013-06-06 06:54:09 UTC
Description of problem:
glusterd : ' service glusterd status' is giving Usage (Usage: /etc/init.d/glusterd {start|stop|status|restart|condrestart|try-restart|reload|force-reload}), rather than showing status

Version-Release number of selected component (if applicable):
3.4.0.9rhs-1.el6rhs.x86_64

How reproducible:
not always

Steps to Reproduce:
updated rpm from 3.4.0.8rhs-1.el6rhs.x86_64 to 3.4.0.9rhs-1.el6rhs.x86_64 and checked glusterd status

[root@fan rpm]# rpm -qa | grep gluster
gluster-swift-container-1.4.8-4.el6.noarch
glusterfs-fuse-3.4.0.8rhs-1.el6rhs.x86_64
vdsm-gluster-4.10.2-18.0.1.el6rhs.noarch
gluster-swift-plugin-1.0-5.noarch
gluster-swift-proxy-1.4.8-4.el6.noarch
gluster-swift-account-1.4.8-4.el6.noarch
glusterfs-geo-replication-3.4.0.8rhs-1.el6rhs.x86_64
gluster-swift-doc-1.4.8-4.el6.noarch
gluster-swift-1.4.8-4.el6.noarch
glusterfs-rdma-3.4.0.8rhs-1.el6rhs.x86_64
gluster-swift-object-1.4.8-4.el6.noarch
glusterfs-3.4.0.8rhs-1.el6rhs.x86_64
glusterfs-server-3.4.0.8rhs-1.el6rhs.x86_64
[root@fan rpm]# service glusterd start
Starting glusterd:                                         [  OK  ]
[root@fan rpm]# wget ...

[root@fan rpm]# rpm -Uvh *
...

[root@fan rpm]# rpm -qa | grep gluster
gluster-swift-container-1.4.8-4.el6.noarch
glusterfs-3.4.0.9rhs-1.el6rhs.x86_64
glusterfs-geo-replication-3.4.0.9rhs-1.el6rhs.x86_64
vdsm-gluster-4.10.2-18.0.1.el6rhs.noarch
gluster-swift-plugin-1.0-5.noarch
gluster-swift-proxy-1.4.8-4.el6.noarch
gluster-swift-account-1.4.8-4.el6.noarch
gluster-swift-doc-1.4.8-4.el6.noarch
glusterfs-fuse-3.4.0.9rhs-1.el6rhs.x86_64
glusterfs-devel-3.4.0.9rhs-1.el6rhs.x86_64
glusterfs-rdma-3.4.0.9rhs-1.el6rhs.x86_64
gluster-swift-1.4.8-4.el6.noarch
gluster-swift-object-1.4.8-4.el6.noarch
glusterfs-server-3.4.0.9rhs-1.el6rhs.x86_64
glusterfs-debuginfo-3.4.0.9rhs-1.el6rhs.x86_64

[root@fan rpm]# service glusterd stauts         <-----------------------
Usage: /etc/init.d/glusterd {start|stop|status|restart|condrestart|try-restart|reload|force-reload}

[root@fan rpm]# service glusterd stauts            <-----------------------
Usage: /etc/init.d/glusterd {start|stop|status|restart|condrestart|try-restart|reload|force-reload}

[root@fan rpm]# /etc/init.d/glusterd status
glusterd (pid  4346) is running...

[root@fan rpm]# service /etc/init.d/glusterd  stauts
/etc/init.d/glusterd: unrecognized service

[root@fan rpm]# service glusterd  stauts    <-----------------------
Usage: /etc/init.d/glusterd {start|stop|status|restart|condrestart|try-restart|reload|force-reload}
[root@fan rpm]# service glusterd  stauts
Usage: /etc/init.d/glusterd {start|stop|status|restart|condrestart|try-restart|reload|force-reload}
[root@fan rpm]# /etc/init.d/glusterd status
glusterd (pid  4346) is running...

[root@fan rpm]# service glusterd stop
Stopping glusterd:                                         [  OK  [root@fan rpm]# service glusterd status
glusterd is stopped
[root@fan rpm]# service glusterd start
Starting glusterd:                                         [  OK  ]
[root@fan rpm]# service glusterd status
glusterd (pid  4675) is running...


Actual results:
' service glusterd status' is giving Usage

Expected results:
 ' service glusterd status'  should show  status

Additional info:
got the same error on all server