Extract the volume ID from Glance multistore URLs.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
In Progress
|
Undecided
|
Unassigned |
Bug Description
If Glance's Cinder client is used as part of a multistore Glance installation, then Glance will store the URLs for the location of the Cinder volumes not as `cinder://uuid`, but as `cinder:
This means thackt when Cinder tries to parse this URL to extract the volume ID when creating a volume from a Cinder-backed Glance image, it will take more than just the volume's UUID - it will also grab the "backend_group/" portion, leading to a failure to look up the volume immediately afterwards; see https:/
The fix is to only use the last /-terminated portion of the URL as the volume UUID. I will submit a Cinder change for review immediately.
Thanks for your time and consideration, and keep up the great work!
Changed in cinder: | |
status: | New → In Progress |
tags: | added: glance multistore |
Right, so I messed up the Closes/Closes-Bug commit message lines, but see https:/ /review. opendev. org/c/openstack /cinder/ +/803862