Bug 1430704 - No Space to store heketi DB due to 1MB size limit of secret.
Summary: No Space to store heketi DB due to 1MB size limit of secret.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: heketi
Version: cns-3.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: CNS 3.5
Assignee: Michael Adam
QA Contact: Prasanth
URL:
Whiteboard:
Depends On:
Blocks: 1415600
TreeView+ depends on / blocked
 
Reported: 2017-03-09 11:25 UTC by Humble Chirammal
Modified: 2017-04-20 18:37 UTC (History)
6 users (show)

Fixed In Version: heketi-4.0.0-2.el7rhgs
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-20 18:37:59 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:1111 0 normal SHIPPED_LIVE heketi bug fix and enhancement update 2017-04-20 22:37:02 UTC

Description Humble Chirammal 2017-03-09 11:25:09 UTC
Description of problem:

In Heketi v4, the DB is also stored in Kube Secret. It may cause issues especially in CNS or scaled setups.  We need to revisit this DB migration introduced in Heketi v4 release.


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

heketi-v4

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Humble Chirammal 2017-03-09 11:27:20 UTC
--snip-- 

Individual secrets are limited to 1MB in size. This is to discourage creation of very large secrets which would exhaust apiserver and kubelet memory. However, creation of many smaller secrets could also exhaust memory. More comprehensive limits on memory usage due to secrets is a planned feature.

--/snip--

Comment 3 Humble Chirammal 2017-03-09 11:29:04 UTC
Upstream issue # https://github.com/heketi/heketi/issues/697

Comment 5 Humble Chirammal 2017-03-15 10:27:05 UTC
This issue is fixed by https://github.com/heketi/heketi/pull/713

Comment 6 Humble Chirammal 2017-03-15 10:30:30 UTC
The revert of secret need changes in heketi and also in cns-deploy script. This bug will track the changes in heketi. I will open a new bug for cns-deploy.

Comment 10 Prasanth 2017-04-06 13:39:35 UTC
Verified

Comment 12 errata-xmlrpc 2017-04-20 18:37:59 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-2017:1111


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