Bug 1228499

Summary: Changes required in create brick pop up
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Ramesh N <rnachimu>
Component: rhscAssignee: Ramesh N <rnachimu>
Status: CLOSED ERRATA QA Contact: RamaKasturi <knarra>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rhgs-3.1CC: asrivast, dpati, knarra, nlevinki, rhs-bugs, rnachimu
Target Milestone: ---   
Target Release: RHGS 3.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhsc-3.1.0-59 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-29 05:32:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1202842    

Description Ramesh N 2015-06-05 05:22:36 UTC
Description of problem:

  Following changes are required in create brick pop up.

1. Change the default mount point to /rhgs/*
2. Add a note that RAID parameters should match with what was used while creating RAID volumes.
3. Default to RAID 6, Stripe size - 256
4. Default to "brick1" - detect brick names 
5. Change the labels - to "Confirm that it matches existing setup of controller"

Comment 2 RamaKasturi 2015-06-05 11:39:42 UTC
Ramesh, we should not be defaulting to 256 because RAID6 uses 128KB as stripe size which is documented in RHS admin guide and for RAID 10 it should be 256KB.

Comment 4 Ramesh N 2015-06-11 06:10:24 UTC
Posted a patch with following changes for review:

1. Make RAID-6 as the default selection in Create Brick Popup
2. Made 128 is the default stripe if RAID-6 is chosen and 256 if RAID 10 is chosen.
3. Added a warning with text "RAID parameters should match exactly with RAID Controller setup for RAID volumes"
4. Added message about recommended strip sizes for RAID-6 and RAID-10. It changes dynamically based on the RAID Type selected.


Following things in the bug description are not covered in this patch:
1. Change the default mount point to /rhgs/*
   - Its already covered in the bz#1227758
4. Default to "brick1" - detect brick names
   - This is little tricky not we are not planning to do this
5. Change the labels - to "Confirm that it matches existing setup of controller"
   - We can't change the labels to such a big text. But added warning before the raid related fields.

Comment 6 Ramesh N 2015-06-15 05:40:09 UTC
Moving back to MODIFIED as the build is not ready but errata has moved the bugs to ON_QA.

Comment 7 RamaKasturi 2015-06-16 12:59:31 UTC
Verified and works fine with build rhsc-3.1.0-0.60.el6.noarch.

Following changes were made:

1) RAID 6 is made as the default selection in the create brick popup.
2) Defaulted Stripe Size of  RAID 6 to 128KB
3) Defaulted Stripe Size of RAID 10 to 256KB.
4) When user mouse hovers on the question mark next to RAID parameters it displays a text which shows "RAID parameters should match exactly with RAID Controller setup for RAID volumes."
5) When user mouse hovers on the question mark next to Stripe Size parameter a text is shown which reads "Stripe Size 128KB is recommended for RAID6 device" and Stripe Size 256 recommended for RAID10 device"
6) Defaulted mount point to /rhgs/<brickname>

Comment 8 errata-xmlrpc 2015-07-29 05:32:28 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2015-1494.html