Bug 1377370 - [RFE]Moving the gluster node to maintenance should gracefully kill all gluster processes
Summary: [RFE]Moving the gluster node to maintenance should gracefully kill all gluste...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Gluster
Version: 4.0.4.2
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Kaustav Majumder
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-19 13:43 UTC by SATHEESARAN
Modified: 2022-02-23 14:33 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
RHV-RHGS hyperconvergence
Last Closed: 2019-03-26 09:10:07 UTC
oVirt Team: Gluster
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-44809 0 None None None 2022-02-23 14:33:08 UTC
oVirt gerrit 96025 0 master ABANDONED gluster: Added option '-g' to gracefully kill gluster processes 2020-07-13 09:57:22 UTC

Description SATHEESARAN 2016-09-19 13:43:09 UTC
Description of problem:
-----------------------
While moving the Virt cum Gluster ( hyperconverged ) node to maintenance, by selecting an option to stop gluster process, all the gluster processes are killed abruptly by invoking the script 'stop-all-gluster-process.sh'.

With RHGS 3.2.0, 'stop-all-gluster-process.sh' provides '-g' switch to gracefully kill all gluster process, as abruptly killing process may lead to inconsistent scenarios.

So, while moving the gluster node to maintenance, RHV should make use of this script to stop all gluster processes

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

How reproducible:
-----------------
NA


Steps to Reproduce:
-------------------
NA

Actual results:
---------------
Moving the node to maintenance stops all gluster processes abruptly

Expected results:
-----------------
Exploit the script 'stop-all-gluster-process.sh' and make use of '-g' option to gracefully kill all gluster processes

Additional info:
----------------
http://review.gluster.org/#/c/15188/

Comment 1 Sahina Bose 2016-12-21 09:08:52 UTC
Calling the script with -g flag means that the script will keep trying till the processes are killed and does not return immediately. We need to keep polling for status of process before host maintenance can be completed - this complicates the flow, deferring for now

Comment 3 Sandro Bonazzola 2019-01-28 09:34:19 UTC
This bug has not been marked as blocker for oVirt 4.3.0.
Since we are releasing it tomorrow, January 29th, this bug has been re-targeted to 4.3.1.

Comment 4 Kaustav Majumder 2019-03-26 09:10:07 UTC
Right now there is no framework for handling a back event from the vdsm to the engine side in order to ensure that gluster processes have indeed stopped.


Note You need to log in before you can comment on or make changes to this bug.