Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1238332 - unending remove brick undetermined state
unending remove brick undetermined state
Status: CLOSED CANTFIX
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: rhsc (Show other bugs)
3.1
Unspecified Unspecified
unspecified Severity medium
: ---
: ---
Assigned To: Ramesh N
RHS-C QE
:
Depends On:
Blocks: 1216951
  Show dependency treegraph
 
Reported: 2015-07-01 11:39 EDT by Lubos Trilety
Modified: 2016-04-13 02:25 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: Known Issue
Doc Text:
When the console doesn't know that glusterd is not running on the host, removal of a brick results in an undetermined state (question mark). When glusterd is started again, the brick remains in an undetermined state. The volume command shows status as "not started" but the remove-brick status command returns null in the status field. Workaround: Stop/commit remove-brick from the CLI.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-04-13 02:25:22 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Lubos Trilety 2015-07-01 11:39:03 EDT
Description of problem:
When glusterd service isn't running on the host, however console doesn't find out that yet. Remove of the brick placed on such host could be invoked from the console, it ends with undetermined state, question-mark icon. However when glusterd is started again on the host it doesn't change back to remove brick icon and remains in undetermined state.
No other task can be run from GUI the task is not finished, however it cannot be stopped from GUI, only 'Status' button is enabled.


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

How reproducible:
100%

Steps to Reproduce:
1. Stop glusterd on rhgs server
2. Invoke remove brick, which is located on the machine with stopped glusterd service, using GUI
(The confirm dialog could be prepared before the glusterd is stopped on the machine)
3. State goes to undetermined with question-mark icon
4. Start glusterd service on the machine
5. Look on the state of the task


Actual results:
GUI:
'Remove brick status could not be determined'
and 'Remove Brick Status' window is empty
CLI:
# gluster volume status <volname>
....
Status               : not started

Expected results:
Remove brick should be cancelled or it should continue correctly

Additional info:
Comment 1 Sahina Bose 2015-07-02 05:54:23 EDT
This seems like a corner case, why is the severity high?
Comment 2 Lubos Trilety 2015-07-02 07:25:02 EDT
(In reply to Sahina Bose from comment #1)
> This seems like a corner case, why is the severity high?

Because it blocks work with the volume from GUI. However you're right it's kind of a corner case, changed to medium.
Comment 3 monti lawrence 2015-07-22 15:43:28 EDT
Doc text is edited. Please sign off to be included in Known Issues.
Comment 4 anmol babu 2015-07-23 07:19:03 EDT
Edited doc-text. Edited text looks good to me
Comment 6 Sahina Bose 2016-04-13 02:25:22 EDT
A workaround has been suggested for this bug. Once glusterd is stopped on the server, console cannot perform actions on server - so closing this as we do not currently have a way to fix this scenario

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