Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1722523

Summary: must-gather loses metrics data collection
Product: OpenShift Container Platform Reporter: David Eads <deads>
Component: ocAssignee: David Eads <deads>
Status: CLOSED ERRATA QA Contact: zhou ying <yinzhou>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.1.0CC: aos-bugs, jokerman, mmccomas, sttts, xxia
Target Milestone: ---   
Target Release: 4.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1722526 (view as bug list) Environment:
Last Closed: 2019-10-16 06:32:19 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:    
Bug Blocks: 1722526    

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