{"record":{"id":"a3bf3301cfd200eb","repo":"kubernetes/kops","slug":"providerid-q-not-recognized-for-node-s-w","errorCode":null,"errorMessage":"providerID %q not recognized for node %s: %w","messagePattern":"providerID %q not recognized for node (.+?): %w","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/nodeidentity/linode/identify.go","lineNumber":83,"sourceCode":"\tclient.SetToken(accessToken)\n\n\treturn &nodeIdentifier{\n\t\tclient:       &client,\n\t\tcache:        expirationcache.NewTTLStore(stringKeyFunc, cacheTTL),\n\t\tcacheEnabled: cacheNodeidentityInfo,\n\t}, nil\n}\n\n// IdentifyNode queries Akamai (Linode) for the node identity information.\nfunc (i *nodeIdentifier) IdentifyNode(ctx context.Context, node *corev1.Node) (*nodeidentity.Info, error) {\n\tproviderID := node.Spec.ProviderID\n\tif providerID == \"\" {\n\t\treturn nil, fmt.Errorf(\"providerID not set for node %s\", node.Name)\n\t}\n\n\tinstanceNumericID, instanceID, err := parseInstanceIDFromProviderID(providerID)\n\tif err != nil {\n\t\treturn nil, fmt.Errorf(\"providerID %q not recognized for node %s: %w\", providerID, node.Name, err)\n\t}\n\n\tif i.cacheEnabled {\n\t\tobj, exists, err := i.cache.GetByKey(instanceID)\n\t\tif err != nil {\n\t\t\tklog.Warningf(\"Nodeidentity info cache lookup failure: %v\", err)\n\t\t}\n\t\tif exists {\n\t\t\treturn obj.(*nodeidentity.Info), nil\n\t\t}\n\t}\n\n\tinstance, err := i.client.GetInstance(ctx, instanceNumericID)\n\tif err != nil {\n\t\treturn nil, fmt.Errorf(\"failed to get info for Akamai (Linode) instance %q: %w\", instanceID, err)\n\t}\n\tif instance == nil {\n\t\treturn nil, fmt.Errorf(\"failed to get info for Akamai (Linode) instance %q: empty response\", instanceID)","sourceCodeStart":65,"sourceCodeEnd":101,"githubUrl":"https://github.com/kubernetes/kops/blob/4c8573c808a73d578c5eadc86d410646ea0b0d73/pkg/nodeidentity/linode/identify.go#L65-L101","documentation":"The node's spec.providerID does not parse as a Linode provider ID: after the linode:// prefix check and path parsing, no numeric instance ID remained (parseInstanceIDFromProviderID failed). The offending value is shown in the message.","triggerScenarios":"Thrown at pkg/nodeidentity/linode/identify.go:83 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Correct node.spec.providerID to linode://<numeric-instance-id>","Check which integration stamped the malformed provider ID"],"exampleFix":null,"handlingStrategy":"type-guard","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"}