| Summary: | [RFE] PV recycling for Gluster volumes | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Evgheni Dereveanchin <ederevea> |
| Component: | RFE | Assignee: | Bradley Childs <bchilds> |
| Status: | CLOSED WONTFIX | QA Contact: | Johnny Liu <jialiu> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.1.0 | CC: | ahatfiel, aos-bugs, erich, jokerman, mhepburn, mmccomas, pprakash, swatt, tkimura |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-01-31 15:56:42 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: | |
|
Description
Evgheni Dereveanchin
2016-04-06 11:30:32 UTC
it may also help if the official documentation didn't reference Recycle in the example https://docs.openshift.com/enterprise/3.2/install_config/persistent_storage/persistent_storage_glusterfs.html#gfs-creating-persistent-volume apiVersion: v1 kind: PersistentVolume metadata: name: gluster-default-volume spec: capacity: storage: 2Gi accessModes: - ReadWriteMany glusterfs: endpoints: glusterfs-cluster path: myVol1 readOnly: false persistentVolumeReclaimPolicy: Recycle Ack to Mike's comments. https://docs.openshift.com/enterprise/3.2/architecture/additional_concepts/storage.html#pv-recycling-policy specifies that only NFS and Hostpath currently support Recycle. This contradicts the Gluster example Mike posted above. GlusterFS Persistent Volumes are not going to support Recycling. The recommended approach is to create them manually and use the Retain policy or use the GlusterFS Dynamic Provisioner and create the volumes on demand when a claim is submitted and delete them dynamically when the claim is released. |