Bug 1612782

Summary: creation of block volume is failing, but device storage is getting used
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Madhu Rajanna <mrajanna>
Component: heketiAssignee: Madhu Rajanna <mrajanna>
Status: CLOSED ERRATA QA Contact: krishnaram Karthick <kramdoss>
Severity: medium Docs Contact:
Priority: unspecified    
Version: cns-3.10CC: akrishna, hchiramm, kramdoss, madam, mrajanna, nchilaka, rhs-bugs, sankarshan, 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, if the first block volume creation failed the block hosting volume was deleted but free space amount was not updated. This fix updates the free size if block volume creation fails.
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    
Attachments:
Description Flags
heketi_logs_after_blockvolumecreate_failed none

Description Madhu Rajanna 2018-08-06 09:15:34 UTC
Description of problem:

creation of block volume is failing, but device storage is getting used


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


How reproducible:


Steps to Reproduce:
1.stop gluster-blockd service in gluster nodes(containers)
2.create block volumes


Actual results:

block volume creation is failing, but device space is getting utilized

Expected results:
if block volume creation fails, heketi should clean up the utilized bricks and reclaim device space


Additional info:

Comment 2 Madhu Rajanna 2018-08-06 09:17:34 UTC
upstream issue link https://github.com/heketi/heketi/issues/1258

upstream fix link https://github.com/heketi/heketi/pull/1295

Comment 9 krishnaram Karthick 2018-08-16 18:15:24 UTC
Created attachment 1476487 [details]
heketi_logs_after_blockvolumecreate_failed

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

Comment 11 Madhu Rajanna 2018-09-07 18:23:38 UTC
looks good to me

Comment 13 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