Bug 1119414

Summary: oo-admin-ctl-app doesn't log the destroy action
Product: OpenShift Online Reporter: Marek Mahut <mmahut>
Component: PodAssignee: Derek Carr <decarr>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.xCC: decarr, jokerman, mmccomas, zzhao
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: 2014-10-10 00:48:45 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 Marek Mahut 2014-07-14 17:37:45 UTC
Description of problem:

When destroying an app using oo-admin-ctl-app from a broker, nothing is logged on the broker server. On the node the openshift-agent logs an action with required-id being nil.

We should log this action properly, so we have a record of it.

Comment 1 Derek Carr 2014-07-28 18:53:49 UTC
Log added here:
https://github.com/openshift/origin-server/pull/5667

Comment 2 zhaozhanqi 2014-07-29 02:47:11 UTC
Verified this bug on devenv_5020

Delete an app via oo-admin-ctl-app: destroy/force-destroy those two options

#oo-admin-ctl-app -c destroy -l zzhao -a a1

check the development.log:
014-07-29 02:41:46.638 [INFO ] Successfully deleted application: a1 with id: 53d7410a2f106fb037000001 on behalf of user: zzhao (pid:15)