Glance logs 500 internal error when client disconnects during upload
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Undecided
|
Paul Bourke |
Bug Description
If a user ^C 's the client during a chunked image upload, eventlet.
This results in the following type of tracebacks in the api log:
2013-07-02 12:37:16.057 10222 ERROR glance.
4910be49bb594a
2013-07-02 12:37:16.057 10222 TRACE glance.
2013-07-02 12:37:16.057 10222 TRACE glance.
v1/upload_
2013-07-02 12:37:16.057 10222 TRACE glance.
2013-07-02 12:37:16.057 10222 TRACE glance.
e/filesystem.py", line 236, in add
2013-07-02 12:37:16.057 10222 TRACE glance.
2013-07-02 12:37:16.057 10222 TRACE glance.
on/utils.py", line 74, in chunkiter
2013-07-02 12:37:16.057 10222 TRACE glance.
2013-07-02 12:37:16.057 10222 TRACE glance.
on/utils.py", line 106, in readfn
2013-07-02 12:37:16.057 10222 TRACE glance.
2013-07-02 12:37:16.057 10222 TRACE glance.
ges/eventlet/
2013-07-02 12:37:16.057 10222 TRACE glance.
ile, length)
2013-07-02 12:37:16.057 10222 TRACE glance.
ges/eventlet/
2013-07-02 12:37:16.057 10222 TRACE glance.
dline().split(";", 1)[0], 16)
2013-07-02 12:37:16.057 10222 TRACE glance.
with base 16: ''
These errors should probably be caught and handled more appropriately.
Changed in glance: | |
milestone: | none → havana-3 |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | havana-3 → 2013.2 |
Fix proposed to branch: master /review. openstack. org/35286
Review: https:/