Bug 1973567
Summary: | Autoscaler log report error “Failed to watch *v1.CSIDriver” | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | sunzhaohua <zhsun> | |
Component: | Cloud Compute | Assignee: | Michael McCune <mimccune> | |
Cloud Compute sub component: | Cluster Autoscaler | QA Contact: | sunzhaohua <zhsun> | |
Status: | CLOSED ERRATA | Docs Contact: | ||
Severity: | low | |||
Priority: | unspecified | CC: | ancollin, aos-bugs, mimccune | |
Version: | 4.8 | |||
Target Milestone: | --- | |||
Target Release: | 4.9.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: |
Cause: The cluster autoscaler did not have permission to read csidrivers.storage.k8s.io or csistoragecapacities.storage.k8s.io resources.
Consequence: The cluster autoscaler would report errors in its logs stating that its service account does not have access to interact with these resources.
Fix: The Role for the cluster autoscaler has been updated to include the new resources.
Result: The cluster autoscaler no longer creates error messages in its logs about interacting with these resources.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1995595 (view as bug list) | Environment: | ||
Last Closed: | 2021-10-18 17:35:35 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: | 1995595 |
Description
sunzhaohua
2021-06-18 07:51:27 UTC
i think we just need to update the role for the machine-api service account. i am starting to investigate. Failed to verify oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.9.0-0.nightly-2021-06-24-082405 True False 61m Cluster version is 4.9.0-0.nightly-2021-06-24-082405 E0624 16:04:42.548972 1 reflector.go:138] k8s.io/client-go/informers/factory.go:134: Failed to watch *v1beta1.CSIStorageCapacity: failed to list *v1beta1.CSIStorageCapacity: csistoragecapacities.storage.k8s.io is forbidden: User "system:serviceaccount:openshift-machine-api:cluster-autoscaler" cannot list resource "csistoragecapacities" in API group "storage.k8s.io" at the cluster scope I0624 16:04:46.391301 1 static_autoscaler.go:319] 2 unregistered nodes present Failed to verify oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.9.0-0.nightly-2021-06-24-082405 True False 61m Cluster version is 4.9.0-0.nightly-2021-06-24-082405 E0624 16:04:42.548972 1 reflector.go:138] k8s.io/client-go/informers/factory.go:134: Failed to watch *v1beta1.CSIStorageCapacity: failed to list *v1beta1.CSIStorageCapacity: csistoragecapacities.storage.k8s.io is forbidden: User "system:serviceaccount:openshift-machine-api:cluster-autoscaler" cannot list resource "csistoragecapacities" in API group "storage.k8s.io" at the cluster scope I0624 16:04:46.391301 1 static_autoscaler.go:319] 2 unregistered nodes present verified oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.9.0-0.nightly-2021-06-27-223612 True False 3m43s Cluster version is 4.9.0-0.nightly-2021-06-27-223612 I0628 08:53:12.609381 1 scale_down.go:917] No candidates for scale down I0628 08:53:22.628438 1 static_autoscaler.go:401] No unschedulable pods I0628 08:53:22.628875 1 scale_down.go:917] No candidates for scale down W0628 08:53:32.712601 1 clusterstate.go:432] AcceptableRanges have not been populated yet. Skip checking I0628 08:53:33.288638 1 static_autoscaler.go:401] No unschedulable pods I0628 08:53:33.691161 1 pre_filtering_processor.go:66] Skipping ip-10-0-242-215.us-east-2.compute.internal - node group min size reached I0628 08:53:34.088723 1 scale_down.go:917] No candidates for scale down I0628 08:53:44.909621 1 klogx.go:86] Pod openshift-machine-api/scale-up-6cc4bdd5db-2k59x is unschedulable @ancollin i have created https://bugzilla.redhat.com/show_bug.cgi?id=1995595 and am working on the backports 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 (Moderate: OpenShift Container Platform 4.9.0 bug fix and security 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/RHSA-2021:3759 |