Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1598452

Summary: Heketi creates new block hosting volume even though sufficient free space is available in the existing block hosting volume
Product: Red Hat Gluster Storage Reporter: Rachael <rgeorge>
Component: heketiAssignee: Michael Adam <madam>
Status: CLOSED CURRENTRELEASE QA Contact: Rachael <rgeorge>
Severity: medium Docs Contact:
Priority: unspecified    
Version: cns-3.10CC: hchiramm, jmulligan, kramdoss, pprakash, rhs-bugs, rtalur, sankarshan, storage-qa-internal
Target Milestone: ---Flags: kramdoss: needinfo+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-01 18:00:00 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:

Description Rachael 2018-07-05 14:02:41 UTC
Description of problem:

On a CNS setup with no block hosting volume, a script was run to create block PVCs with a sleep time of 30 seconds between each create request. It was observed for each block device a new block hosting volume was created, i.e., there were 9 block hosting volumes for 9 block PVCs. However, any subsequent creation of block PVCs used up the space on the existing block hosting volumes.

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

oc version
oc v3.10.0-0.67.0
kubernetes v1.10.0+b81c8f8
features: Basic-Auth GSSAPI Kerberos SPNEGO



How reproducible: 1/1

Steps to Reproduce:

1. On a setup without any block hosting volume, create 9 block PVCs with a sleep time of 30s in between
2. Wait for the 9 PVCs to be bound

3. Check heketi-cli volume list

Actual results:

9 block hosting volumes get created

Expected results:

There should be only 1 block hosting volume which hosts all the block PVCs

Additional info:

Logs will be attached soon.