Description of problem: Heketi currently has a minimum volume size restriction of 3.5 GB, which is quite high. we have seen cases where customer setups use 1GB volumes for pods. CNS won't be able to cater the needs of such cases unless the size of the volume is reduced to a lower value from the current one. Hence, this min vol size restriction should be reduced to at least 1Gb from 3.5GB. Version-Release number of selected component (if applicable): heketi-3.1.0-3.el7rhgs.x86_64 How reproducible: NA Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Patch upstream: https://github.com/heketi/heketi/pull/638
Updated PR: https://github.com/heketi/heketi/pull/642
verified the bug in heketi-client-3.1.0-10.el7rhgs.x86_64. heketi now allows creation of 1Gb volumes. # cat claim1 { "kind": "PersistentVolumeClaim", "apiVersion": "v1", "metadata": { "name": "claim1", "annotations": { "volume.beta.kubernetes.io/storage-class": "slow" } }, "spec": { "accessModes": [ "ReadWriteOnce" ], "resources": { "requests": { "storage": "1Gi" } } } } # oc get pvc NAME STATUS VOLUME CAPACITY ACCESSMODES AGE claim1 Bound pvc-ad2bc6e3-cb75-11e6-bdc3-005056b37454 1Gi RWO 11s Moving the bug to verified.
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