{"record":{"id":"9c3203e8fe5c18d8","repo":"kubernetes/kops","slug":"error-writing-addons-file-s-v","errorCode":null,"errorMessage":"error writing addons file %s: %v","messagePattern":"error writing addons file (.+?): (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/client/simple/vfsclientset/addons.go","lineNumber":93,"sourceCode":"\t\t\treturn errors.ToAggregate()\n\t\t}\n\t}\n\n\tb, err := addons.ToYAML()\n\tif err != nil {\n\t\treturn err\n\t}\n\n\tconfigPath := c.basePath.Join(\"default\")\n\n\tacl, err := acls.GetACL(ctx, configPath, c.cluster)\n\tif err != nil {\n\t\treturn err\n\t}\n\n\trs := bytes.NewReader(b)\n\tif err := configPath.WriteFile(ctx, rs, acl); err != nil {\n\t\treturn fmt.Errorf(\"error writing addons file %s: %v\", configPath, err)\n\t}\n\n\treturn nil\n}\n\nfunc (c *vfsAddonsClient) List(ctx context.Context) (kubemanifest.ObjectList, error) {\n\tconfigPath := c.basePath.Join(\"default\")\n\n\tb, err := configPath.ReadFile(ctx)\n\tif err != nil {\n\t\tif os.IsNotExist(err) {\n\t\t\treturn nil, nil\n\t\t}\n\t\treturn nil, fmt.Errorf(\"error reading addons file %s: %v\", configPath, err)\n\t}\n\n\tobjects, err := kubemanifest.LoadObjectsFrom(b)\n\tif err != nil {","sourceCodeStart":75,"sourceCodeEnd":111,"githubUrl":"https://github.com/kubernetes/kops/blob/4c8573c808a73d578c5eadc86d410646ea0b0d73/pkg/client/simple/vfsclientset/addons.go#L75-L111","documentation":"Writing the serialized addons manifest to the 'default' path under the cluster's config base in the state store failed at the VFS layer; typically an S3/GCS permission, bucket, or network error during Replace.","triggerScenarios":"Thrown at pkg/client/simple/vfsclientset/addons.go:93 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify write permissions and ACL settings on the state store bucket","Check network access to the state store endpoint","Retry the operation once access is confirmed"],"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"}