Bug 2026237
| Summary: | ClusterAutoscalerUnschedulablePods should not be a warning | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | OpenShift BugZilla Robot <openshift-bugzilla-robot> |
| Component: | Cloud Compute | Assignee: | Michael McCune <mimccune> |
| Cloud Compute sub component: | Cluster Autoscaler | QA Contact: | Huali Liu <huliu> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | medium | ||
| Priority: | medium | CC: | aos-bugs, huliu |
| Version: | 4.9 | Keywords: | ServiceDeliveryImpact |
| Target Milestone: | --- | ||
| Target Release: | 4.8.z | ||
| 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: | 2021-12-07 06:38:42 UTC | Type: | --- |
| 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: | 2025582 | ||
| Bug Blocks: | |||
|
Description
OpenShift BugZilla Robot
2021-11-24 07:30:50 UTC
Set up cluster using cluster-bot with https://github.com/openshift/cluster-autoscaler-operator/pull/232 Verified severity of ClusterAutoscalerUnschedulablePods alert is "info" now. liuhuali@Lius-MacBook-Pro huali-test % oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.8.0-0.ci.test-2021-11-25-012253-ci-ln-7isniyt-latest True False 117s Cluster version is 4.8.0-0.ci.test-2021-11-25-012253-ci-ln-7isniyt-latest liuhuali@Lius-MacBook-Pro huali-test % oc create -f clusterautoscale.yaml clusterautoscaler.autoscaling.openshift.io/default created liuhuali@Lius-MacBook-Pro huali-test % oc -n openshift-machine-api get prometheusrule NAME AGE cluster-autoscaler-default 42s machine-api-operator-prometheus-rules 28m liuhuali@Lius-MacBook-Pro huali-test % oc -n openshift-machine-api get prometheusrule cluster-autoscaler-default -o yaml apiVersion: monitoring.coreos.com/v1 kind: PrometheusRule metadata: creationTimestamp: "2021-11-25T01:58:38Z" generation: 1 labels: prometheus: k8s role: alert-rules name: cluster-autoscaler-default namespace: openshift-machine-api ownerReferences: - apiVersion: autoscaling.openshift.io/v1 blockOwnerDeletion: true controller: true kind: ClusterAutoscaler name: default uid: 60c8ba52-a9f5-4253-9145-60e7e3320311 resourceVersion: "29950" uid: 0f63b0be-53b2-46e5-ae3b-d6e47e49cbf8 spec: groups: - name: general.rules rules: - alert: ClusterAutoscalerUnschedulablePods annotations: message: Cluster Autoscaler has {{ $value }} unschedulable pods expr: cluster_autoscaler_unschedulable_pods_count{service="cluster-autoscaler-default"} > 0 for: 20m labels: severity: info - alert: ClusterAutoscalerNotSafeToScale annotations: message: Cluster Autoscaler is reporting that the cluster is not ready for scaling expr: cluster_autoscaler_cluster_safe_to_autoscale{service="cluster-autoscaler-default"} != 1 for: 15m labels: severity: warning liuhuali@Lius-MacBook-Pro huali-test % 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 (OpenShift Container Platform 4.8.23 bug fix update), 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-2021:4881 |