Ask Your Question
0

DisconnectionError: The client disconnected while sending the POST/PUT body

asked 2013-03-08 01:06:48 -0500

s-rain gravatar image

Hello all, glance version is '2012.1+stable~20120608-5462295-0ubuntu2.2'. When I execute image-create to upload huge size image(4~10G) to glance which backend is swift, console shows 'Error communicating with Connection reset by peer'. and the following info is from glance api.log. Please help to clarify. Thanks.

ERROR [glance.api.v1.images] Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/glance/api/v1/images.py", line 393, in _upload image_size) File "/usr/lib/python2.7/dist-packages/glance/store/swift.py", line 387, in add content_length=image_size) File "/usr/lib/python2.7/dist-packages/swift/common/client.py", line 937, in put_object content_type=content_type, headers=headers) File "/usr/lib/python2.7/dist-packages/swift/common/client.py", line 841, in _retry rv = func(self.url, self.token, args, *kwargs) File "/usr/lib/python2.7/dist-packages/swift/common/client.py", line 705, in put_object chunk = contents.read(size) File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1284, in read self._check_disconnect() File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1311, in _check_disconnect + "(%d more bytes were expected)" % self.remaining DisconnectionError: The client disconnected while sending the POST/PUT body (3682598912 more bytes were expected)

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2013-03-11 18:56:31 -0500

zzs gravatar image

By my understanding, it looks like a bug of webob (or more upper), so please report this to glance project.

edit flag offensive delete link more
0

answered 2013-03-08 23:10:42 -0500

zzs gravatar image

It looks like it is a bug of upstream package, please report it as a bug.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-03-08 01:06:48 -0500

Seen: 199 times

Last updated: Mar 11 '13