kubernetes/kops · error
error writing addons file %s: %v
Error message
error writing addons file %s: %v
What it means
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.
Source
Thrown at pkg/client/simple/vfsclientset/addons.go:93
return errors.ToAggregate()
}
}
b, err := addons.ToYAML()
if err != nil {
return err
}
configPath := c.basePath.Join("default")
acl, err := acls.GetACL(ctx, configPath, c.cluster)
if err != nil {
return err
}
rs := bytes.NewReader(b)
if err := configPath.WriteFile(ctx, rs, acl); err != nil {
return fmt.Errorf("error writing addons file %s: %v", configPath, err)
}
return nil
}
func (c *vfsAddonsClient) List(ctx context.Context) (kubemanifest.ObjectList, error) {
configPath := c.basePath.Join("default")
b, err := configPath.ReadFile(ctx)
if err != nil {
if os.IsNotExist(err) {
return nil, nil
}
return nil, fmt.Errorf("error reading addons file %s: %v", configPath, err)
}
objects, err := kubemanifest.LoadObjectsFrom(b)
if err != nil {View on GitHub (pinned to 4c8573c808)
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
Defensive patterns
Strategy: retry
When it happens
Trigger: Thrown at pkg/client/simple/vfsclientset/addons.go:93 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/9c3203e8fe5c18d8.
Report an issue: GitHub.