Description of problem: --------------------------------------- The operations rebalance, and replace-brick are not yet supported in the UI. It would be better to remove them from the REST API. Version-Release number of selected component (if applicable): rhevm-cli-3.2.0.7-1.el6ev.noarch How reproducible: Always Steps to Reproduce: 1.N/A 2. 3. Actual results: Expected results: Remove rebalance and replace-brick actions from REST API. Additional info:
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