-
Bug
-
Resolution: Done
-
Normal
-
None
-
4.9.z
-
None
-
Moderate
-
No
-
False
-
Description of problem:
oc adm must-gather -- /usr/bin/gather_audit_logs with 'None' audit profile doesn't work, hang in terminal.
Version-Release number of selected component (if applicable):
$ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.9.0-0.ci.test-2023-02-23-022919-ci-ln-vgjhq1b-latest True False 14m Cluster version is 4.9.0-0.ci.test-2023-02-23-022919-ci-ln-vgjhq1b-latest
How reproducible:
always
Steps to Reproduce:
Steps to Reproduce: 1. $ ./oc patch apiserver cluster -p '{"spec": {"audit": {"profile": "None"}}}' --type merge 2. After the kube-apiserver degradation is finished. $ ./oc get pods -n openshift-kube-apiserver -l apiserver --show-labels 3.$ ./oc adm must-gather -- /usr/bin/gather_audit_logs
Actual results:
$ oc adm must-gather -- /usr/bin/gather_audit_logs with 'None' audit profile doesn't work, hang in terminal. $ oc adm must-gather -- /usr/bin/gather_audit_logs -v=8 [must-gather ] OUT Using must-gather plug-in image: registry.build05.ci.openshift.org/ci-ln-vgjhq1b/stable@sha256:f2e30eb8dbc6c0472f0bf37bd869ba892f85a0fa70c8e9835a3664a08e9abc39 When opening a support case, bugzilla, or issue please include the following summary data along with any other requested information: ClusterID: cbb22254-f49f-4461-9087-a5b53db12191 ClusterVersion: Stable at "4.9.0-0.ci.test-2023-02-23-022919-ci-ln-vgjhq1b-latest" ClusterOperators: All healthy and stable [must-gather ] OUT namespace/openshift-must-gather-zfgf8 created [must-gather ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-8p76m created [must-gather ] OUT pod for plug-in image registry.build05.ci.openshift.org/ci-ln-vgjhq1b/stable@sha256:f2e30eb8dbc6c0472f0bf37bd869ba892f85a0fa70c8e9835a3664a08e9abc39 created [must-gather-k7ngk] POD 2023-02-23T04:53:08.936072801Z Vim: Warning: Output is not to a terminal [must-gather-k7ngk] POD 2023-02-23T04:53:08.936072801Z Vim: Warning: Input is not from a terminal ^C
Expected results:
oc adm must-gather -- /usr/bin/gather_audit_logs with 'None' audit profile works fine.
Additional info:
The bug was fixed on OCP 4.10 with PR https://github.com/openshift/must-gather/pull/259, but we didn't back-port it to 4.9 release.