Bug 988946
Summary: | 'systemd stop glusterd' doesn't stop all started gluster daemons | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Richard <redhat.bugs> |
Component: | core | Assignee: | GlusterFS Bugs list <gluster-bugs> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.4.0 | CC: | bugs, gluster-bugs, joe, kkeithle, pasik, steven |
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: | 2014-10-16 15:39:40 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
Richard
2013-07-26 18:33:41 UTC
-1 This change was by design. Having the ability to restart the management daemon without interrupting service is useful. yes, but I want to run "service glusterd stop" and "service glusterfsd stop" and have no gluster processes running at all. I will have to re-test and double check that it actually does this as things like the NFS component never seem to get killed either. Just to confirm that running a stop command on Gluster still leaves daemons running in the background. I can understand the requirement for the daemons to stay running during a restart, but to not have them stop at shutdown seems a bit odd. Rich AFAIK systemd/systemctl does not have a way to differentiate between stopping for a software upgrade and stopping due to shutdown. If you want to stop the glusterfsd daemons before a shutdown, run `gluster volume stop $volname`. Although there's generally no harm in having the glusterfsd daemons remain running. I'm closing this defect as CLOSED/NOTABUG. if you disagree, feel free to reopen it and change the version to mainline, as this continues to be the 'as designed' behavior. So what is the correct way to stop *all* the glusterfs daemons on a given server, to take the server down for maintenance, in the correct way? I don't want to stop the gluster volumes, other servers will continue to serve them.. Thanks. (In reply to Pasi Karkkainen from comment #5) > So what is the correct way to stop *all* the glusterfs daemons on a given > server, to take the server down for maintenance, in the correct way? > > I don't want to stop the gluster volumes, other servers will continue to > serve them.. > > Thanks. I just started digging into this issue myself and found https://bugzilla.redhat.com/show_bug.cgi?id=1022542 which points to enabling the service glusterfsd.service, which when stopped during a shutdown will properly stop all the other gluster processes. This avoids a hard kill, causing a timeout to occur on other servers. |