Bug 1221306

Summary: [New] - Disable remove and add brick for disperse and distributed disperse volumes from UI
Product: [oVirt] ovirt-engine Reporter: RamaKasturi <knarra>
Component: Frontend.WebAdminAssignee: Shubhendu Tripathi <shtripat>
Status: CLOSED CURRENTRELEASE QA Contact: RamaKasturi <knarra>
Severity: medium Docs Contact:
Priority: unspecified    
Version: ---CC: bugs, dpati, gklein, lsurette, mgoldboi, rbalakri, sabose, sasundar, shtripat, yeylon, ykaul
Target Milestone: ovirt-3.6.0-rcFlags: rule-engine: ovirt-3.6.0+
ylavi: planning_ack+
rule-engine: devel_ack+
rule-engine: testing_ack+
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1228237 (view as bug list) Environment:
Last Closed: 2016-02-10 12:49:03 UTC 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: 1187461, 1228237    

Description RamaKasturi 2015-05-13 16:43:14 UTC
Description of problem:
Since UI currently does not support add and remove brick for disperse and distributed disperse volumes disable them or display a message in the UI which shows that add / remove brick is not supported.

Version-Release number of selected component (if applicable):
ovirt-engine-3.6.0-0.0.master.20150429182702.git939c2e8.el6.noarch

How reproducible:
Always

Steps to Reproduce:
1. Create disperse and distribute disperse volumes from CLI.
2. Wait for it to sync in UI.
3. select the disperse and distribute disperse volumes.

Actual results:
Add and remove brick is enabled.

Expected results:
Disable add / remove brick or display an message which says "Add or remove brick is not supported for EC volumes"

Additional info:

Comment 1 Shubhendu Tripathi 2015-05-18 09:37:33 UTC
There are failCanDoActions added add/remove bricks to a disperse/distributed disperse volume.
Will introduce separate change for disabling the buttons in UI as well.

Comment 2 Max Kovgan 2015-06-28 14:11:51 UTC
ovirt-3.6.0-3 release

Comment 3 SATHEESARAN 2016-02-01 11:58:21 UTC
Tested with RHEV 3.6.2.6 and RHGS 3.1.2 nightly ( glusterfs-3.7.5-17.el7rhgs )

1. Created a disperse volume from gluster CLI
2. After the volume is synced in RHEVM UI, observed the add-brick and remove brick were abandoned

moving this bug to verified