glance后端用ceph,上传小的镜像正常使用,但是上传大的镜像报错。已修改glance镜像大小限制为1T
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/glanceclient/shell.py", line 699, in main
OpenStackImagesShell().main(argv)
File "/usr/local/lib/python2.7/dist-packages/glanceclient/shell.py", line 603, in main
args.func(client, args)
File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/utils.py", line 98, in func_wrapper
return func(gc, args)
File "/usr/local/lib/python2.7/dist-packages/glanceclient/v2/shell.py", line 86, in do_image_create
do_image_upload(gc, args)
File "/usr/local/lib/python2.7/dist-packages/glanceclient/v2/shell.py", line 385, in do_image_upload
gc.images.upload(args.id, image_data, args.size)
File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/utils.py", line 545, in inner
return RequestIdProxy(wrapped(*args, **kwargs))
File "/usr/local/lib/python2.7/dist-packages/glanceclient/v2/images.py", line 232, in upload
resp, body = self.http_client.put(url, headers=hdrs, data=body)
File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 313, in put
return self.request(url, 'PUT', **kwargs)
File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py", line 347, in request
raise exc.CommunicationError(message=message)
CommunicationError: Error finding address for http://192.168.1.223/image/v2/im ... -c206d0e57002/file: Unable to establish connection to http://192.168.1.223/image/v2/im ... -c206d0e57002/file: [Errno 32] Broken pipe
Error finding address for http://192.168.1.223/image/v2/im ... -c206d0e57002/file: Unable to establish connection to http://192.168.1.223/image/v2/im ... -c206d0e57002/file: [Errno 32] Broken pipe
|