[Bugs] [Bug 1204641] [geo-rep] stop-all-gluster-processes.sh fails to stop all gluster processes

bugzilla at redhat.com bugzilla at redhat.com
Mon Mar 23 09:37:14 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1204641

Kotresh HR <khiremat at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|bugs at gluster.org            |khiremat at redhat.com



--- Comment #1 from Kotresh HR <khiremat at redhat.com> ---
Description of problem:

'service glusterd stop' stops only the management daemon and not all the
gluster processes. A separate script 'stop-all-gluster-processes.sh' was
created to achieve the intent of stopping all gluster processes. That fails to
work when there is more than one gsync process running.


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


How reproducible:  Always


Steps to Reproduce:

1. Have geo-rep session(s) created between master and slave (any configuration)
2. After successfully establishing and starting session(s), do a "ps aux | grep
gluster | grep gsync | awk {'print $2'} " to make sure that there is more than
one gsync process running (or any related process for that matter)
3. Execute the script
"/usr/share/glusterfs/scripts/stop-all-gluster-processes.sh" and that should go
through without any errors.
4. Run the 'ps' command again (mentioned in step 2) to verify that the gluster
processes have stopped. 


Actual results:

The script fails when there is more than one process running. It errors out
saying 'too many arguments'


Expected results:

The script should work irrespective of number of processes active at that time. 


Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list