Skip to content

CA: Readiness for node group node not found #8846

@adriangawinek

Description

@adriangawinek

Hello Everyone,

I am trying to start Cluster Autoscaler for Rancher provider with developed node driver.
I added necessary ServiceAccount, Role, RoleBindings, ClusterRole and ClusterRoleBindings for deployment with cluster autoscaler. The token used for API request was generated for admin user with full permissions.
Unfortunately autoscaling does not work. After some investigation I discover the health status of node in cluster-autoscaler-status is Unhealthy.
Image
Logs from cluster autoscaler:

static_autoscaler.go:270] Starting main loop
rancher_provider.go:234] ignoring machine pool cp as it does not have min/max annotations
rancher_provider.go:241] scalable node group found: wr (1:3)
rancher_provider.go:154] skipping NodeGroupForNode "localhost" as the annotation "cluster.x-k8s.io/machine" is missing
clusterstate.go:508] Failed to find readiness information for wr
node_instances_cache.go:132] Get cached cloud provider node instances for wr
rancher_provider.go:154] skipping NodeGroupForNode "localhost" as the annotation "cluster.x-k8s.io/machine" is missing
rancher_provider.go:154] skipping NodeGroupForNode "rke2://a115-wr-zxwbv-s8fzb" as the annotation "cluster.x-k8s.io/machine" is missing
clusterstate.go:670] Nodegroup is nil for rke2://a115-wr-zxwbv-s8fzb
clusterstate.go:713] Readiness for node group wr not found
static_autoscaler.go:405] 1 unregistered nodes present
rancher_provider.go:154] skipping NodeGroupForNode "rke2://a115-wr-zxwbv-s8fzb" as the annotation "cluster.x-k8s.io/machine" is missing
static_autoscaler.go:834] No node group for node rke2://a115-wr-zxwbv-s8fzb, skipping
filter_out_schedulable.go:65] Filtering out schedulables
filter_out_schedulable.go:122] 0 pods marked as unschedulable can be scheduled.
filter_out_schedulable.go:85] No schedulable pods
filter_out_daemon_sets.go:47] Filtered out 0 daemon set pods, 0 unschedulable pods left
static_autoscaler.go:520] No unschedulable pods
static_autoscaler.go:559] Calculating unneeded nodes
rancher_provider.go:154] skipping NodeGroupForNode "localhost" as the annotation "cluster.x-k8s.io/machine" is missing
pre_filtering_processor.go:57] Node localhost should not be processed by cluster autoscaler (no node group config)
static_autoscaler.go:602] Scale down status: lastScaleUpTime=2025-11-20 09:13:26.375848925 +0000 UTC m=-3580.811081252 lastScaleDownDeleteTime=2025-11-20 09:13:26.375848925 +0000 UTC m=-3580.811081252 lastScaleDownFailTime=2025-11-20 09:13:26.375848925 +0000 UTC m=-3580.811081252 scaleDownForbidden=false scaleDownInCooldown=false
static_autoscaler.go:624] Starting scale down: no scale down candidates. skipping...
rancher_provider.go:154] skipping NodeGroupForNode "localhost" as the annotation "cluster.x-k8s.io/machine" is missing
clusterstate.go:446] Failed to find readiness information for wr
clusterstate.go:508] Failed to find readiness information for wr
clusterstate.go:446] Failed to find readiness information for wr
clusterstate.go:446] Failed to find readiness information for wr
leaderelection.go:293] successfully renewed lease kube-system/cluster-autoscaler
leaderelection.go:293] successfully renewed lease kube-system/cluster-autoscaler
leaderelection.go:293] successfully renewed lease kube-system/cluster-autoscaler
leaderelection.go:293] successfully renewed lease kube-system/cluster-autoscaler
leaderelection.go:293] successfully renewed lease kube-system/cluster-autoscaler

Could you give me some advice on where to look for the problem?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions