分享

glance后端用ceph,上传小的镜像正常使用,但是上传大的镜像报错

lklkxcxc 发表于 2017-10-9 19:05:03 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 2 5727
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

已有(2)人评论

跳转到指定楼层
desehawk 发表于 2017-10-9 20:32:25
应该是通信的问题,看下rabitmq,网络等问题。用的是哪个版本
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


回复

使用道具 举报

lklkxcxc 发表于 2017-10-10 18:04:57
desehawk 发表于 2017-10-9 20:32
应该是通信的问题,看下rabitmq,网络等问题。用的是哪个版本
CommunicationError: Error finding address ...

谢谢你的提醒,查看rabbitmq日志提示disk空间不足,清理后这个问题解决了,但是有新的问题我继续处理
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条