Bug 1430704

Summary: No Space to store heketi DB due to 1MB size limit of secret.
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Humble Chirammal <hchiramm>
Component: heketiAssignee: Michael Adam <madam>
Status: CLOSED ERRATA QA Contact: Prasanth <pprakash>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: cns-3.5CC: hchiramm, mliyazud, pprakash, rhs-bugs, rtalur, storage-qa-internal
Target Milestone: ---   
Target Release: CNS 3.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: heketi-4.0.0-2.el7rhgs Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-20 18:37:59 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: 1415600    

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