Bug 1182796

Summary: [RFE][HC] - volume creation for hyperconverged use case should only allow replica 3 volumes
Product: [oVirt] ovirt-engine Reporter: Paul Cuzner <pcuzner>
Component: Frontend.WebAdminAssignee: Sahina Bose <sabose>
Status: CLOSED CURRENTRELEASE QA Contact: RamaKasturi <knarra>
Severity: high Docs Contact:
Priority: medium    
Version: 3.5.0CC: amureini, bmcclain, bugs, gklein, iheim, juwu, knarra, laravot, lsurette, pcuzner, rbalakri, Rhev-m-bugs, sabose, 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   
Fixed In Version: Doc Type: Enhancement
Doc Text:
When a cluster is set to hyper-converged mode (with both Virt and Gluster services enabled), for Gluster storage, only replica 3 volumes are supported.
Story Points: ---
Clone Of:
: 1183308 (view as bug list) Environment:
Last Closed: 2016-08-12 14:05:25 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:
Bug Depends On:    
Bug Blocks: 1203621, 1277939    
Description Flags
Replica 3 none

Description Paul Cuzner 2015-01-15 22:48:14 UTC
Description of problem:
for a hyperconverged use case, the glusterfs volume layout MUST be replica 3 - rhevm 3.5 currently exposes all volume types to the user which could lead to invalid configurations and data loss.

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

How reproducible:

Steps to Reproduce:

Actual results:

Expected results:
This RFE requests that when a volume is created in a cluster that has both virt and glusterd enabled, the volume type pull down box should be restricted to show just replicated with the replica count automatically set to 3.

Additional info:

Comment 1 Yaniv Kaul 2015-11-26 16:25:28 UTC
Paul - I'm quite sure we have such an enforcement in 3.6 - can you check?

Comment 2 Yaniv Lavi 2015-11-27 00:01:12 UTC
(In reply to Yaniv Kaul from comment #1)
> Paul - I'm quite sure we have such an enforcement in 3.6 - can you check?

We added this to storage domain logic. But this rfe is not showing that option in the gluster management ui.

Comment 3 Red Hat Bugzilla Rules Engine 2015-12-01 15:35:55 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 4 Sahina Bose 2016-03-08 09:38:24 UTC
*** Bug 1183308 has been marked as a duplicate of this bug. ***

Comment 5 Sandro Bonazzola 2016-05-02 10:08:11 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 8 RamaKasturi 2016-08-11 08:39:38 UTC
Verified and works fine with ovirt-engine-

When cluster is in hyperconverged mode, i.e with virt and gluster service enabled, click on create new volume shows replicate and as of now it does not show replicate count till volume types are refreshed. Raised a bug for this https://bugzilla.redhat.com/show_bug.cgi?id=1366167.

Once volume Types are refreshed, New volume dialog displays Type as Replicate and Replica count as "3". Attached a screenshot for the same.

Comment 9 RamaKasturi 2016-08-11 08:40:15 UTC
Created attachment 1189958 [details]
Replica 3