Image download with multi tenant true fails
Bug #1511025 reported by
Niall Bunting
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Invalid
|
Undecided
|
Unassigned | ||
glance_store |
Fix Released
|
Medium
|
Kairat Kushaev |
Bug Description
Overview:
Trying to download an image while using multi tenant fails.
How to reproduce:
In the glance-api.conf set swift_store_
Then upload an image
glance --os-image-
Download image
glance image-download 965afb71-
Output:
'NoneType' object has no attribute 'close'
The server: http://
Expected:
Image to be downloaded.
Changed in glance: | |
assignee: | nobody → dshakhray (dshakhray) |
affects: | glance → swift |
Changed in swift: | |
status: | New → Confirmed |
Changed in glance-store: | |
status: | New → In Progress |
Changed in glance-store: | |
importance: | Undecided → Medium |
To post a comment you must log in.
Bug occurs when you create image with multi_tenant.
When request "glance image-create --container-format bare --disk-format raw --file FILE --progress", swift creates container, glance uploads images http:// paste.openstack .org/show/ 477803/, paste.openstack .org/show/ 477801/, paste.openstack .org/show/ 477804/.
swift returns an error http://
glance it does not catch and raises 500 http://
I think that the error in the Swift.
I reported another bug on 500 error in glance. https:/ /bugs.launchpad .net/glance/ +bug/1512416