Bug 1722523 - must-gather loses metrics data collection
Summary: must-gather loses metrics data collection
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 4.1.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.2.0
Assignee: David Eads
QA Contact: zhou ying
URL:
Whiteboard:
Depends On:
Blocks: 1722526
TreeView+ depends on / blocked
 
Reported: 2019-06-20 14:36 UTC by David Eads
Modified: 2023-09-14 05:30 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1722526 (view as bug list)
Environment:
Last Closed: 2019-10-16 06:32:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:2922 0 None None None 2019-10-16 06:32:31 UTC

Description David Eads 2019-06-20 14:36:29 UTC
There is a file called metrics.json, but it contains version informatino

Comment 2 Xingxing Xia 2019-06-25 10:36:35 UTC
Tested in 4.2.0-0.nightly-2019-06-25-003324 env:
$ oc adm must-gather
$ cd must-gather.local.6631551448240347998
Check namespaces/openshift-apiserver/pods/... and namespaces/openshift-kube-apiserver/pods/... , there are files "version.json" and no files "metrics.json". And "version.json" contains correct kube or openshift version info.
So in terms of just "fix filenames for collecting versions", the fix is verified.

But I didn't find metrics data from openshift-apiserver pods (i.e. https://$openshift_apiserver_pods_IP:8443/metrics) and openshift-kube-apiserver pods (https://$openshift_kube_apiserver_pods_IP:6443/metrics). Should must-gather add such metrics data?

Comment 3 errata-xmlrpc 2019-10-16 06:32:19 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:2922

Comment 4 Red Hat Bugzilla 2023-09-14 05:30:41 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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