Bug 1406655 - reduce the min-vol size restriction to a lower value
Summary: reduce the min-vol size restriction to a lower value
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: krishnaram Karthick
URL:
Whiteboard:
Depends On:
Blocks: 1385247
TreeView+ depends on / blocked
 
Reported: 2016-12-21 07:14 UTC by krishnaram Karthick
Modified: 2018-11-20 09:23 UTC (History)
11 users (show)

Fixed In Version: heketi-3.1.0-10
Doc Type: Enhancement
Doc Text:
Previously, Heketi used 4GB as the default minimum brick size which caused the minimum volume size also to be 4GB. With this release, the minimum brick size is 1GB and volumes as small as 1GB can be created.
Clone Of:
Environment:
Last Closed: 2017-01-18 21:58:15 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 krishnaram Karthick 2016-12-21 07:14:07 UTC
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:

Comment 1 Mohamed Ashiq 2016-12-21 13:14:50 UTC
Patch upstream:
https://github.com/heketi/heketi/pull/638

Comment 4 Michael Adam 2016-12-23 00:46:35 UTC
Updated PR: https://github.com/heketi/heketi/pull/642

Comment 5 krishnaram Karthick 2016-12-26 14:17:23 UTC
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.

Comment 6 errata-xmlrpc 2017-01-18 21:58:15 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.