{"record":{"id":"73890cf329f3ce82","repo":"kubernetes/kops","slug":"failed-to-extract-dns-recordsets-pages-s","errorCode":null,"errorMessage":"failed to extract dns recordsets pages: %s","messagePattern":"failed to extract dns recordsets pages: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"upup/pkg/fi/cloudup/openstack/dns.go","lineNumber":95,"sourceCode":"\treturn deleteDNSRecordset(c, zoneID, rrsetID)\n}\n\n// ListDNSRecordsets will list DNS recordsets\nfunc (c *openstackCloud) ListDNSRecordsets(zoneID string, opt recordsets.ListOptsBuilder) ([]recordsets.RecordSet, error) {\n\treturn listDNSRecordsets(c, zoneID, opt)\n}\n\nfunc listDNSRecordsets(c OpenstackCloud, zoneID string, opt recordsets.ListOptsBuilder) ([]recordsets.RecordSet, error) {\n\tvar rrs []recordsets.RecordSet\n\n\tdone, err := vfs.RetryWithBackoff(readBackoff, func() (bool, error) {\n\t\tallPages, err := recordsets.ListByZone(c.DNSClient(), zoneID, opt).AllPages(context.TODO())\n\t\tif err != nil {\n\t\t\treturn false, fmt.Errorf(\"failed to list dns recordsets: %s\", err)\n\t\t}\n\t\tr, err := recordsets.ExtractRecordSets(allPages)\n\t\tif err != nil {\n\t\t\treturn false, fmt.Errorf(\"failed to extract dns recordsets pages: %s\", err)\n\t\t}\n\t\trrs = r\n\t\treturn true, nil\n\t})\n\tif err != nil {\n\t\treturn rrs, err\n\t} else if done {\n\t\treturn rrs, nil\n\t} else {\n\t\treturn rrs, wait.ErrWaitTimeout\n\t}\n}\n","sourceCodeStart":77,"sourceCodeEnd":108,"githubUrl":"https://github.com/kubernetes/kops/blob/4c8573c808a73d578c5eadc86d410646ea0b0d73/upup/pkg/fi/cloudup/openstack/dns.go#L77-L108","documentation":"listDNSRecordsets wraps the gophercloud ExtractRecordsets error after a successful page fetch, i.e. the Designate response pages could not be parsed into RecordSet objects. It fires on malformed API responses and is retried with backoff.","triggerScenarios":"Thrown at upup/pkg/fi/cloudup/openstack/dns.go:95 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Retry; the operation already runs inside RetryWithBackoff","Check gophercloud/Designate version compatibility","Inspect the wrapped error for response-format anomalies"],"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"}