#8660 ability to reclaim PVs in fedora infra openshift(s)
Closed: Will Not/Can Not fix 3 years ago by smooge. Opened 4 years ago by dustymabe.

Describe what you would like us to do:


Periodically I delete my coreos-ostree-importer project (i.e. wipe everything from openshift and start clean). Every time I do this I have to ask @kevin to reclaim the PV associated with my PVC.

Here are some notes from @kevin:

nirik | basically it's delegate_to the os-master01[stg]
nirik | and 'oc delete pv/fedora-ostree-content-volume-1' then 'oc create -f /root/pv_fedora_ostree_content-volume-1.yml' (but put the yaml in the playbook too :)

where the yaml file is:

apiVersion: v1                                  
kind: PersistentVolume                          
metadata:                                       
  name: fedora-ostree-content-volume-1
spec:                                           
  accessModes:                                  
  - ReadWriteMany
  capacity:                                     
    storage: 2T                              
  nfs:                                          
    path: /fedora-ostree-content
    server: ntap-phx2-c01-fedora01-nfs.storage.phx2.redhat.com                                   
  persistentVolumeReclaimPolicy: Retain         

I need a way to programmatically reclaim this PV myself, or have the reclaim happen automatically by some process.

When do you need this to be done by?


Bevfore the end of march would be nice.


Metadata Update from @smooge:
- Issue priority set to: Waiting on Assignee (was: Needs Review)

4 years ago

We're a little bit past march :]

Is this still needed @dustymabe ?

I guess just don't worry about it for now.

Metadata Update from @smooge:
- Issue close_status updated to: Will Not/Can Not fix
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata