Bug 1033973

Summary: REST: remove brick job does not report finished state even though job has finished
Product: Red Hat Gluster Storage Reporter: Dustin Tsang <dtsang>
Component: rhsc-sdkAssignee: Shubhendu Tripathi <shtripat>
Status: CLOSED NOTABUG QA Contact: Dustin Tsang <dtsang>
Severity: high Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: dpati, knarra, mmahoney, mmccune, pprakash, rhs-bugs, ssampat
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-25 09:06:15 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:

Description Dustin Tsang 2013-11-24 22:15:12 UTC
Description of problem:

The remove-brick job reports status as STARTED when gluster remove-brick has finished. In rhsc gui/gluster cli, shows that all remove-brick operation has completed. Job should report FINISHEd when remove-brick job has finished.


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

How reproducible:
100%

Steps to Reproduce:
1. setup a 2 node cluster
2. create a dist volume
3. via rest api call the migrate operation on 2 bricks
4. using the gluster-cli, wait for `gluster volume status` command to report job has finished.
5. perform a show on the job (GET on the /api/job/:id)

Actual results:
the status shown in the response is STARTED


Expected results:
the status show should be FINISHED


Additional info:

Comment 2 Dusmant 2013-11-25 09:06:15 UTC
You should commit to see the job status has finished or not.