{"record":{"id":"f763552c4c47e7b9","repo":"kubernetes/kops","slug":"no-known-addresses-for-node-s","errorCode":null,"errorMessage":"no known addresses for node %s","messagePattern":"no known addresses for node (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/dump/dumper.go","lineNumber":287,"sourceCode":"\t}\n}\n\nfunc (d *logDumper) dumpNotRegistered(ctx context.Context, node *resources.Instance) (string, error) {\n\tif ctx.Err() != nil {\n\t\tklog.Infof(\"stopping dumping nodes: %v\", ctx.Err())\n\t\treturn \"\", ctx.Err()\n\t}\n\n\tklog.Infof(\"dumping node not registered in kubernetes: %s\", node.Name)\n\td.grantSSHAccess(ctx, node.Name)\n\tif len(node.PublicAddresses) > 0 {\n\t\treturn node.PublicAddresses[0], d.dumpNode(ctx, node.PublicAddresses[0], node.PublicAddresses[0], false)\n\t}\n\n\tif len(node.PrivateAddresses) > 0 {\n\t\treturn node.PrivateAddresses[0], d.dumpNode(ctx, node.PrivateAddresses[0], node.PrivateAddresses[0], true)\n\t}\n\treturn \"\", fmt.Errorf(\"no known addresses for node %s\", node.Name)\n}\n\n// defaultNodeDumpTimeout bounds the time spent connecting to and dumping a single node.\n// A healthy node dumps in well under a minute. Without this cap, an SSH operation\n// against an unreachable node blocks until the OS TCP timeout (~15 min) expires.\n// Large clusters dump multi-GB logs per node and need a higher value, configurable\n// via the --node-dump-timeout flag, because the files are dumped sequentially and a\n// single oversized log can otherwise exhaust the budget before the rest are read.\nconst defaultNodeDumpTimeout = time.Minute\n\n// DumpNode connects to a node and dumps the logs.\nfunc (d *logDumper) dumpNode(ctx context.Context, name string, ip string, useBastion bool) error {\n\tif ip == \"\" {\n\t\treturn fmt.Errorf(\"could not find address for %v, \", name)\n\t}\n\n\tklog.Infof(\"Dumping node %s\", name)\n","sourceCodeStart":269,"sourceCodeEnd":305,"githubUrl":"https://github.com/kubernetes/kops/blob/4c8573c808a73d578c5eadc86d410646ea0b0d73/pkg/dump/dumper.go#L269-L305","documentation":"dumpNotRegistered found a cloud instance with neither public nor private addresses, so there is no way to reach it for log dumping; the instance's network interfaces report empty address lists.","triggerScenarios":"Thrown at pkg/dump/dumper.go:287 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the instance's network interfaces in the cloud console","Skip the unaddressable node and dump the rest","Investigate why the instance has no assigned addresses (still launching, or network misconfiguration)"],"exampleFix":null,"handlingStrategy":"validation","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"}