Bug 1042930

Summary: replica_count field not present in rsdl definitions for migrate
Product: Red Hat Gluster Storage Reporter: Dustin Tsang <dtsang>
Component: rhsc-sdkAssignee: Shubhendu Tripathi <shtripat>
Status: CLOSED NOTABUG QA Contact: Dustin Tsang <dtsang>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.1CC: 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-12-17 05:29:22 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
rsdl from rhsc-cb11 none

Description Dustin Tsang 2013-12-13 16:20:43 UTC
Created attachment 836376 [details]
rsdl from rhsc-cb11

Description of problem:

replica_count field not present in rsdl definitions for migrate


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

How reproducible:


Steps to Reproduce:
1. go to http://<hostname>/api?rsdl
2. locate the link element with the attribute href="/api/clusters/{cluster:id}/glustervolumes/{glustervolume:id}/bricks/migrate" field no present in rsdl definitions for migrate and delete"


Actual results:
element does not describe the replica_count parameter

Expected results:
link element should describe the parameter replica_count

Additional info:

Comment 1 Dustin Tsang 2013-12-13 16:22:09 UTC
clarifying steps in comment#0:

Steps to Reproduce:
1. go to http://<hostname>/api?rsdl
2. locate the link element with the attribute href="/api/clusters/{cluster:id}/glustervolumes/{glustervolume:id}/bricks/migrate"

Comment 3 Dusmant 2013-12-16 08:35:24 UTC
This is not a bug. Because reducing replica count is not a migration but normal DELETE action. Migration is meant for distribute type only.