openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #04740
Re: glance-api errors and stop
This may indeed be a Django-related problem... I tried investigating
it a bit (known bug), but that investigation didn't get that far :(
https://bugs.launchpad.net/glance/+bug/862664
Please let's continue this discussion on the bug report above.
Thanks!
-jay
2011/10/12 mao weijie <mwjpiero@xxxxxxxxx>:
> Does anyone meet this problem?
>
> I think it is Django(python) problem.
>
> more log:
>
> 2011-10-12 06:22:01 DEBUG [eventlet.wsgi.server] 10.200.200.2 - - [12/Oct/2011 06:22:01] "GET /v1/images/4 HTTP/1.1" 200 66241 0.109968
> 2011-10-12 06:22:03 DEBUG [glance.api.middleware.version_negotiation] Processing request: GET /v1/images/4 Accept:
> 2011-10-12 06:22:03 DEBUG [glance.api.middleware.version_negotiation] Matched versioned URI. Version: 1.0
> 2011-10-12 06:22:03 DEBUG [root] HTTP PERF: 0.02219 seconds to GET 127.0.0.1:35357 /v2.0/tokens/711d9aca-664c-4fff-b1c8-1400f951b875)
> 2011-10-12 06:22:03 DEBUG [root] HTTP PERF: 0.02121 seconds to GET 127.0.0.1:35357 /v2.0/tokens/711d9aca-664c-4fff-b1c8-1400f951b875)
> 2011-10-12 06:22:03 DEBUG [routes.middleware] Matched GET /images/4
> 2011-10-12 06:22:03 DEBUG [routes.middleware] Route path: '/images/:(id)', defaults: {'action': u'show', 'controller': <glance.common.wsgi.Resource object at 0x23bf290>}
> 2011-10-12 06:22:03 DEBUG [routes.middleware] Match dict: {'action': u'show', 'controller': <glance.common.wsgi.Resource object at 0x23bf290>, 'id': u'4'}
> 2011-10-12 06:22:03 DEBUG [glance.api.v1.images] image cache DISABLED, retrieving image '4' from store
> 2011-10-12 06:22:03 DEBUG [glance.store.filesystem] Found image at /data/stack/glance/images/4. Returning in ChunkedFile.
> 2011-10-12 06:22:03 DEBUG [eventlet.wsgi.server] Traceback (most recent call last):
> File "/usr/lib/pymodules/python2.7/eventlet/wsgi.py", line 351, in handle_one_response
> write(''.join(towrite))
> File "/usr/lib/pymodules/python2.7/eventlet/wsgi.py", line 301, in write
> _writelines(towrite)
> File "/usr/lib/python2.7/socket.py", line 334, in writelines
> self.flush()
> File "/usr/lib/python2.7/socket.py", line 303, in flush
> self._sock.sendall(view[write_offset:write_offset+buffer_size])
> File "/usr/lib/pymodules/python2.7/eventlet/greenio.py", line 283, in sendall
> tail = self.send(data, flags)
> File "/usr/lib/pymodules/python2.7/eventlet/greenio.py", line 269, in send
> total_sent += fd.send(data[total_sent:], flags)
> error: [Errno 104] Connection reset by peer
>
>
>
> 非淡泊無以明志,非寧靜無以致遠
>
> On Oct 12, 2011, at 12:22 PM, DeadSun wrote:
>
>> I logon dashboard and when I click to images/instances web, error occurs on terminal.
>>
>> Traceback (most recent call last):
>> File "/usr/lib/pymodules/python2.7/eventlet/greenpool.py", line 80, in _spawn_n_impl
>> func(*args, **kwargs)
>> File "/usr/lib/pymodules/python2.7/eventlet/wsgi.py", line 508, in process_request
>> proto = self.protocol(socket, address, self)
>> File "/usr/lib/python2.7/SocketServer.py", line 641, in __init__
>> self.finish()
>> File "/usr/lib/pymodules/python2.7/eventlet/wsgi.py", line 453, in finish
>> BaseHTTPServer.BaseHTTPRequestHandler.finish(self)
>> File "/usr/lib/python2.7/SocketServer.py", line 694, in finish
>> self.wfile.flush()
>> File "/usr/lib/python2.7/socket.py", line 303, in flush
>> self._sock.sendall(view[write_offset:write_offset+buffer_size])
>> File "/usr/lib/pymodules/python2.7/eventlet/greenio.py", line 283, in sendall
>> tail = self.send(data, flags)
>> File "/usr/lib/pymodules/python2.7/eventlet/greenio.py", line 269, in send
>> total_sent += fd.send(data[total_sent:], flags)
>> error: [Errno 32] Broken pipe
>>
>> And glance-api always stops .
>>
>> --
>> 非淡薄无以明志,非宁静无以致远
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
>
>
References