Bug 1741901
| Summary: | OLM data failed to be gathered by the `openshift-must-gather` tool | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Jian Zhang <jiazha> |
| Component: | oc | Assignee: | Luis Sanchez <sanchezl> |
| Status: | CLOSED WONTFIX | QA Contact: | Jian Zhang <jiazha> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.2.0 | CC: | aos-bugs, bandrade, chezhang, chuo, deads, jfan, jokerman, mfojtik, nagrawal, nhale, scolange, xjiang |
| Target Milestone: | --- | ||
| Target Release: | 4.4.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-11-06 20:27: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: | |||
|
Description
Jian Zhang
2019-08-16 11:54:40 UTC
OLM serves its metrics from the second port listed, and it looks like must-gather only attempts to gather metrics (or any endpoint data for that matter) from the first port found on a given pod (https://github.com/openshift/must-gather/blob/9646f4bf643ad8c4201ac8dd7073e7294c90df20/pkg/cmd/inspect/pod.go#L75). Moreover, I can't find this expectation documented in the must-gather repo. Having more than one exposed port is common and it seems like either documenting the expectation or making must-gather perform a "search" of the available ports would be a follow up from that side. For now, I can see if it makes sense for us to consolidate our health/metrics under one port. It's a heuristic. Does it actually fail or just give you a list of "couldn't collect"? It's a heuristic that we aren't likely to twiddle much since it mostly works. You can conform so that your stuff gets collected if you want it to be. For certain messages, I'm happy to drop them to a V(1), so you don't get concerned. Not a 4.2 blocker. *** Bug 1755111 has been marked as a duplicate of this bug. *** This was rejected twice, closing. Hi, David Sorry for the late to reply. Thank you for your explanation. But, as a default component, the metrics of OLM should be gathered. Do you mean this `openshift-must-gather` tool will not be shipped to the customers? The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |