Bug 1596018

Summary: Block device creation fails with sufficient space available on the devices
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Rachael <rgeorge>
Component: heketiAssignee: Michael Adam <madam>
Status: CLOSED ERRATA QA Contact: vinutha <vinug>
Severity: medium Docs Contact:
Priority: unspecified    
Version: cns-3.9CC: akrishna, hchiramm, jmulligan, kramdoss, madam, nberry, rgeorge, rhs-bugs, rtalur, sankarshan, sarumuga, sselvan, storage-qa-internal
Target Milestone: ---   
Target Release: CNS 3.10   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, the logic in Heketi incorrectly assumed block volumes always fit within block hosting volumes if the size of the block volume was smaller than the total size of the hosting volume minus the sizes of the existing block volumes. This logic failed to account for the fact that the file system and the block volumes contained within it require space to manage metadata. Trying to place such a volume failed with an out of space error instead of allocating a new block hosting volume. With this fix, Heketi reserves a small percentage of the total size of the block hosting volume for metadata.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-12 09:23:45 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    

Comment 2 Rachael 2018-06-28 06:47:28 UTC
Logs available at: http://rhsqe-repo.lab.eng.blr.redhat.com/cns/sosreports/BZ-1596018/

Comment 4 Yaniv Kaul 2018-07-08 08:30:02 UTC
Do we have an automated test for this? Sounds like a simple use case?

Comment 5 Rachael 2018-07-09 11:31:43 UTC
As of today we don't have this test case automated.

Comment 6 Raghavendra Talur 2018-07-10 02:38:42 UTC
Rachael,

was auto create block hosting volume option set to true?

Comment 12 Michael Adam 2018-07-26 11:58:18 UTC
*** Bug 1607551 has been marked as a duplicate of this bug. ***

Comment 18 Saravanakumar 2018-07-27 04:58:39 UTC
as per comment #17

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

Comment 22 Anjana KD 2018-09-07 12:19:13 UTC
Updated doc text in the Doc Text field. Please review for technical accuracy.

Comment 24 Anjana KD 2018-09-07 17:03:50 UTC
Hi John,

I have updated the doc text. Thank you!

Comment 26 errata-xmlrpc 2018-09-12 09:23:45 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