Bug 1217450

Summary: [RFE][HC] - On HC cluster hosts should be not allowed to be removed only replace with brick replace GUI.
Product: [oVirt] ovirt-engine Reporter: Yaniv Lavi <ylavi>
Component: RFEsAssignee: Sahina Bose <sabose>
Status: CLOSED CURRENTRELEASE QA Contact: RamaKasturi <knarra>
Severity: high Docs Contact:
Priority: high    
Version: ---CC: bmcclain, bugs, gklein, knarra, lsurette, oourfali, rbalakri, sabose, 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: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 4.0-beta Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-22 12:27:49 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: 1213309    
Bug Blocks: 1177771, 1277939, 1390410    

Description Yaniv Lavi 2015-04-30 12:09:14 UTC
Description of problem:
On HC cluster hosts should be not allowed to be removed only replace with brick replace GUI. This is to not allow replica degraded state.

Comment 1 Yaniv Lavi 2015-04-30 12:10:13 UTC
Can you please block this bug on brick replace GUI?

Comment 2 Sahina Bose 2015-04-30 14:41:41 UTC
I think, the remove host check will change to make sure that host cannot be removed if there are bricks present on it. And the way to ensure there are no bricks is to use the Replace brick UI.

Comment 3 Oved Ourfali 2015-05-01 04:16:17 UTC
This isn't an infra item, but gluster one. 
We will review the code of course.

Comment 4 Red Hat Bugzilla Rules Engine 2015-10-19 10:51:48 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 5 Sandro Bonazzola 2016-05-02 09:51: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 6 Sahina Bose 2016-05-06 13:15:29 UTC
There's a check in place which prevents host being removed if bricks are present. Replacing a brick is possible via replace brick UI

Comment 7 RamaKasturi 2016-08-22 06:14:58 UTC
Verified and works fine with ovirt-engine-4.0.2.6-0.1.el7ev.noarch and glusterfs-3.7.9-10.el7rhgs.x86_64.

User will not be able to remove a host from a cluster when there are bricks present on that node forming a volume.

In HC case, where there is a replica 3 volume, removing a brick from a volume is prevented and only replace brick is allowed.