Bug 1037709

Summary: REST: migrating step's type is unknown
Product: Red Hat Gluster Storage Reporter: Dustin Tsang <dtsang>
Component: rhsc-sdkAssignee: Shubhendu Tripathi <shtripat>
Status: CLOSED ERRATA QA Contact: Dustin Tsang <dtsang>
Severity: low Docs Contact:
Priority: low    
Version: 2.1CC: dpati, grajaiya, mmahoney, mmccune, rhs-bugs, sabose, sharne, shtripat
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 2.1.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cb11 Doc Type: Bug Fix
Doc Text:
Previously, the step type value for rebalance volume and remove bricks were displayed as UNKNOWN in API listing. Now, the correct step type is displayed.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-25 08:07:34 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:
Attachments:
Description Flags
steps index or list none

Description Dustin Tsang 2013-12-03 16:03:39 UTC
Description of problem:
The type field of the migrating step(child of the executing step) of the remove-brick job is unknown. 


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


How reproducible:


Steps to Reproduce:
1. dist vol created in rhsc
2. via the rest api migrate 2 bricks
=> job id is returned
3. get the index of the steps for the job
(GET /api/jobs/:id/steps)
4. inspect status of the step with the description 'removing bricks'


Actual results:
unknown

Expected results:
should not be set to unknown.

Additional info:

Comment 1 Dustin Tsang 2013-12-03 16:04:39 UTC
Created attachment 832189 [details]
steps index or list

Comment 3 Sahina Bose 2013-12-12 05:19:56 UTC
Added mapping enums to REST API for steps related to gluster tasks

Comment 4 Dustin Tsang 2013-12-13 22:58:06 UTC
verified as fixed in rhsc-cb11

Comment 5 Shalaka 2014-01-22 06:14:57 UTC
Please review the edited DocText and signoff.

Comment 7 errata-xmlrpc 2014-02-25 08:07:34 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-0208.html

Comment 8 Shubhendu Tripathi 2014-06-16 11:22:58 UTC
doc-text looks fine