Glance returns HTTPInternalServerError 500 in case of image server is down
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Low
|
Ankit Agrawal | ||
glance_store |
Fix Released
|
Low
|
Ankit Agrawal |
Bug Description
HTTPInternalSer
When user tries to download the image from the remote location (image server) which is down, Connection refused ECONNREFUSED error is raised on the glance server.
Ideally it should return 503 HTTPServiceUnav
Steps to reproduce:
1. Create a file 'test_image.py' at any location. example: /home/openstack/
2. Run Simple HTTP server using "python -m SimpleHTTPServer 8050" from location mentioned in step 1.
3. Create an image using location parameter.
example: glance image-create --name myimage --disk-format=raw --container-
4. Stop Simple HTTP server.
5. Download image using glance image-download <image_id> created in step 3.
Please refer http://
Changed in glance: | |
assignee: | nobody → Ankit Agrawal (ankitagrawal) |
Changed in glance: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in glance-store: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in glance: | |
assignee: | Ankit Agrawal (ankitagrawal) → tcs_openstack_group (tcs-openstack-group) |
assignee: | tcs_openstack_group (tcs-openstack-group) → Abhishek Talwar (abhishek-talwar) |
status: | Triaged → In Progress |
Changed in glance-store: | |
assignee: | nobody → Ankit Agrawal (ankitagrawal) |
Changed in glance-store: | |
status: | Triaged → In Progress |
Changed in glance: | |
assignee: | Abhishek Talwar (abhishek-talwar) → nobody |
Changed in glance: | |
assignee: | nobody → Ankit Agrawal (ankitagrawal) |
Changed in glance-store: | |
status: | In Progress → Fix Released |
Changed in glance: | |
milestone: | none → kilo-3 |
Changed in glance: | |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | kilo-3 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/138306
Review: https:/