Bug 1426259
| Summary: | [GSS] [RFE] Customer need the ability to set the persistentVolumeReclaimPolicy per storage class | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Otakar Masek <omasek> |
| Component: | kubernetes | Assignee: | Humble Chirammal <hchiramm> |
| Status: | CLOSED ERRATA | QA Contact: | Prasanth <pprakash> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rhgs-3.1 | CC: | acomabon, akhakhar, annair, bkunal, fcami, hchiramm, jarrpa, kramdoss, madam, pdwyer, pprakash, rcyriac, rreddy, rtalur, sjr, suprasad, swatt |
| Target Milestone: | --- | Keywords: | FutureFeature, Triaged |
| Target Release: | CNS 3.10 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-09-12 12:27:13 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: | 1543778, 1568860 | ||
|
Description
Otakar Masek
2017-02-23 14:40:07 UTC
I think this might be easiest to resolve if expose a Reclaim Policy parameter in heketi that we can surface up via a storage class. We could have one storage class that has the policy set to delete and another storage class to retain. That way, developers can provision volumes using the policy they like the best. I don't fully understand this yet: The reclaim policy is purely an kube-level concept, so I don't see the relationship to heketi yet. And for *dynamically provisioned* PVs, the policy is always Delete, see https://kubernetes.io/docs/user-guide/persistent-volumes/#reclaiming . So this would not be CNS-level (gluster/heketi-level) RFE but a kube-level change. Note that this is the upstream upstream issue where such a change was requested, and it was closed: https://github.com/kubernetes/kubernetes/issues/30606 My 2 cents. This is indeed not in heketi layer. Its is kube. There is already an upstream issue where we were discussing about to have the reclaim policy configurable, see https://github.com/kubernetes/kubernetes/issues/38192. 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-2018:2697 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days |