Bug 1632154

Summary: Cannot see basic audit log
Product: OpenShift Container Platform Reporter: Maciej Szulik <maszulik>
Component: MasterAssignee: Maciej Szulik <maszulik>
Status: CLOSED ERRATA QA Contact: ge liu <geliu>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.10.0CC: aos-bugs, bandrade, geliu, jokerman, maszulik, mmccomas, rpuccini, xxia
Target Milestone: ---Keywords: Rebase
Target Release: 3.10.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Default log format for audit was set to json. Consequence: Audit log was always printed using json format. Fix: Allow setting log format as specified in master-config.yaml Result: Audit log contains values per configured log format.
Story Points: ---
Clone Of: 1631087 Environment:
Last Closed: 2019-01-10 09:27:09 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:
Bug Depends On: 1631087, 1632155    
Bug Blocks:    

Comment 2 Maciej Szulik 2018-10-18 19:04:56 UTC
Fix in https://github.com/openshift/origin/pull/21294

Comment 3 ge liu 2018-10-31 07:01:17 UTC
Verified in ocp: v3.10.66


2018-10-31T06:57:06.417909582Z AUDIT: id="b567c405-5127-4569-b600-ada7d5e2a0f0" stage="ResponseComplete" ip="10.240.0.27" method="get" user="system:openshift-master" groups="\"system:masters\",\"system:authenticated\"" as="<self>" asgroups="<lookup>" namespace="<none>" uri="/apis/user.openshift.io/v1/identities/allow_all:lg" response="404"
2018-10-31T06:57:06.420701375Z AUDIT: id="5363d068-4606-495a-97fb-e4d5d92a0799" stage="RequestReceived" ip="10.240.0.27" method="get" user="system:openshift-master" groups="\"system:masters\",\"system:authenticated\"" as="<self>" asgroups="<lookup>" namespace="<none>" uri="/apis/apiregistration.k8s.io/v1beta1?timeout=32s" response="<deferred>"
2018-10-31T06:57:06.420701375Z AUDIT: id="5363d068-4606-495a-97fb-e4d5d92a0799" stage="ResponseComplete" ip="10.240.0.27" method="get" user="system:openshift-master" groups="\"system:masters\",\"system:authenticated\"" as="<self>" asgroups="<lookup>" namespace="<none>" uri="/apis/apiregistration.k8s.io/v1beta1?timeout=32s" response="200"

Comment 5 errata-xmlrpc 2019-01-10 09:27:09 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:0026