Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1284051

Summary: oc delete all *does not* really delete everything
Product: OpenShift Container Platform Reporter: Nicholas Schuetz <nick>
Component: ocAssignee: Fabiano Franz <ffranz>
Status: CLOSED NOTABUG QA Contact: Wei Sun <wsun>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: aos-bugs, jokerman, mmccomas
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: 2015-11-20 18:16:54 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:
Embargoed:

Description Nicholas Schuetz 2015-11-20 16:23:51 UTC
When running 'oc delete all -l app=smoketest' it deletes some objects, but apparently doesnt get them all.

atomic-openshift-master-3.1.0.4-1.git.4.b6c7cd2.el7aos.x86_64
atomic-openshift-node-3.1.0.4-1.git.4.b6c7cd2.el7aos.x86_64

[nick@desktop ~]$ oc delete all -l app=smoketest
replicationcontrollers/smoketest-1

[nick@desktop ~]$ oc delete all -l app=smoketest
No resources found

(wait 5 minutes, then do it again)

[nick@desktop ~]$ oc delete all -l app=smoketest
replicationcontrollers/smoketest-1


:-(

-Nick

Comment 1 Nicholas Schuetz 2015-11-20 17:09:17 UTC
found the problem, i had an old 'oc' binary on my fedora box that was causing this.