Bug 1182364

Summary: [RFE][HC] - creating a glusterfs volume with a replica count of 3 is not supported
Product: Red Hat Enterprise Virtualization Manager Reporter: Paul Cuzner <pcuzner>
Component: ovirt-engine-webadmin-portalAssignee: Ramesh N <rnachimu>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.5.0CC: amureini, ecohen, gklein, iheim, laravot, lsurette, rbalakri, Rhev-m-bugs, sabose, scohen, yeylon, ylavi
Target Milestone: ---Keywords: FutureFeature
Target Release: 3.6.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: gluster
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
: 1183303 (view as bug list) Environment:
Last Closed: 2015-03-19 09:53:21 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: 1183303    
Bug Blocks:    

Description Paul Cuzner 2015-01-14 23:28:54 UTC
Description of problem:
glusterfs 3.6 is supporting replica 3 volumes, specifically for RHEV HC use case. The RHEVM environment however, does not allow a replica 3 volume to be created. An existing replica3 volume can be extended by not created in rhevm 3.5

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

How reproducible:


Steps to Reproduce:
1. attempt to create a replicated volume with a replica count other than 2!
2.
3.

Actual results:
The replica count is not an editable field in the UI

Expected results:
The UI should allow a replica count to be specified within the supported range

Additional info:

Comment 1 Paul Cuzner 2015-01-15 22:27:30 UTC
The issue here is workflow related. The replica count is a facet of a volume, and yet the value for a replica count is editable only when adding bricks. Once a volumes replica count is set, adding bricks should not have an editable field for replica count at all - every additional set of bricks has to adhere to the replica count for the volume.

My suggestion is just to change where the editable fields are. Make the Add volume replica count editable - I'd recommend a select box not free text to keep the replica count to a supported level. Then within add bricks the replica count becomes visible only as a cue to the admin for the number of bricks that need to be added.

Comment 2 Sahina Bose 2015-01-16 14:17:32 UTC
Ramesh, I'm assigning this to you as you'll be looking at refactoring the brick UI

Comment 3 Yaniv Lavi 2015-03-19 09:53:21 UTC
We will be using 3.6 as base so this is not something we will fix for 3.5.