Glance Cinder backed images & multiple regions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glance_store |
Fix Released
|
High
|
Tomoki Sekiyama |
Bug Description
When using the cinder backed images as per
https:/
We have multiple locations, glance configured as
/etc/glance/
[glance_store]
stores = swift, cinder
default_store = swift
-snip-
cinder_
cinder_
cinder_
cinder_
cinder_
cinder_catalog_info = volume:
cinder clones the volume correctly, then talks to glance to add the location of cinder://
glance then talks to cinder to validate the volume id, however this step uses the wrong cinder endpoint and checks the other region.
From /usr/lib/
It appears the region name is only used when not passing in the project/
Passing the os_region_name to the cinderclient.Client call on line 351 appears to fix this.
ie
c = cinderclient.
Changed in glance: | |
importance: | Undecided → High |
Changed in glance-store: | |
importance: | Undecided → High |
Changed in glance: | |
status: | New → Triaged |
Changed in glance-store: | |
status: | New → Triaged |
Need confirmation on this one. If it's confirmed, we need to get it into the next release, which is 18 July, so would need to get this fix in a bit ahead of that -- namely, as soon as possible.