Bug 1883171 - `oc adm must-gather -h` should show example for gathering audit logs
Summary: `oc adm must-gather -h` should show example for gathering audit logs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 4.6
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.6.0
Assignee: Maciej Szulik
QA Contact: RamaKasturi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-28 10:05 UTC by zhou ying
Modified: 2020-10-27 16:46 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 16:45:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift oc pull 593 0 None closed Bug 1883171: add audit gathering example to help page 2021-01-25 12:53:07 UTC
Red Hat Product Errata RHBA-2020:4196 0 None None None 2020-10-27 16:46:07 UTC

Description zhou ying 2020-09-28 10:05:41 UTC
Description of problem:
`oc adm must-gather -h` should show example for gathering audit logs 

Version-Release number of selected component (if applicable):
[root@dhcp-140-138 ~]# oc version 
Client Version: 4.6.0-202009240326.p0-61364f0

How reproducible:
Always

Steps to Reproduce:
1) `oc adm must-gather -h` 

Actual results:
1) Does not show anything about how to gather the audit logs 

Expected results:
1) Show example for gathering audit logs 


Additional info:

Comment 2 RamaKasturi 2020-10-01 12:18:39 UTC
Verified bug with payload below and i see that oc adm must-gather -h has details about gathering audit logs.

[knarra@knarra openshift-client-linux-4.6.0-0.nightly-2020-10-01-070841]$ ./oc version
Client Version: 4.6.0-0.nightly-2020-10-01-070841
Server Version: 4.6.0-0.nightly-2020-10-01-041253
Kubernetes Version: v1.19.0+beb741b


 # gather audit information
  oc adm must-gather -- /usr/bin/gather_audit_logs

Based on the above moving bug to verified state

Comment 5 errata-xmlrpc 2020-10-27 16:45:44 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 (OpenShift Container Platform 4.6 GA Images), 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-2020:4196


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