Bug 1284051 - oc delete all *does not* really delete everything
Summary: oc delete all *does not* really delete everything
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Fabiano Franz
QA Contact: Wei Sun
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-20 16:23 UTC by Nicholas Schuetz
Modified: 2015-11-20 18:16 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-20 18:16:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


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