{"record":{"id":"f98da452faae5777","repo":"kubernetes/kops","slug":"found-subnet-without-properties","errorCode":null,"errorMessage":"found subnet without properties","messagePattern":"found subnet without properties","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"upup/pkg/fi/cloudup/azuretasks/subnet.go","lineNumber":92,"sourceCode":"\t\t}\n\t}\n\n\tvar found *network.Subnet\n\tfor _, v := range l {\n\t\tif *v.Name == *s.Name {\n\t\t\tfound = v\n\t\t\tbreak\n\t\t}\n\t}\n\tif found == nil {\n\t\treturn nil, nil\n\t}\n\n\tif found.ID == nil {\n\t\treturn nil, fmt.Errorf(\"found subnet without ID\")\n\t}\n\tif found.Properties == nil {\n\t\treturn nil, fmt.Errorf(\"found subnet without properties\")\n\t}\n\tif found.Properties.ProvisioningState != nil && *found.Properties.ProvisioningState == network.ProvisioningStateFailed {\n\t\tklog.Warningf(\"found subnet %q in failed provisioning state\", *s.Name)\n\t\treturn nil, nil\n\t}\n\n\ts.ID = found.ID\n\n\tfs := &Subnet{\n\t\tName:      s.Name,\n\t\tLifecycle: s.Lifecycle,\n\t\tShared:    s.Shared,\n\t\tResourceGroup: &ResourceGroup{\n\t\t\tName: s.ResourceGroup.Name,\n\t\t},\n\t\tVirtualNetwork: &VirtualNetwork{\n\t\t\tName: s.VirtualNetwork.Name,\n\t\t},","sourceCodeStart":74,"sourceCodeEnd":110,"githubUrl":"https://github.com/kubernetes/kops/blob/4c8573c808a73d578c5eadc86d410646ea0b0d73/upup/pkg/fi/cloudup/azuretasks/subnet.go#L74-L110","documentation":"Malformed-API-object guard in the Azure subnet reconciler: the matched subnet has no Properties block in the API response, so its address space/provisioning state cannot be read. kOps refuses to adopt an object it cannot fully describe.","triggerScenarios":"Thrown at upup/pkg/fi/cloudup/azuretasks/subnet.go:92 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Retry in case of a transient partial API response","Check the subnet state in the Azure portal","Recreate the subnet if it appears corrupted"],"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"}