{"record":{"id":"9496ff2a107716c8","repo":"kubernetes/kops","slug":"loadbalancer-support-not-available-in-this-deploym","errorCode":null,"errorMessage":"loadbalancer support not available in this deployment","messagePattern":"loadbalancer support not available in this deployment","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"upup/pkg/fi/cloudup/openstack/loadbalancer.go","lineNumber":50,"sourceCode":"\t\"k8s.io/klog/v2\"\n\t\"k8s.io/kops/util/pkg/vfs\"\n)\n\n// memberBackoff is the backoff strategy for openstack updating members in loadbalancer pool\nvar memberBackoff = wait.Backoff{\n\tDuration: time.Second,\n\tFactor:   2,\n\tJitter:   0.1,\n\tSteps:    10,\n}\n\nfunc (c *openstackCloud) CreatePoolMonitor(opts monitors.CreateOpts) (*monitors.Monitor, error) {\n\treturn createPoolMonitor(c, opts)\n}\n\nfunc createPoolMonitor(c OpenstackCloud, opts monitors.CreateOpts) (poolMonitor *monitors.Monitor, err error) {\n\tif c.LoadBalancerClient() == nil {\n\t\treturn nil, fmt.Errorf(\"loadbalancer support not available in this deployment\")\n\t}\n\n\tdone, err := vfs.RetryWithBackoff(writeBackoff, func() (bool, error) {\n\t\tpoolMonitor, err = monitors.Create(context.TODO(), c.LoadBalancerClient(), opts).Extract()\n\t\tif err != nil {\n\t\t\treturn false, fmt.Errorf(\"failed to create pool monitor: %v\", err)\n\t\t}\n\t\treturn true, nil\n\t})\n\tif !done {\n\t\tif err == nil {\n\t\t\terr = wait.ErrWaitTimeout\n\t\t}\n\t\treturn poolMonitor, err\n\t}\n\treturn poolMonitor, nil\n}\n","sourceCodeStart":32,"sourceCodeEnd":68,"githubUrl":"https://github.com/kubernetes/kops/blob/4c8573c808a73d578c5eadc86d410646ea0b0d73/upup/pkg/fi/cloudup/openstack/loadbalancer.go#L32-L68","documentation":"The Octavia (load-balancer) client is nil, so load-balancer v2 support is not enabled in this OpenStack deployment and the monitor cannot be created. The deployment is typically missing the 'load-balancer' service in the catalog or lacks the required extension.","triggerScenarios":"Thrown at upup/pkg/fi/cloudup/openstack/loadbalancer.go:50 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Enable the Octavia load-balancer service in the OpenStack deployment","Verify the service catalog exposes a load-balancer v2 endpoint","Ensure kops cloud config includes the loadbalancer service"],"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"}