Bug 1324464 - [RFE] PV recycling for Gluster volumes
Summary: [RFE] PV recycling for Gluster volumes
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: RFE
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Bradley Childs
QA Contact: Johnny Liu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-06 11:30 UTC by Evgheni Dereveanchin
Modified: 2019-12-16 05:37 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-31 15:56:42 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift openshift-docs pull 2737 0 None None None 2016-08-25 05:16:36 UTC
Red Hat Knowledge Base (Solution) 2221101 0 None None None 2016-04-06 11:34:57 UTC

Description Evgheni Dereveanchin 2016-04-06 11:30:32 UTC
Description of request:
Currently only NFS supports Physical Volume recycling.
This request is to implement a plugin to recycle Gluster volumes after they're released to improve usability of this volume type.

Comment 1 Mike Hepburn 2016-08-25 04:49:57 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

Comment 2 Andrew Hatfield 2016-08-28 23:41:28 UTC
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.

Comment 3 Steve Watt 2017-01-31 15:56:42 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.