{"record":{"id":"752baed95d504420","repo":"kubernetes/kops","slug":"getting-info-for-s-w","errorCode":null,"errorMessage":"getting info for %s: %w","messagePattern":"getting info for (.+?): %w","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"upup/pkg/fi/cloudup/azure/verifier.go","lineNumber":167,"sourceCode":"\tklog.V(2).Infof(\"Azure verifier for VM %q verified attested document\", vmLogID)\n\tif !strings.EqualFold(data.SubscriptionId, a.client.subscriptionID) {\n\t\treturn nil, fmt.Errorf(\"attested subscriptionId %q does not match verifier subscription %q\", data.SubscriptionId, a.client.subscriptionID)\n\t}\n\n\t// Look up the VM or VMSS VM via the Azure API using the resource ID, cross-verify the attested\n\t// vmId, and extract node identity.\n\tvar nodeName, igName string\n\tvar addrs, challengeEndpoints []string\n\n\tswitch resourceType {\n\tcase vmResourceType:\n\t\tvmName := res.Name\n\t\tdesc := fmt.Sprintf(\"VM %q\", vmName)\n\t\tklog.V(2).Infof(\"Azure verifier for VM %q looking up Azure API object\", vmLogID)\n\n\t\tvm, err := a.client.vmsClient.Get(ctx, a.client.resourceGroup, vmName, nil)\n\t\tif err != nil {\n\t\t\treturn nil, fmt.Errorf(\"getting info for %s: %w\", desc, err)\n\t\t}\n\t\tif vm.Properties == nil {\n\t\t\treturn nil, fmt.Errorf(\"determining VMID for %s\", desc)\n\t\t}\n\t\tnodeName, igName, err = extractNodeIdentity(data, desc, vm.Properties.VMID, vm.Properties.OSProfile, vm.Tags)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\n\t\t// Collect private IP addresses from the VM's network interface.\n\t\tni, err := a.client.nisClient.Get(ctx, a.client.resourceGroup, nodeName, nil)\n\t\tif err != nil {\n\t\t\treturn nil, fmt.Errorf(\"getting info for %s network interface %q: %w\", desc, nodeName, err)\n\t\t}\n\t\taddrs, challengeEndpoints, err = privateIPEndpoints(ni.Interface, desc)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}","sourceCodeStart":149,"sourceCodeEnd":185,"githubUrl":"https://github.com/kubernetes/kops/blob/4c8573c808a73d578c5eadc86d410646ea0b0d73/upup/pkg/fi/cloudup/azure/verifier.go#L149-L185","documentation":"The Azure API GET for the VM (or VMSS VM) described by the verified token failed while fetching its details. This is an infrastructure-level lookup failure after successful attestation, e.g. the VM was deleted between attestation and lookup, an authorization problem, or a transient Azure API error.","triggerScenarios":"Thrown at upup/pkg/fi/cloudup/azure/verifier.go:167 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check whether the VM still exists in the Azure portal or via az vm show","Verify kops-controller's credentials and RBAC scope for the resource group","Retry the request; transient ARM API errors are common"],"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"}