Bug 1213309

Summary: [RFE][HC] - Support replace brick from UI
Product: [oVirt] ovirt-engine Reporter: Sahina Bose <sabose>
Component: RFEsAssignee: Sahina Bose <sabose>
Status: CLOSED CURRENTRELEASE QA Contact: RamaKasturi <knarra>
Severity: medium Docs Contact:
Priority: high    
Version: ---CC: bmcclain, bugs, gklein, juwu, knarra, lsurette, mgoldboi, rbalakri, sbonazzo, srevivo, ykaul
Target Milestone: ovirt-4.0.0-betaKeywords: FutureFeature
Target Release: 4.0.0Flags: ylavi: ovirt-4.0.0?
bmcclain: planning_ack+
sabose: devel_ack+
rule-engine: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
You can now replace bricks for replicate type Gluster volumes and perform maintenance tasks from the Administration Portal.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-17 14:36:38 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: 1177771, 1217450, 1277939, 1390410    

Description Sahina Bose 2015-04-20 10:13:53 UTC
Description of problem:

In Hyperconverged mode, bricks need to be replaced before a host can be removed. To enable this, the engine needs to support replacing bricks. The UI should allow for replacing of one or all bricks on the host with equivalent from other hosts.

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


How reproducible:


Steps to Reproduce:
NA

Comment 1 Red Hat Bugzilla Rules Engine 2015-10-19 10:54:27 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 2 Mike McCune 2016-03-28 23:31:34 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 3 Sandro Bonazzola 2016-05-02 09:48:20 UTC
Moving from 4.0 alpha to 4.0 beta since 4.0 alpha has been already released and bug is not ON_QA.

Comment 4 RamaKasturi 2016-08-17 11:25:45 UTC
Verified and works fine with build ovirt-engine-setup-4.0.2.6-0.1.el7ev.noarch

successfully replaced a brick when I/O is going on on the volume and self heal kicks in.

successfully replaced a brick which is down and self heal kicks in.

Replaced bricks from UI in engine, vmstore and data volumes. once self heal is completed, stopped and started all the vms and ran fio to make sure that none of the vms were broke.

A new event gets displayed when replace brick happens which is "Replaced brick '<old-brick>' with new brick '<new-brick>' of Gluster Volume <vol_name> on cluster <cluster_name>"