Bug 1411907

Summary: [RFE] provide the additional disktype for RAID 5
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: SATHEESARAN <sasundar>
Component: gdeployAssignee: Sachidananda Urs <surs>
Status: CLOSED ERRATA QA Contact: SATHEESARAN <sasundar>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhgs-3.2CC: amukherj, asrivast, bmohanra, knarra, rhinduja, rhs-bugs, rnachimu, sabose, smohan, srmukher, storage-qa-internal, surs
Target Milestone: ---Keywords: FutureFeature
Target Release: RHGS 3.3.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: gdeploy-2.0.2-2 Doc Type: Enhancement
Doc Text:
With this release, RAID5 disk-type is available in gdeploy along with JBOD, RAID6 and RAID10.
Story Points: ---
Clone Of:
: 1436695 (view as bug list) Environment:
Last Closed: 2017-09-21 04:49:50 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: 1403772    
Bug Blocks: 1411323, 1417138, 1436695, 1485854    

Description SATHEESARAN 2017-01-10 17:38:55 UTC
Description of problem:
-----------------------
The disktype currenlty supported by gdeploy are raid6, jbod, raid10

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
gdeploy-2.0.1-8.el7rhgs

How reproducible:
-----------------
NA for RFE

Steps to Reproduce:
--------------------
NA for RFE

Actual results:
---------------
There is no disktype for RAID 5

Expected results:
-----------------
Provide the disktype for RAID 5

Comment 1 SATHEESARAN 2017-01-11 17:47:20 UTC
With the conversation with Manoj on the bug 1403772, the computations done for RAID 6 is no different for RAID 5, because gdeploy only looks for 'diskcount', which is the number of data disks.

Comment 2 Sachidananda Urs 2017-01-12 07:26:24 UTC
(In reply to SATHEESARAN from comment #1)
> With the conversation with Manoj on the bug 1403772, the computations done
> for RAID 6 is no different for RAID 5, because gdeploy only looks for
> 'diskcount', which is the number of data disks.

Thanks sas. So, we will have this in next release.

Comment 4 Sachidananda Urs 2017-02-24 07:45:28 UTC
Commit: https://github.com/gluster/gdeploy/commit/feceba5 should fix the issue.

Comment 6 SATHEESARAN 2017-04-24 10:00:25 UTC
Tested with gdeploy-2.0.2-3.el7rhgs
Verified that 'raid5' is accepted as valid disk type by 'gdeploy'.

If illegal RAID type is provided, gdeploy throws proper error message as follows :
"Error: Unsupported disk type!
Only ['raid10', 'raid5', 'raid6', 'jbod'] are supported"

Comment 7 SATHEESARAN 2017-04-24 10:01:08 UTC
The correct fixed-in-version of this bug is gdeploy-2.0.2-2 
Updating the same

Comment 11 errata-xmlrpc 2017-09-21 04:49:50 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://access.redhat.com/errata/RHBA-2017:2777