{"record":{"id":"85772fc4446fb370","repo":"kubernetes/kops","slug":"waiting-for-load-balancer-create-update-w","errorCode":null,"errorMessage":"waiting for load balancer create/update: %w","messagePattern":"waiting for load balancer create/update: %w","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"upup/pkg/fi/cloudup/azure/loadbalancer.go","lineNumber":51,"sourceCode":"\tList(ctx context.Context, resourceGroupName string) ([]*network.LoadBalancer, error)\n\tGet(ctx context.Context, resourceGroupName string, loadBalancerName string) (*network.LoadBalancer, error)\n\tDelete(ctx context.Context, resourceGroupName, loadBalancerName string) error\n}\n\ntype loadBalancersClientImpl struct {\n\tc *network.LoadBalancersClient\n}\n\nvar _ LoadBalancersClient = (*loadBalancersClientImpl)(nil)\n\nfunc (c *loadBalancersClientImpl) CreateOrUpdate(ctx context.Context, resourceGroupName, loadBalancerName string, parameters network.LoadBalancer) (*network.LoadBalancer, error) {\n\tfuture, err := c.c.BeginCreateOrUpdate(ctx, resourceGroupName, loadBalancerName, parameters, nil)\n\tif err != nil {\n\t\treturn nil, fmt.Errorf(\"creating/updating load balancer: %w\", err)\n\t}\n\tresp, err := future.PollUntilDone(ctx, nil)\n\tif err != nil {\n\t\treturn nil, fmt.Errorf(\"waiting for load balancer create/update: %w\", err)\n\t}\n\treturn &resp.LoadBalancer, nil\n}\n\nfunc (c *loadBalancersClientImpl) List(ctx context.Context, resourceGroupName string) ([]*network.LoadBalancer, error) {\n\tif resourceGroupName == \"\" {\n\t\treturn nil, nil\n\t}\n\n\tvar l []*network.LoadBalancer\n\tpager := c.c.NewListPager(resourceGroupName, nil)\n\tfor pager.More() {\n\t\tresp, err := pager.NextPage(ctx)\n\t\tif err != nil {\n\t\t\tvar respErr *azcore.ResponseError\n\t\t\tif errors.As(err, &respErr) && respErr.ErrorCode == \"ResourceGroupNotFound\" {\n\t\t\t\treturn nil, nil\n\t\t\t}","sourceCodeStart":33,"sourceCodeEnd":69,"githubUrl":"https://github.com/kubernetes/kops/blob/4c8573c808a73d578c5eadc86d410646ea0b0d73/upup/pkg/fi/cloudup/azure/loadbalancer.go#L33-L69","documentation":"PollUntilDone failed while waiting for the load balancer CreateOrUpdate LRO; ARM accepted the request but provisioning ended in failure (often subnet/IP reference or lock conflicts).","triggerScenarios":"Thrown at upup/pkg/fi/cloudup/azure/loadbalancer.go:51 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Inspect the wrapped error for the provisioning failure reason","Resolve resource conflicts (e.g. IP already in use) and retry the update"],"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-12T07:17:12.445Z"}