Bug 1406649 - Reduce the default size of "heketidbstorage" volume from 32GB to 2GB
Summary: Reduce the default size of "heketidbstorage" volume from 32GB to 2GB
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: heketi
Version: cns-3.4
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: CNS 3.4
Assignee: Mohamed Ashiq
QA Contact: Prasanth
URL:
Whiteboard:
Depends On:
Blocks: 1385247
TreeView+ depends on / blocked
 
Reported: 2016-12-21 06:47 UTC by Prasanth
Modified: 2018-11-20 09:28 UTC (History)
10 users (show)

Fixed In Version: heketi-3.1.0-10
Doc Type: Enhancement
Doc Text:
Previously, Heketi created a 32GB volume to store the heketi db file, which was much more than the average requirement. With this release, the size of the volume is been reduced to 2GB. This does not change the volume size of existing setups and is applicable only for new setups.
Clone Of:
Environment:
Last Closed: 2017-01-18 21:58:07 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:0148 0 normal SHIPPED_LIVE heketi bug fix and enhancement update 2017-01-19 02:53:24 UTC

Description Prasanth 2016-12-21 06:47:48 UTC
Description of problem:

Reduce the default size of "heketidbstorage" volume from 32GB to a more reasonable lower size. At present when heketi is deployed, it automatically creates a volume of 32GB for storing it's database. This can't be changed by the users based on their setup as it's not a configurable value. See below:

#######
Name: heketidbstorage
Size: 32
Volume Id: cd26a3b5462c8f689c74797571864a0c
Cluster Id: c5584c85e7b96a5895842a1dd4712c23
Mount: 10.70.46.3:heketidbstorage
Mount Options: backup-volfile-servers=10.70.46.54,10.70.46.6
Durability Type: replicate
Distributed+Replica: 3
#######

Since the min required size is 32GB, it cannot be even tested in certain automated test environments which has lower disk size as the setup itself will fail. Moreover, in most of the test setups the size of the heketidb was mostly seen as around 10/20MB or even lower. So I strongly believe that we should either lower the default size to a more appropriate value or provide a configurable option for the user instead of hard-coding it.

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

How reproducible: 100%

Comment 2 Michael Adam 2016-12-22 11:46:02 UTC
https://github.com/heketi/heketi/pull/640

upstream PR

Comment 3 Michael Adam 2016-12-22 11:47:06 UTC
https://github.com/heketi/heketi/issues/639

upstream issue

Comment 4 Michael Adam 2016-12-23 00:37:57 UTC
merged upstream

Comment 7 Prasanth 2016-12-26 10:21:44 UTC
Verified as fixed in the latest cns-deploy build "cns-deploy-3.1.0-10.el7rhgs.x86_64"

Comment 8 Bhavana 2017-01-05 10:24:52 UTC
Hi Humble,

I have made minor edits to the doc text to be included in the errata. Let me know if it looks ok and sign off if you have no review comments.

Thanks

Comment 9 Humble Chirammal 2017-01-09 08:20:40 UTC
LGTM.

Comment 10 errata-xmlrpc 2017-01-18 21:58:07 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://rhn.redhat.com/errata/RHEA-2017-0148.html


Note You need to log in before you can comment on or make changes to this bug.