Bug 1601907

Summary: [GSS] Free space is not being updated in heketi
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Damian Wojsław <dwojslaw>
Component: heketiAssignee: Raghavendra Talur <rtalur>
Status: CLOSED ERRATA QA Contact: Apeksha <akhakhar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rhgs-3.3CC: akrishna, bkunal, hchiramm, jmulligan, kramdoss, madam, pierre-yves.goubet, pprakash, rhs-bugs, rtalur, sankarshan, storage-qa-internal, vinug
Target Milestone: ---   
Target Release: CNS 3.10   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, after expansion of block hosting volume, the free space attribute of the volume wasn't updated, which lead to block volume failures even though space was available. With this fix, free size in block hosting volume information is also updated.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-12 09:23:49 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: 1568862    

Description Damian Wojsław 2018-07-17 12:33:23 UTC
Description of problem:
After expanding block hosting volume the free size is not updated in heketi, even after running heketi-cli resync

Version-Release number of selected component (if applicable):
heketi-client-6.0.0-7.4.el7rhgs.x86_64                      Mon May 14 14:16:39 2018
gluster-block-0.2.1-14.1.el7rhgs.x86_64                     Mon May 14 14:34:55 2018
gluster-nagios-addons-0.2.10-2.el7rhgs.x86_64               Mon May 14 14:33:38 2018
gluster-nagios-common-0.2.4-1.el7rhgs.noarch                Mon May 14 14:33:33 2018
glusterfs-3.8.4-54.8.el7rhgs.x86_64                         Mon May 14 14:32:38 2018
glusterfs-api-3.8.4-54.8.el7rhgs.x86_64                     Mon May 14 14:32:39 2018
glusterfs-cli-3.8.4-54.8.el7rhgs.x86_64                     Mon May 14 14:32:39 2018
glusterfs-client-xlators-3.8.4-54.8.el7rhgs.x86_64          Mon May 14 14:32:39 2018
glusterfs-fuse-3.8.4-54.8.el7rhgs.x86_64                    Mon May 14 14:32:39 2018
glusterfs-geo-replication-3.8.4-54.8.el7rhgs.x86_64         Mon May 14 14:33:49 2018
glusterfs-libs-3.8.4-54.8.el7rhgs.x86_64                    Mon May 14 14:32:38 2018
glusterfs-rdma-3.8.4-54.8.el7rhgs.x86_64                    Mon May 14 14:33:33 2018
glusterfs-server-3.8.4-54.8.el7rhgs.x86_64                  Mon May 14 14:33:49 2018
libvirt-daemon-driver-storage-gluster-3.9.0-14.el7_5.2.x86_64 Mon May 14 14:33:54 2018
python-gluster-3.8.4-54.8.el7rhgs.noarch                    Mon May 14 14:33:46 2018
vdsm-gluster-4.17.33-1.2.el7rhgs.noarch                     Mon May 14 14:34:00 2018


How reproducible:
Consistently

Steps to Reproduce:
Either run procedure to expand the volume following Red Hat Container Native Storage Guide or, after that, run heketi-cli resync device

Actual results:
The Free size is not neing updated

Expected results:
New size is updated for heketi

Additional info:
Heketi doesn't provision block volume because it keeps thinking the block hosting volume size is not sufficient.

Comment 15 Anjana KD 2018-08-31 00:16:29 UTC
Updated doc text in the Doc Text field. Please review for technical accuracy.

Comment 16 John Mulligan 2018-09-07 17:30:22 UTC
Doc Text looks OK

Comment 18 errata-xmlrpc 2018-09-12 09:23:49 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/RHEA-2018:2686