{"record":{"id":"c223b85834a153f0","repo":"kubernetes/kops","slug":"error-listing-s-v-c223b8","errorCode":null,"errorMessage":"error listing %s: %v","messagePattern":"error listing (.+?): (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"util/pkg/vfs/swiftfs.go","lineNumber":566,"sourceCode":"\t\t\tif err1 != nil {\n\t\t\t\treturn false, err1\n\t\t\t}\n\t\t\tfor _, o := range objects {\n\t\t\t\tchild := &SwiftPath{\n\t\t\t\t\tvfsContext: p.vfsContext,\n\t\t\t\t\tbucket:     p.bucket,\n\t\t\t\t\tkey:        o.Name,\n\t\t\t\t\thash:       o.Hash,\n\t\t\t\t}\n\t\t\t\tpaths = append(paths, child)\n\t\t\t}\n\n\t\t\treturn true, nil\n\t\t}); err != nil {\n\t\t\tif isSwiftNotFound(err) {\n\t\t\t\treturn true, os.ErrNotExist\n\t\t\t}\n\t\t\treturn false, fmt.Errorf(\"error listing %s: %v\", p, err)\n\t\t}\n\t\tklog.V(8).Infof(\"Listed files in %v: %v\", p, paths)\n\t\tret = paths\n\t\treturn true, nil\n\t})\n\tif err != nil {\n\t\treturn nil, err\n\t} else if done {\n\t\treturn ret, nil\n\t} else {\n\t\treturn nil, wait.ErrWaitTimeout\n\t}\n}\n\n// ReadDir implements Path::ReadDir.\nfunc (p *SwiftPath) ReadDir() ([]Path, error) {\n\tprefix := p.key\n\tif prefix != \"\" && !strings.HasSuffix(prefix, \"/\") {","sourceCodeStart":548,"sourceCodeEnd":584,"githubUrl":"https://github.com/kubernetes/kops/blob/4c8573c808a73d578c5eadc86d410646ea0b0d73/util/pkg/vfs/swiftfs.go#L548-L584","documentation":"Returned in SwiftPath's directory-listing retry path when a Swift container listing call fails other than with not-found (404 becomes os.ErrNotExist). The list operation — fetching object names under a prefix — hit auth, permission, or transient proxy errors, so the child path list cannot be assembled and the backoff loop re-attempts it.","triggerScenarios":"Thrown at util/pkg/vfs/swiftfs.go:566 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check container list permissions for the configured tenant","Retry transient proxy failures; the backoff loop handles most throttling errors","Confirm the Swift endpoint in the catalog is correct and reachable"],"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-12T12:17:11.808Z"}