openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #17246
Re: [folsom] Swift-backed glance fails x-glance-api-copy-from
On Fri, 05 Oct 2012 13:27:17 +0200
Koert van der Veer <koert@xxxxxxxxxxxx> wrote:
> ERROR glance.api.v1.images [-] Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-ackages/glance/api/v1/images.py", line
> 437, in _upload
> image_meta['size'])
> File "/usr/lib/python2.7/dist-packages/glance/store/swift.py", line
> 464, in add
> content_length=image_size)
> File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 1079, in put_object
> headers=headers)
> File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 981, in _retry
> rv = func(self.url, self.token, *args, **kwargs)
> File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 828, in put_object
> conn.request('PUT', path, contents, headers)
> File "/usr/lib/python2.7/httplib.py", line 958, in request
> self._send_request(method, url, body, headers)
> File "/usr/lib/python2.7/httplib.py", line 992, in _send_request
> self.endheaders(body)
> File "/usr/lib/python2.7/httplib.py", line 954, in endheaders
> self._send_output(message_body)
> File "/usr/lib/python2.7/httplib.py", line 818, in _send_output
> self.send(message_body)
> File "/usr/lib/python2.7/httplib.py", line 790, in send
> self.sock.sendall(data)
> File "/usr/lib/python2.7/dist-packages/eventlet/greenio.py", line 283,
> in sendall
> tail = self.send(data, flags)
> File "/usr/lib/python2.7/dist-packages/eventlet/greenio.py", line 265,
> in send
> len_data = len(data)
> TypeError: object of type 'CooperativeReader' has no len()
Log that traceback using Launchpad bug tracking. Even if Swift
provoked it, Glance should not be tracebacking.
-- Pete
Follow ups
References