{"record":{"id":"f98f475cfbac6865","repo":"kubernetes/kops","slug":"getting-info-for-s-network-interface-w","errorCode":null,"errorMessage":"getting info for %s network interface: %w","messagePattern":"getting info for (.+?) network interface: %w","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"upup/pkg/fi/cloudup/azure/verifier.go","lineNumber":208,"sourceCode":"\t\tdesc := fmt.Sprintf(\"VMSS %q VM #%s\", vmssName, vmssIndex)\n\t\tklog.V(2).Infof(\"Azure verifier for VM %q looking up Azure API object\", vmLogID)\n\n\t\tvm, err := a.client.vmssVMsClient.Get(ctx, a.client.resourceGroup, vmssName, vmssIndex, 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 VMSS VM's network interface.\n\t\tni, err := a.client.nisClient.GetVirtualMachineScaleSetNetworkInterface(ctx, a.client.resourceGroup, vmssName, vmssIndex, vmssName, nil)\n\t\tif err != nil {\n\t\t\treturn nil, fmt.Errorf(\"getting info for %s network interface: %w\", desc, 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}\n\n\tdefault:\n\t\treturn nil, fmt.Errorf(\"unsupported resource type %q\", resourceType)\n\t}\n\n\t// Validate that we found at least one address and challenge endpoint.\n\tif len(addrs) == 0 {\n\t\treturn nil, fmt.Errorf(\"determining certificate alternate names for node %q\", nodeName)\n\t}\n\tif len(challengeEndpoints) == 0 {\n\t\treturn nil, fmt.Errorf(\"determining challenge endpoint for node %q\", nodeName)\n\t}\n","sourceCodeStart":190,"sourceCodeEnd":226,"githubUrl":"https://github.com/kubernetes/kops/blob/4c8573c808a73d578c5eadc86d410646ea0b0d73/upup/pkg/fi/cloudup/azure/verifier.go#L190-L226","documentation":"Wraps a failure of the GetVirtualMachineScaleSetNetworkInterface call for a VMSS-instance (vmssName/vmssIndex) token verification path. Fires when Azure returns an error for the NIC lookup, e.g. the instance ID is stale, the NIC was detached, or the API call failed. %s is the 'VMSS %q VM #%s' description.","triggerScenarios":"Thrown at upup/pkg/fi/cloudup/azure/verifier.go:208 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify the VMSS instance ID in the token matches a live instance","Confirm the verifier's credentials can read network interfaces in that resource group","Look at the wrapped SDK error for the ARM failure reason","Re-run nodeup/kops-controller bootstrap after the instance is fully provisioned"],"exampleFix":null,"handlingStrategy":"try-catch","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"}