Bug 1544743

Summary: Gluster-block does not understand PVC's storage unit
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Humble Chirammal <hchiramm>
Component: gluster-blockAssignee: Prasanna Kumar Kalever <prasanna.kalever>
Status: CLOSED ERRATA QA Contact: Rachael <rgeorge>
Severity: medium Docs Contact:
Priority: medium    
Version: rhgs-3.0CC: amukherj, aos-bugs, aos-storage-staff, hchiramm, jcall, jhou, lxia, madam, mliyazud, pprakash, rcyriac, rhinduja, rhs-bugs, storage-qa-internal, tlarsson
Target Milestone: ---   
Target Release: CNS 3.9   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gluster-block-0.2.1-14.1.el7rhgs Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1544735
: 1545049 (view as bug list) Environment:
Last Closed: 2018-04-05 03:10:25 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: 1505290, 1544735    
Bug Blocks: 1526414, 1537461    

Comment 2 Humble Chirammal 2018-02-13 12:16:31 UTC
Gluster Block:
https://review.gluster.org/#/c/19027/

Comment 3 Atin Mukherjee 2018-02-13 14:10:19 UTC
(In reply to Humble Chirammal from comment #2)
> Gluster Block:
> https://review.gluster.org/#/c/19027/

Status is wrong! It should never be moved to MODIFIED till its pulled into downstream.

Comment 4 Prasanna Kumar Kalever 2018-02-20 14:24:06 UTC
(In reply to Atin Mukherjee from comment #3)
> (In reply to Humble Chirammal from comment #2)
> > Gluster Block:
> > https://review.gluster.org/#/c/19027/

Also needs https://review.gluster.org/#/c/19055/

> 
> Status is wrong! It should never be moved to MODIFIED till its pulled into
> downstream.

Comment 6 Rachael 2018-03-12 14:20:12 UTC
Given below is the summary of how different storage units are handled 

1. When the storage unit in the PVC is specified as 'Gi', the PV provisioned is of the exact size as specified.

2. When the storage unit in the PVC is specified as 'G', the value is converted in terms of 'Gi' and the PV is provisioned accordingly 

3. When no storage unit is specified the value is taken in bytes and rounded up to the nearest GiB value. 

Detailed explanation can be found in https://bugzilla.redhat.com/show_bug.cgi?id=1505290

Hence moving the bug to verified

Comment 9 errata-xmlrpc 2018-04-05 03:10:25 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-2018:0640