Description of problem: Some resources like pvc or template cannot be deleted via oc delete all --all: [root@ip-172-18-15-30 ~]# oc process -f https://raw.githubusercontent.com/openshift/mysql/master/5.5/examples/replica/mysql_replica.json | oc create -f - persistentvolumeclaim "mysql-master" created service "mysql-master" created service "mysql-slave" created deploymentconfig "mysql-master" created deploymentconfig "mysql-slave" created [root@ip-172-18-15-30 ~]# oc delete all --all deploymentconfig "mysql-master" deleted deploymentconfig "mysql-slave" deleted service "mysql-master" deleted service "mysql-slave" deleted pod "mysql-slave-1-03e3c" deleted Version-Release number of selected component (if applicable): oc v1.1-793-gfa7cfe6 kubernetes v1.1.0-origin-1107-g4c8e6f4 How reproducible: always Steps to Reproduce: 1. Create a project 2. Create resources contained pvc 3. Delete all via oc delete all --all Actual results: pvc is not deleted. Expected results: pvc should also be deleted along with other resources. Additional info: Same for template
According to the output of "oc status", all seems mean everything: list everything with 'oc get all' However, "oc get all" cannot list pvc or template either like "oc delete all". There is no define in "oc delete" help page, it's better to define what resources are included in this "all".
Issue exist when doing "oc get all". pvc and template can not be listed by this way.
This is not a bug, per this discussion [1] and this explanation by David Eads [2], PVCs / templates not showing up and not being deleted by `oc get all --all` are intended behavior. [1] https://github.com/kubernetes/kubernetes/pull/28955 [2] https://github.com/openshift/origin/issues/10185#issuecomment-237548071