{"record":{"id":"59fa0a860b8e2679","repo":"kubernetes/kops","slug":"failed-to-find-server-with-id-s-v","errorCode":null,"errorMessage":"failed to find server with id (\"%s\"): %v","messagePattern":"failed to find server with id \\(\"(.+?)\"\\): (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"upup/pkg/fi/cloudup/openstack/instance.go","lineNumber":152,"sourceCode":"\tif err != nil {\n\t\treturn server, err\n\t} else if done {\n\t\treturn server, nil\n\t} else {\n\t\treturn server, wait.ErrWaitTimeout\n\t}\n}\n\nfunc (c *openstackCloud) ListServerFloatingIPs(instanceID string) ([]*string, error) {\n\treturn listServerFloatingIPs(c, instanceID, c.floatingEnabled)\n}\n\nfunc listServerFloatingIPs(c OpenstackCloud, instanceID string, floatingEnabled bool) ([]*string, error) {\n\tvar result []*string\n\t_, err := vfs.RetryWithBackoff(floatingBackoff, func() (bool, error) {\n\t\tserver, err := c.GetInstance(instanceID)\n\t\tif err != nil {\n\t\t\treturn true, fmt.Errorf(\"failed to find server with id (\\\"%s\\\"): %v\", instanceID, err)\n\t\t}\n\n\t\tvar addresses map[string][]Address\n\t\terr = mapstructure.Decode(server.Addresses, &addresses)\n\t\tif err != nil {\n\t\t\treturn true, err\n\t\t}\n\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}","sourceCodeStart":134,"sourceCodeEnd":170,"githubUrl":"https://github.com/kubernetes/kops/blob/4c8573c808a73d578c5eadc86d410646ea0b0d73/upup/pkg/fi/cloudup/openstack/instance.go#L134-L170","documentation":"While collecting a server's floating IPs, the GetInstance lookup for the instance failed. The retry-with-backoff loop returns immediately with this error, meaning the server could not be fetched by ID — typically the instance was deleted mid-operation or the API call failed.","triggerScenarios":"Thrown at upup/pkg/fi/cloudup/openstack/instance.go:152 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Confirm the instance still exists: openstack server show <id>","Retry if the failure was a transient API error","If the instance was deleted, abandon the floating-IP lookup"],"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"}