{"record":{"id":"f27eaf8714f9f3e2","repo":"kubernetes/kops","slug":"error-creating-volume-v-v","errorCode":null,"errorMessage":"error creating volume %v: %v","messagePattern":"error creating volume (.+?): (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"upup/pkg/fi/cloudup/openstack/volume.go","lineNumber":69,"sourceCode":"\t\treturn volumes, err\n\t} else if done {\n\t\treturn volumes, nil\n\t} else {\n\t\treturn volumes, wait.ErrWaitTimeout\n\t}\n}\n\nfunc (c *openstackCloud) CreateVolume(opt cinder.CreateOptsBuilder) (*cinder.Volume, error) {\n\treturn createVolume(c, opt)\n}\n\nfunc createVolume(c OpenstackCloud, opt cinder.CreateOptsBuilder) (*cinder.Volume, error) {\n\tvar volume *cinder.Volume\n\n\tdone, err := vfs.RetryWithBackoff(writeBackoff, func() (bool, error) {\n\t\tv, err := cinder.Create(context.TODO(), c.BlockStorageClient(), opt, nil).Extract()\n\t\tif err != nil {\n\t\t\treturn false, fmt.Errorf(\"error creating volume %v: %v\", opt, err)\n\t\t}\n\t\tvolume = v\n\t\treturn true, nil\n\t})\n\tif err != nil {\n\t\treturn volume, err\n\t} else if done {\n\t\treturn volume, nil\n\t} else {\n\t\treturn volume, wait.ErrWaitTimeout\n\t}\n}\n\nfunc (c *openstackCloud) AttachVolume(serverID string, opts volumeattach.CreateOpts) (attachment *volumeattach.VolumeAttachment, err error) {\n\treturn attachVolume(c, serverID, opts)\n}\n\nfunc attachVolume(c OpenstackCloud, serverID string, opts volumeattach.CreateOpts) (attachment *volumeattach.VolumeAttachment, err error) {","sourceCodeStart":51,"sourceCodeEnd":87,"githubUrl":"https://github.com/kubernetes/kops/blob/4c8573c808a73d578c5eadc86d410646ea0b0d73/upup/pkg/fi/cloudup/openstack/volume.go#L51-L87","documentation":"The Cinder volume create call failed after retry-with-backoff. The wrapped error carries the API reason; common causes are quota exhaustion, invalid size/type, or unavailable availability zone.","triggerScenarios":"Thrown at upup/pkg/fi/cloudup/openstack/volume.go:69 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Inspect the wrapped error for the rejected option","Check volume quotas and the volume type/availability zone","Fix the configuration and retry"],"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"}