互联网服务

关于swift的问题

openstack Kilo版本+centos7.1,现所有组件都运行OK,唯有swift有点问题,但是又不知道哪方面出错,感觉swift很复杂,目测是认证出错了,服务应该没问题,因为test账户可以上传下载查阅,详细查阅图片,求大神解答,谢谢。...显示全部

openstack Kilo版本+centos7.1,现所有组件都运行OK,唯有swift有点问题,但是又不知道哪方面出错,感觉swift很复杂,目测是认证出错了,服务应该没问题,因为test账户可以上传下载查阅,详细查阅图片,求大神解答,谢谢。

33333333333333.png


QQ图片20151018173150.png


QQ图片20151018172900.png


QQ图片20151018172937.png


QQ图片20151018173340.jpg


收起
参与14

查看其它 4 个回答laishanwu的回答

laishanwulaishanwu技术经理云润

只有这些报错,感觉和命令的差不多:


[Sun Oct 18 17:26:18.297185 2015] [:error] [pid 3157] RESP BODY:

Unauthorized

This server could not verify that you are authorized to access the document you requested.

[Sun Oct 18 17:26:18.298001 2015] [:error] [pid 3157] Account GET failed: http://controller:8080/v1/AUTH_124df7d38bef47ac811d1fb5581eb541?format=json&limit=1001 401 Unauthorized  [first 60 chars of response]

Unauthorized

This server could not verify t

[Sun Oct 18 17:26:18.298018 2015] [:error] [pid 3157] Traceback (most recent call last):

[Sun Oct 18 17:26:18.298023 2015] [:error] [pid 3157]   File \"/usr/lib/python2.7/site-packages/swiftclient/client.py\", line 1261, in _retry

[Sun Oct 18 17:26:18.298027 2015] [:error] [pid 3157]     rv = func(self.url, self.token, *args, **kwargs)

[Sun Oct 18 17:26:18.298030 2015] [:error] [pid 3157]   File \"/usr/lib/python2.7/site-packages/swiftclient/client.py\", line 474, in get_account

[Sun Oct 18 17:26:18.298034 2015] [:error] [pid 3157]     end_marker, http_conn)

[Sun Oct 18 17:26:18.298037 2015] [:error] [pid 3157]   File \"/usr/lib/python2.7/site-packages/swiftclient/client.py\", line 509, in get_account

[Sun Oct 18 17:26:18.298041 2015] [:error] [pid 3157]     http_response_content=body)

[Sun Oct 18 17:26:18.298044 2015] [:error] [pid 3157] ClientException: Account GET failed: http://controller:8080/v1/AUTH_124df7d38bef47ac811d1fb5581eb541?format=json&limit=1001 401

互联网服务 · 2015-10-19
浏览2003

回答者

laishanwu
技术经理云润
擅长领域: 云计算云管平台桌面云

laishanwu 最近回答过的问题

回答状态

  • 发布时间:2015-10-19
  • 关注会员:2 人
  • 回答浏览:2003
  • X社区推广