Bug 957602
Summary: | [RHEVM-RHS] Remove rebalance and replace-brick actions from REST API | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Shruti Sampat <ssampat> |
Component: | ovirt-engine-restapi | Assignee: | Sahina Bose <sabose> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | SATHEESARAN <sasundar> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.2.0 | CC: | acathrow, bazulay, dtsang, iheim, jkt, knarra, mmahoney, oramraz, pprakash, Rhev-m-bugs, sabose, sasundar, scohen, sdharane |
Target Milestone: | --- | Flags: | scohen:
Triaged+
|
Target Release: | 3.3.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | gluster | ||
Fixed In Version: | is26 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | Bug | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Gluster | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1044030 |
Description
Shruti Sampat
2013-04-29 06:52:57 UTC
just wondering - what's the issue of having them in the API, even if not yet in the UI? Rebalance and replace-brick operations are now implemented as gluster asynchronous tasks. The current commands need to be rewritten to support this, which is why it needs to be hidden from UI and REST API. Replace brick API has been marked deprecated After reading the comment 3, its clear that only Replace brick is deprecated. And Rebalance apis still available with RHEVM 3.3 and gluster volumes make use of that. Tested with RHEVM IS27 (3.3.0-0.40.rc.el6ev) The contents of my RHEVM api (https://10.70.37.61/api?rsdl) has the following, <link href="/api/clusters/{cluster:id}/glustervolumes/{glustervolume:id}/bricks/{brick:id}/replace" rel="replace"><description>This is deprecated.Use migrate and delete instead.</description><request><http_method>POST</http_method><headers><header required="true"><name>Content-Type</name><value>application/xml|json</value></header><header required="false"><name>Correlation-Id</name><value>any string</value></header></headers><body><type>Action</type><parameters_set><deprecated>true</deprecated><description>replace the specified brick with a new brick directory in the gluster volume attached to the cluster</description><parameter required="true" type="xs:string"><name>action.brick.server_id</name></parameter><parameter required="true" type="xs:string"><name>action.brick.brick_dir</name></parameter><parameter required="false" type="xs:boolean"><name>action.force</name></parameter></parameters_set></body></request><response><type>Action</type></response></link> From the above, replace brick is seem to be deprecated. Rebalance API is still available. Marking this bug as VERIFIED Closing - RHEV 3.3 Released Closing - RHEV 3.3 Released Closing - RHEV 3.3 Released |