{"record":{"id":"2f3efc517912b2d7","repo":"kubernetes/kops","slug":"error-waiting-for-ip-address-v","errorCode":null,"errorMessage":"error waiting for IP Address: %v","messagePattern":"error waiting for IP Address: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"upup/pkg/fi/cloudup/gcetasks/address.go","lineNumber":190,"sourceCode":"\t\tAddressType: fi.ValueOf(e.IPAddressType),\n\t\tPurpose:     fi.ValueOf(e.Purpose),\n\t\tRegion:      cloud.Region(),\n\t}\n\n\tif e.Subnetwork != nil {\n\t\taddr.Subnetwork = e.Subnetwork.URL(t.Cloud.Project(), t.Cloud.Region())\n\t}\n\n\tif a == nil {\n\t\tklog.V(2).Infof(\"Creating Address: %q\", addr.Name)\n\n\t\top, err := cloud.Compute().Addresses().Insert(cloud.Project(), cloud.Region(), addr)\n\t\tif err != nil {\n\t\t\treturn fmt.Errorf(\"error creating IP Address: %v\", err)\n\t\t}\n\n\t\tif err := cloud.WaitForOp(op); err != nil {\n\t\t\treturn fmt.Errorf(\"error waiting for IP Address: %v\", err)\n\t\t}\n\t} else {\n\t\treturn fmt.Errorf(\"cannot apply changes to IP Address: %v\", changes)\n\t}\n\n\treturn nil\n}\n\ntype terraformAddress struct {\n\tName        *string                  `cty:\"name\"`\n\tAddressType *string                  `cty:\"address_type\"`\n\tPurpose     *string                  `cty:\"purpose\"`\n\tSubnetwork  *terraformWriter.Literal `cty:\"subnetwork\"`\n}\n\nfunc (_ *Address) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *Address) error {\n\ttf := &terraformAddress{\n\t\tName:        e.Name,","sourceCodeStart":172,"sourceCodeEnd":208,"githubUrl":"https://github.com/kubernetes/kops/blob/4c8573c808a73d578c5eadc86d410646ea0b0d73/upup/pkg/fi/cloudup/gcetasks/address.go#L172-L208","documentation":"Wrapped error returned when cloud.WaitForOp fails after successfully submitting a GCE Addresses.Insert operation. The insert API call itself succeeded; the asynchronous regional operation transitioned to an error state (or polling failed), so the address may or may not exist in GCE.","triggerScenarios":"Thrown at upup/pkg/fi/cloudup/gcetasks/address.go:190 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Inspect the underlying operation error (quota exceeded, invalid address, name conflict) in the %v detail","Verify whether the address was actually created with `gcloud compute addresses describe` before re-running","Address quota or permission issues reported by the operation, then re-run the kOps apply"],"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"}