kubernetes/kops · error
failed to get info for Akamai (Linode) instance %q: %w
Error message
failed to get info for Akamai (Linode) instance %q: %w
What it means
The Linode API GetInstance call failed while resolving the node's instance (auth, rate limit, or network error). The %w detail carries the API error; the instance ID in the message identifies which lookup failed.
Source
Thrown at pkg/nodeidentity/linode/identify.go:98
instanceNumericID, instanceID, err := parseInstanceIDFromProviderID(providerID)
if err != nil {
return nil, fmt.Errorf("providerID %q not recognized for node %s: %w", providerID, node.Name, err)
}
if i.cacheEnabled {
obj, exists, err := i.cache.GetByKey(instanceID)
if err != nil {
klog.Warningf("Nodeidentity info cache lookup failure: %v", err)
}
if exists {
return obj.(*nodeidentity.Info), nil
}
}
instance, err := i.client.GetInstance(ctx, instanceNumericID)
if err != nil {
return nil, fmt.Errorf("failed to get info for Akamai (Linode) instance %q: %w", instanceID, err)
}
if instance == nil {
return nil, fmt.Errorf("failed to get info for Akamai (Linode) instance %q: empty response", instanceID)
}
if !isExpectedInstanceStatus(instance.Status) {
return nil, fmt.Errorf("found instance %q with unexpected status: %q", instanceID, instance.Status)
}
info := &nodeidentity.Info{
InstanceID: instanceID,
Labels: buildLabelsFromTags(instance.Tags),
}
if i.cacheEnabled {
if err := i.cache.Add(info); err != nil {
klog.Warningf("Failed to add node identity info to cache: %v", err)
}View on GitHub (pinned to 4c8573c808)
Solutions
- Inspect the wrapped API error and fix auth/rate-limit/connectivity issues
- Verify the LINODE_TOKEN is valid for the instance's project
- Retry identification after transient API failures
Defensive patterns
Strategy: try-catch
When it happens
Trigger: Thrown at pkg/nodeidentity/linode/identify.go:98 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of kubernetes/kops@4c8573c808 (2026-09-05).
Data as JSON: /api/errors/5a9dc137da619d5d.
Report an issue: GitHub.