{"record":{"id":"428a8e6858a81064","repo":"kubernetes/kops","slug":"error-updating-the-tags-on-volume-q-v","errorCode":null,"errorMessage":"error updating the tags on volume %q: %v","messagePattern":"error updating the tags on volume %q: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"upup/pkg/fi/cloudup/openstacktasks/volume.go","lineNumber":155,"sourceCode":"\t\t\tVolumeType:       fi.ValueOf(e.VolumeType),\n\t\t}\n\n\t\tv, err := t.Cloud.CreateVolume(opt)\n\t\tif err != nil {\n\t\t\treturn fmt.Errorf(\"error creating PersistentVolume: %v\", err)\n\t\t}\n\n\t\te.ID = new(v.ID)\n\t\te.AvailabilityZone = new(v.AvailabilityZone)\n\t\treturn nil\n\t}\n\n\tif changes != nil && changes.Tags != nil {\n\t\tklog.V(2).Infof(\"Update the tags on volume %q: %v, the differences are %v\", fi.ValueOf(e.ID), e.Tags, changes.Tags)\n\n\t\terr := t.Cloud.SetVolumeTags(fi.ValueOf(e.ID), e.Tags)\n\t\tif err != nil {\n\t\t\treturn fmt.Errorf(\"error updating the tags on volume %q: %v\", fi.ValueOf(e.ID), err)\n\t\t}\n\t}\n\n\tklog.V(2).Infof(\"Openstack task Volume::RenderOpenstack did nothing\")\n\treturn nil\n}\n","sourceCodeStart":137,"sourceCodeEnd":162,"githubUrl":"https://github.com/kubernetes/kops/blob/4c8573c808a73d578c5eadc86d410646ea0b0d73/upup/pkg/fi/cloudup/openstacktasks/volume.go#L137-L162","documentation":"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.","triggerScenarios":"Thrown at upup/pkg/fi/cloudup/openstacktasks/volume.go:155 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Inspect the wrapped error","Verify the volume is in a state allowing metadata updates","Retry or set metadata manually to reconcile"],"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"}