Description of problem: Heketi-cli is currently using RECYCLE (see [1]). I will create a bug to change it to RETAIN [2] [1] https://github.com/heketi/heketi/blob/master/pkg/kubernetes/pv.go#L34 [2] https://github.com/kubernetes/kubernetes/blob/master/pkg/api/v1/types.go#L402
https://github.com/heketi/heketi/issues/428
PV json file with latest build: cat pv1.json { "kind": "PersistentVolume", "apiVersion": "v1", "metadata": { "name": "glusterfs-d2a1a246", "creationTimestamp": null }, "spec": { "capacity": { "storage": "10Gi" }, "glusterfs": { "endpoints": "glusterfs-cluster3", "path": "vol_d2a1a2468400d23d5ab1bf8cf9e371c5" }, "accessModes": [ "ReadWriteMany" ], "persistentVolumeReclaimPolicy": "Retain" }, "status": {} } persistentVolumeReclaimPolicy is Retain. Moving it 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/RHBA-2016-1498.html