kubernetes/kops · error
Failed to extract loadbalancers : %v
Error message
Failed to extract loadbalancers : %v
What it means
The LB list call succeeded but extracting load-balancer objects from the returned pages failed, indicating a malformed or SDK-incompatible response body.
Source
Thrown at upup/pkg/fi/cloudup/openstacktasks/lb.go:162
}
return actual, nil
}
func (s *LB) Find(context *fi.CloudupContext) (*LB, error) {
if s.Name == nil {
return nil, nil
}
cloud := context.T.Cloud.(openstack.OpenstackCloud)
lbPage, err := loadbalancers.List(cloud.LoadBalancerClient(), loadbalancers.ListOpts{
Name: fi.ValueOf(s.Name),
}).AllPages(context.Context())
if err != nil {
return nil, fmt.Errorf("Failed to retrieve loadbalancers for name %s: %v", fi.ValueOf(s.Name), err)
}
lbs, err := loadbalancers.ExtractLoadBalancers(lbPage)
if err != nil {
return nil, fmt.Errorf("Failed to extract loadbalancers : %v", err)
}
if len(lbs) == 0 {
return nil, nil
}
if len(lbs) > 1 {
return nil, fmt.Errorf("Multiple load balancers for name %s", fi.ValueOf(s.Name))
}
return NewLBTaskFromCloud(cloud, s.Lifecycle, &lbs[0], s)
}
func (s *LB) Run(context *fi.CloudupContext) error {
return fi.CloudupDefaultDeltaRunMethod(s, context)
}
func (_ *LB) CheckChanges(a, e, changes *LB) error {
if a == nil {
if e.Name == nil {View on GitHub (pinned to 4c8573c808)
Solutions
- Check OpenStack/gophercloud compatibility
- Retry the listing
- Report persistent decode failures with your Octavia version
Defensive patterns
Strategy: retry
When it happens
Trigger: Thrown at upup/pkg/fi/cloudup/openstacktasks/lb.go:162 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of kubernetes/kops@4c8573c808 (2026-09-05).
Data as JSON: /api/errors/e971a1fb95a8044d.
Report an issue: GitHub.