Bug 1891403

Summary: [GSS] gluster block hosting volume free space doesn't matches between heketi and gluster.
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Priya Pandey <prpandey>
Component: glusterfsAssignee: Vinayak Hariharmath <vharihar>
Status: CLOSED ERRATA QA Contact: Vinayak Papnoi <vpapnoi>
Severity: medium Docs Contact:
Priority: medium    
Version: ocs-3.11CC: jahernan, moagrawa, nravinas, pasik, pprakash, prasanna.kalever, rhs-bugs, sabose, sajmoham, sheggodu, vharihar, xiubli
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.5.z Batch Update 7   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-6.0-57 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-05 07:56:26 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:

Description Priya Pandey 2020-10-26 06:12:28 UTC
Description of problem:

- The block hosting volume free space in heketi doesn't match with free space 
  in  


Heketi:

sh-4.2# heketi-cli volume info 33bd5102983a67545aaa1bc9c245bdc3
Name: vol_33bd5102983a67545aaa1bc9c245bdc3
Size: 250
Volume Id: 33bd5102983a67545aaa1bc9c245bdc3
Cluster Id: 32df204b5fadb94b78075c5e5164af77
Mount: 10.129.26.117:vol_33bd5102983a67545aaa1bc9c245bdc3
Mount Options: backup-volfile-servers=10.129.26.119,10.129.26.118
Block: true
Free Size: 80
Reserved Size: 9                           --------------------> Reserved space
Block Hosting Restriction: (none)
Block Volumes: [052865786988032aa972308ad04cec4b 05af255f6054eb3bd0876334d79f0d42 961ca559463326ac799b5c1dfb1ddd89 a704f58ca953ba1c6f32b74e998c2762 bee1d9d947ee722ce9725c96591cb36a c5281e9cc5331757ab50fa765fcca3a5 cefac11f81073ea3f1cb5bcf88dfa8c7]
Durability Type: replicate
Distribute Count: 6
Replica Count: 3


Gluster:

sh-4.2# df -h /test
Filesystem                                      Size  Used Avail Use% Mounted on
localhost:vol_33bd5102983a67545aaa1bc9c245bdc3  250G  222G   29G  89% /test




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

v3.11.2


How reproducible:

In Cu environment


Steps to Reproduce:
N/A

Actual results:

The available space is not consistent with heketi and gluster. 


Expected results:

The available space should be consistent with heketi and gluster. 


Additional info:

In the next steps

Comment 94 errata-xmlrpc 2021-10-05 07:56:26 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 (RHGS 3.5.z Batch Update 5 glusterfs bug fix and enhancement update), 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-2021:3729