Bug 1270386

Summary: No Command to delete ipfaileover
Product: OpenShift Container Platform Reporter: Ryan Howe <rhowe>
Component: ocAssignee: Fabiano Franz <ffranz>
Status: CLOSED NOTABUG QA Contact: Wei Sun <wsun>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.0.0CC: aos-bugs, dmcphers, jokerman, jvallejo, mmccomas, nicholas_schuetz
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: 2017-10-23 19:45:29 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 Ryan Howe 2015-10-09 20:51:18 UTC
Description of problem:
No Command to delete ipfaileover 

Version-Release number of selected component (if applicable):
3.0.2

How reproducible:
100%

Steps to Reproduce:
1. Create ipfailover


Actual results:
- No command to delete

Expected results:
- Command to deleted created ipfailover 


Additional info:

Comment 2 Ryan Howe 2016-08-12 16:56:30 UTC
This can be satisfied by adding a default label to all ipfailover objects by default. 
As well as adding a option to add/overwrite a label on creation of ipfailover that gets applied to all ipfailover objects. 


As well as documenting everything that is created. 

# oc delete dc myipfailover
# oc delete rc myipfailover-1 
# oc delete pod myipfailover-xxx 
# oc delete sa ipfailover

Comment 3 Juan Vallejo 2017-10-23 19:45:29 UTC
At least as of v3.7, a label is added to every resource created via `oadm ipfailover ...`. 

A custom label can even be specified through the `-l | --selector` flag. Due to this, it is possible to delete all ipfailover objects via `oc delete all -l ipfailover=...` as stated in comment 2.

Please re-open if I am misunderstanding the main cause of this bug.