Bug 1720246

Summary: HPA not working as openshift-metrics-server fails to gather pod metrics
Product: OpenShift Container Platform Reporter: Robert Sandu <rsandu>
Component: NodeAssignee: Seth Jennings <sjenning>
Status: CLOSED DUPLICATE QA Contact: Jianwei Hou <jhou>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.11.0CC: aos-bugs, jokerman, mmccomas
Target Milestone: ---   
Target Release: ---   
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-06-18 13:52:44 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 Robert Sandu 2019-06-13 13:32:39 UTC
Description of problem: HPA fails as no pod metrics are gathered by the openshift-metrics-server.

`oc get/describe hpa <HPA>``shows cpu/memory metrics as `<unknown>`.

Attaches outputs:

- oc get hpa --all-namespaces
- oc plugin sos -n openshift-metrics-server

Version-Release number of selected component (if applicable): v3.11.104

How reproducible: issue shows up frequently, and seems to affect all namespaces randomly.

Steps to Reproduce:
1.N/A

Actual results: metrics-server is apparently failing to gather pod metrics.


Expected results: pod metrics to be collected and HPA to work.


Additional info:

- Similar issue to the one described in https://bugzilla.redhat.com/show_bug.cgi?id=1690034
- The issue is having an impact on the production environment.

Comment 12 Seth Jennings 2019-06-18 13:52:44 UTC

*** This bug has been marked as a duplicate of bug 1593634 ***