{"record":{"id":"ff69123fe38dc238","repo":"kubernetes/kops","slug":"could-not-find-floating-ip-associated-to-server","errorCode":null,"errorMessage":"could not find floating ip associated to server (\"%s\") %v","messagePattern":"could not find floating ip associated to server \\(\"(.+?)\"\\) (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"upup/pkg/fi/cloudup/openstack/instance.go","lineNumber":178,"sourceCode":"\n\t\tfor _, addrList := range addresses {\n\t\t\tfor _, props := range addrList {\n\t\t\t\tif floatingEnabled {\n\t\t\t\t\tif props.IPType == \"floating\" {\n\t\t\t\t\t\tresult = append(result, new(props.Addr))\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tresult = append(result, new(props.Addr))\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif len(result) > 0 {\n\t\t\treturn true, nil\n\t\t}\n\t\treturn false, nil\n\t})\n\tif len(result) == 0 || err != nil {\n\t\treturn result, fmt.Errorf(\"could not find floating ip associated to server (\\\"%s\\\") %v\", instanceID, err)\n\t}\n\treturn result, nil\n}\n\nfunc (c *openstackCloud) DeleteInstance(i *cloudinstances.CloudInstance) error {\n\treturn deleteInstance(c, i)\n}\n\nfunc deleteInstance(c OpenstackCloud, i *cloudinstances.CloudInstance) error {\n\treturn deleteInstanceWithID(c, i.ID)\n}\n\nfunc (c *openstackCloud) DeleteInstanceWithID(instanceID string) error {\n\treturn deleteInstanceWithID(c, instanceID)\n}\n\nfunc deleteInstanceWithID(c OpenstackCloud, instanceID string) error {\n\tdone, err := vfs.RetryWithBackoff(deleteBackoff, func() (bool, error) {","sourceCodeStart":160,"sourceCodeEnd":196,"githubUrl":"https://github.com/kubernetes/kops/blob/4c8573c808a73d578c5eadc86d410646ea0b0d73/upup/pkg/fi/cloudup/openstack/instance.go#L160-L196","documentation":"After polling a server's addresses, no floating IP (or, when floating IPs are disabled, no address at all) was found, or the polling errored/timed out. The server either has not yet received its addresses or genuinely has none associated in the observed address map.","triggerScenarios":"Thrown at upup/pkg/fi/cloudup/openstack/instance.go:178 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the server's addresses in OpenStack and confirm a floating IP is associated","If networking is slow, retry — the lookup polls with backoff","For floating-enabled clusters, associate a floating IP to the port"],"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-12T12:17:11.808Z"}