{"record":{"id":"22a18f83c746b970","repo":"kubernetes/kops","slug":"loadbalancer-failed-to-go-into-active-provisioning","errorCode":null,"errorMessage":"loadbalancer failed to go into ACTIVE provisioning status within allotted time","messagePattern":"loadbalancer failed to go into ACTIVE provisioning status within allotted time","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"upup/pkg/fi/cloudup/openstacktasks/lb.go","lineNumber":87,"sourceCode":"\terr := wait.ExponentialBackoff(backoff, func() (bool, error) {\n\t\tloadbalancer, err := loadbalancers.Get(context.TODO(), client, loadbalancerID).Extract()\n\t\tif err != nil {\n\t\t\treturn false, err\n\t\t}\n\t\tprovisioningStatus = loadbalancer.ProvisioningStatus\n\t\tswitch loadbalancer.ProvisioningStatus {\n\t\tcase activeStatus:\n\t\t\treturn true, nil\n\t\tcase errorStatus:\n\t\t\treturn true, fmt.Errorf(\"loadbalancer has gone into ERROR state\")\n\t\tdefault:\n\t\t\tklog.Infof(\"Waiting for Loadbalancer to be ACTIVE...\")\n\t\t\treturn false, nil\n\t\t}\n\t})\n\n\tif err == wait.ErrWaitTimeout {\n\t\terr = fmt.Errorf(\"loadbalancer failed to go into ACTIVE provisioning status within allotted time\")\n\t}\n\treturn provisioningStatus, err\n}\n\n// GetDependencies returns the dependencies of the Instance task\nfunc (e *LB) GetDependencies(tasks map[string]fi.CloudupTask) []fi.CloudupTask {\n\tvar deps []fi.CloudupTask\n\tfor _, task := range tasks {\n\t\tif _, ok := task.(*Subnet); ok {\n\t\t\tdeps = append(deps, task)\n\t\t}\n\t\tif _, ok := task.(*SecurityGroup); ok {\n\t\t\tdeps = append(deps, task)\n\t\t}\n\t}\n\treturn deps\n}\n","sourceCodeStart":69,"sourceCodeEnd":105,"githubUrl":"https://github.com/kubernetes/kops/blob/4c8573c808a73d578c5eadc86d410646ea0b0d73/upup/pkg/fi/cloudup/openstacktasks/lb.go#L69-L105","documentation":"Polling an Octavia load balancer's provisioning status did not reach ACTIVE within the allotted backoff window (and did not hit ERROR, which fails faster). The LB stayed in a transitional provisioning state, e.g. PENDING_UPDATE, for too long.","triggerScenarios":"Thrown at upup/pkg/fi/cloudup/openstacktasks/lb.go:87 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the load balancer's provisioning_status in Octavia for stuck transitional states","Look at Octavia logs for slow or stalled provisioning","Retry once the load balancer becomes ACTIVE or is recreated"],"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"}