kubernetes/kops · error
error updating the tags on volume %q: %v
Error message
error updating the tags on volume %q: %v
What it means
Updating the metadata tags on an existing Cinder volume failed via SetVolumeTags. The wrapped error identifies the API rejection; the volume exists but its tags no longer match the spec.
Source
Thrown at upup/pkg/fi/cloudup/openstacktasks/volume.go:155
VolumeType: fi.ValueOf(e.VolumeType),
}
v, err := t.Cloud.CreateVolume(opt)
if err != nil {
return fmt.Errorf("error creating PersistentVolume: %v", err)
}
e.ID = new(v.ID)
e.AvailabilityZone = new(v.AvailabilityZone)
return nil
}
if changes != nil && changes.Tags != nil {
klog.V(2).Infof("Update the tags on volume %q: %v, the differences are %v", fi.ValueOf(e.ID), e.Tags, changes.Tags)
err := t.Cloud.SetVolumeTags(fi.ValueOf(e.ID), e.Tags)
if err != nil {
return fmt.Errorf("error updating the tags on volume %q: %v", fi.ValueOf(e.ID), err)
}
}
klog.V(2).Infof("Openstack task Volume::RenderOpenstack did nothing")
return nil
}
View on GitHub (pinned to 4c8573c808)
Solutions
- Inspect the wrapped error
- Verify the volume is in a state allowing metadata updates
- Retry or set metadata manually to reconcile
Defensive patterns
Strategy: retry
When it happens
Trigger: Thrown at upup/pkg/fi/cloudup/openstacktasks/volume.go:155 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/428a8e6858a81064.
Report an issue: GitHub.