Horizon Glance calling get_image() instead of get_image_meta()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Medium
|
Jay Pipes |
Bug Description
From glance-api.log on the Alpha free cloud server, using filesystem store driver, we're seeing lots of these:
2011-09-28 17:46:12 DEBUG [glance.
2011-09-28 17:46:12 DEBUG [eventlet.
File "/usr/lib/
write(
File "/usr/lib/
_writelines
File "/usr/lib/
self.flush()
File "/usr/lib/
self.
File "/usr/lib/
tail = self.send(data, flags)
File "/usr/lib/
total_sent += fd.send(
error: [Errno 104] Connection reset by peer
I think the connection isn't being properly closed in the ChunkedFileIter
It doesn't seem to be affecting the functionality of the GET /images/<ID> but it's annoying to see it all over the log files...
Changed in glance: | |
assignee: | nobody → Jay Pipes (jaypipes) |
status: | Confirmed → In Progress |
summary: |
- Repeated connection reset errors when returning ChunkedFile + Repeated connection reset errors when calling from Horizon |
summary: |
- Repeated connection reset errors when calling from Horizon + Horizon Glance calling get_image() instead of get_image_meta() |
Changed in horizon: | |
status: | Triaged → Fix Committed |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | essex-2 → 2012.1 |
After further investigation, I actually don't think this is due to the ChunkedFile iterator, but rather to the WSGI server code not catching connection reset errors and ignoring them...