Bug 1721428
Summary: | Error: Metrics might not be configured by your cluster administrator. Metrics are required for autoscaling | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Daein Park <dapark> |
Component: | Management Console | Assignee: | Samuel Padgett <spadgett> |
Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.11.0 | CC: | aos-bugs, jokerman, mmccomas, yapei |
Target Milestone: | --- | ||
Target Release: | 3.11.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Previously, the web console showed a misleading warning that metrics might not configured for horizontal pod autoscalers when only the metrics server had been set up. The warning has been removed.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2019-07-23 19:56:23 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
Daein Park
2019-06-18 09:32:33 UTC
Hi team, my question is if "metrics-server" only installed, can current web console detect it as enabled HPA ? I think the condition is only whether or not cluster metrics is installed at now. Thanks, Daein I appreciate your help and quick update @Samuel 1. Enable metrics server and confirm `oc adm top node/pod` works # oc get apiservices|grep metrics v1beta1.metrics.k8s.io 2019-07-16T07:16:37Z # oc adm top node NAME CPU(cores) CPU% MEMORY(bytes) MEMORY% qe-gpei-311pub3master-etcd-1 997m 49% 3967Mi 54% qe-gpei-311pub3master-etcd-2 938m 46% 3631Mi 50% qe-gpei-311pub3master-etcd-3 1079m 53% 3775Mi 52% qe-gpei-311pub3node-1 1248m 62% 3263Mi 45% qe-gpei-311pub3node-2 315m 15% 3142Mi 43% qe-gpei-311pub3node-infra-1 323m 16% 3018Mi 41% qe-gpei-311pub3node-infra-2 328m 16% 3054Mi 42% # oc adm top pod NAME CPU(cores) MEMORY(bytes) catalog-operator-76c846684c-rnsvs 2m 19Mi etcd-operator-7b49974f5b-d7flt 5m 22Mi example-4q2kdl8xwz 26m 14Mi example-6xtptszz4p 16m 10Mi example-mdzzdnkpvk 18m 12Mi olm-operator-5b7f7c4556-xp9fj 1m 9Mi prometheus-operator-7fccbd7c74-ssnw9 0m 7Mi 2. Access Web console and move the page through "Application" -> "Deployments" -> "Configuration" Tab -> Look "Autoscaling" Section No warn message ""Metrics might not be configured by your cluster administrator. Metrics are required for autoscaling" alert message is shown from web console." 3. Confirm the PR has been merged in 3.11.129 [yapei@dhcp-141-192 origin-web-console-server]$ git log --pretty="%h %cd - %s (%an)" --date=local atomic-openshift-web-console-3.11.129-1 -1 7a7adeec5 Thu Jul 11 00:27:17 2019 - bump origin-web-console 6a131a0f (AOS Automation Release Team) [yapei@dhcp-141-192 origin-web-console]$ git log 6a131a0f | grep '#3132' Merge pull request #3132 from spadgett/metrics-warning 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:1753 |