{"record":{"id":"13e64f373b7cfeed","repo":"kubernetes/kops","slug":"failed-to-list-cluster-servers-named-q-w","errorCode":null,"errorMessage":"failed to list cluster servers named %q: %w","messagePattern":"failed to list cluster servers named %q: %w","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"upup/pkg/fi/cloudup/scaleway/cloud.go","lineNumber":467,"sourceCode":"\t\treturn nil, fmt.Errorf(\"listing cluster load-balancers: %w\", err)\n\t}\n\treturn lbs.LBs, nil\n}\n\nfunc (s *scwCloudImplementation) GetClusterServers(clusterName string, instanceGroupName *string) ([]*instance.Server, error) {\n\ttags := []string{TagClusterName + \"=\" + clusterName}\n\tif instanceGroupName != nil {\n\t\ttags = append(tags, fmt.Sprintf(\"%s=%s\", TagInstanceGroup, *instanceGroupName))\n\t}\n\trequest := &instance.ListServersRequest{\n\t\tZone: s.zone,\n\t\tName: instanceGroupName,\n\t\tTags: tags,\n\t}\n\tservers, err := s.instanceAPI.ListServers(request, scw.WithAllPages())\n\tif err != nil {\n\t\tif instanceGroupName != nil {\n\t\t\treturn nil, fmt.Errorf(\"failed to list cluster servers named %q: %w\", *instanceGroupName, err)\n\t\t}\n\t\treturn nil, fmt.Errorf(\"failed to list cluster servers: %w\", err)\n\t}\n\treturn servers.Servers, nil\n}\n\nfunc (s *scwCloudImplementation) GetClusterSSHKeys(clusterName string) ([]*iam.SSHKey, error) {\n\tclusterSSHKeys := []*iam.SSHKey(nil)\n\tallSSHKeys, err := s.iamAPI.ListSSHKeys(&iam.ListSSHKeysRequest{}, scw.WithAllPages())\n\tfor _, sshkey := range allSSHKeys.SSHKeys {\n\t\tif strings.HasPrefix(sshkey.Name, fmt.Sprintf(\"kubernetes.%s-\", clusterName)) {\n\t\t\tclusterSSHKeys = append(clusterSSHKeys, sshkey)\n\t\t}\n\t}\n\tif err != nil {\n\t\treturn nil, fmt.Errorf(\"failed to list cluster ssh keys: %w\", err)\n\t}\n\treturn clusterSSHKeys, nil","sourceCodeStart":449,"sourceCodeEnd":485,"githubUrl":"https://github.com/kubernetes/kops/blob/4c8573c808a73d578c5eadc86d410646ea0b0d73/upup/pkg/fi/cloudup/scaleway/cloud.go#L449-L485","documentation":"GetClusterServers failed on the Scaleway ListServers call that filters servers by cluster-name tag (and optionally instance-group tag). This propagates from findServerGroups and aborts any operation needing the cluster's machines. The wrapped error is the raw SDK failure; the request name identifies the instance group filter used.","triggerScenarios":"Thrown at upup/pkg/fi/cloudup/scaleway/cloud.go:467 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Inspect the wrapped error for auth/quota/network causes","Verify the cluster tag 'kops.k8s.io/cluster' format matches","Retry the listing operation"],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"4c8573c808a73d578c5eadc86d410646ea0b0d73","analyzedAt":"2026-09-05T04:13:19.212Z","contentChangedAt":"2026-09-05T04:13:19.212Z","schemaVersion":2},"datasetVersion":"2026-09-12T07:17:12.445Z"}