{"record":{"id":"4aa8a0648a72acd6","repo":"kubernetes/kops","slug":"failed-to-delete-floating-ip-s-v","errorCode":null,"errorMessage":"failed to delete floating ip %s: %v","messagePattern":"failed to delete floating ip (.+?): (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"upup/pkg/fi/cloudup/openstack/floatingip.go","lineNumber":103,"sourceCode":"\t})\n\tif !done {\n\t\tif err == nil {\n\t\t\terr = wait.ErrWaitTimeout\n\t\t}\n\t\treturn fips, err\n\t}\n\treturn fips, nil\n}\n\nfunc (c *openstackCloud) DeleteFloatingIP(id string) (err error) {\n\treturn deleteFloatingIP(c, id)\n}\n\nfunc deleteFloatingIP(c OpenstackCloud, id string) (err error) {\n\tdone, err := vfs.RetryWithBackoff(deleteBackoff, func() (bool, error) {\n\t\terr = l3floatingip.Delete(context.TODO(), c.ComputeClient(), id).ExtractErr()\n\t\tif err != nil && !isNotFound(err) {\n\t\t\treturn false, fmt.Errorf(\"failed to delete floating ip %s: %v\", id, err)\n\t\t}\n\t\tif isNotFound(err) {\n\t\t\treturn true, nil\n\t\t}\n\t\treturn false, nil\n\t})\n\tif !done && err == nil {\n\t\terr = wait.ErrWaitTimeout\n\t}\n\treturn err\n}\n\nfunc (c *openstackCloud) DeleteL3FloatingIP(id string) (err error) {\n\treturn deleteL3FloatingIP(c, id)\n}\n\nfunc deleteL3FloatingIP(c OpenstackCloud, id string) (err error) {\n\tdone, err := vfs.RetryWithBackoff(writeBackoff, func() (bool, error) {","sourceCodeStart":85,"sourceCodeEnd":121,"githubUrl":"https://github.com/kubernetes/kops/blob/4c8573c808a73d578c5eadc86d410646ea0b0d73/upup/pkg/fi/cloudup/openstack/floatingip.go#L85-L121","documentation":"deleteFloatingIP wraps the l3floatingip.Delete ExtractErr failure (via the compute client) when releasing a floating IP. NotFound is treated as success; any other API error fires this message and is retried with the delete backoff before surfacing.","triggerScenarios":"Thrown at upup/pkg/fi/cloudup/openstack/floatingip.go:103 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify the floating IP ID and that it belongs to the project","Check API credentials for the compute/network endpoints","Retry; the operation already runs inside RetryWithBackoff"],"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"}