Bug 1976263 - [sig-cli] oc adm must-gather runs successfully for audit logs [Suite:openshift/conformance/parallel]
Summary: [sig-cli] oc adm must-gather runs successfully for audit logs [Suite:openshif...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 4.8
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.8.0
Assignee: Maciej Szulik
QA Contact: zhou ying
URL:
Whiteboard: tag-ci
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-25 16:03 UTC by AmeyShikerkar
Modified: 2021-07-27 23:14 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-27 23:13:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
single test run e2e success log (35.63 KB, text/plain)
2021-06-25 16:03 UTC, AmeyShikerkar
no flags Details
single test run e2e success log on rc1 (19.86 KB, text/plain)
2021-07-02 10:21 UTC, AmeyShikerkar
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 23:14:18 UTC

Description AmeyShikerkar 2021-06-25 16:03:35 UTC
Created attachment 1794435 [details]
single test run e2e success log

Description of problem:

Test failing during e2e run

[sig-cli] oc adm must-gather runs successfully for audit logs [Suite:openshift/conformance/parallel]

STEP: /tmp/test.oc-adm-must-gather.334783347/quay-io-openshift-release-dev-ocp-v4-0-art-dev-sha256-27c5c4e847324f53aaec4bc13c2709851d1fbefac24004d832d77f08bb6f08e4/audit_logs/kube-apiserver/master-1-audit-2021-06-25T06-03-54.212.log.gz

ail [github.com/openshift/origin/test/extended/cli/mustgather.go:243]: Expected
    <string>: {"kind":"Event","apiVersion":"audit.k8s.io/v1","level":"Metadata","auditID":"eb98f56a-1473-4640-a561-ab7c87cba8fc","stage":"ResponseComplete","requestURI":"/apis/user.openshift.io/v1/groups?limit=500\u0026resourceVersion=0","verb":"list","user":{"username":"system:apiserver","uid":"95fc1da0-0f7d-4d3d-88ff-d3aa44514b5a","groups":["system:masters"]},"sourceIPs":["::1"],"userAgent":"kube-apiserver/v1.21.0 (linux/ppc64le) kubernetes/120883f","objectRef":{"resource":"groups","apiGroup":"user.openshift.io","apiVersion":"v1"},"responseStatus":{"metadata":{},"status":"Failure","reason":"ServiceUnavailable","code":503},"requestReceivedTimestamp":"2021-06-25T05:36:10.589696Z","stageTimestamp":"2021-06-25T05:36:10.635799Z","annotations":{"authorization.k8s.io/decision":"allow","authorization.k8s.io/reason":""}}
to have prefix
    <string>: {"kind":"Event",

Version-Release number of selected component (if applicable):
OCP 4.8 RC0

How reproducible:


Steps to Reproduce:
1. Installed 4.8. RC o build on power
2. Migrate from the OpenShift SDN default CNI network provider to OVNKubernetes
3. Run e2e

Actual results:

Failing tests:
[sig-cli] oc adm must-gather runs successfully for audit logs [Suite:openshift/conformance/parallel]

Expected results:

No Failing test

Additional info:

Comment 1 AmeyShikerkar 2021-06-25 16:41:27 UTC
attached must gather logs @
https://drive.google.com/file/d/1UISnLHsY-aq3fNsNoQF0YdePdnK2uPPd/view?usp=sharing

Comment 2 Dan Li 2021-06-30 14:30:54 UTC
Hi Amey, would you be able to run this on RC.1 to confirm if this bug still exists?

Comment 3 AmeyShikerkar 2021-07-02 10:21:24 UTC
Created attachment 1797117 [details]
single test run e2e success log on rc1

single test run e2e failure log on rc1

Comment 4 AmeyShikerkar 2021-07-02 10:26:13 UTC
[sig-cli] oc adm must-gather runs successfully for audit logs [Suite:openshift/conformance/parallel] test passed on RC.1 and bug not observed.

Comment 5 Maciej Szulik 2021-07-02 14:50:51 UTC
I'm moving to qa based on previous comment.

Comment 8 zhou ying 2021-07-05 09:35:53 UTC
Can't reproduce with following steps:

1) Create a 4.8.0-rc.0  cluster with default sdn networing;
2) migrate the cluster to ovn networing;
3) run `oc adm must-gather -- /usr/bin/gather_audit_logs` command could succeed .

Comment 10 errata-xmlrpc 2021-07-27 23:13:46 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 (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), 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/RHSA-2021:2438


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