分享

openstack【juno】入门 【swift篇】二十五:验证安装(控制节点)

pig2 发表于 2015-2-22 12:23:02 [显示全部楼层] 只看大图 回帖奖励 阅读模式 关闭右栏 14 141766
when30 发表于 2016-3-19 21:20:06
wendell 发表于 2016-3-19 20:29
我的swift stat正常
但是upload的时候,就报404 ,不知道么情况

贴出错误来,应该是验证的问题
回复

使用道具 举报

sa2016 发表于 2016-8-18 11:28:03
我是完全按照官网的教程来安装的,现在出了一点问题,我的swift stat不正常
debug出来是这样的:
root@ubuntu:~# swift --debug stat
DEBUG:keystoneclient.auth.identity.v3.base:Making authentication request to http://controller:5000/v3/auth/tokens
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): controller
DEBUG:requests.packages.urllib3.connectionpool:"POST /v3/auth/tokens HTTP/1.1" 201 1725
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): controller
DEBUG:requests.packages.urllib3.connectionpool:"HEAD /v1/AUTH_3e1745d259da449b9c68c5363c8b5aaa HTTP/1.1" 503 0
INFO:swiftclient:REQ: curl -i http://controller:8080/v1/AUTH_3e1745d259da449b9c68c5363c8b5aaa -I -H "X-Auth-Token: gAAAAABXtSQDWR7lHzBHxGS6nvkO4zcGXY9iQ9Usx1xbz9xAevuVcDexHX4nIntFdN36irUVBCidASVdaK8M3pl-eCuufKMqMZ1qFxEC2qgjoguyWhNfzPWkIj72CtFpzBBH6fpreqTswyx8efpQmMxgAv5XkL5dGGzp8OXHhIqS0lpkMidaqDI"
INFO:swiftclient:RESP STATUS: 503 Service Unavailable
INFO:swiftclient:RESP HEADERS: {u'Date': u'Thu, 18 Aug 2016 02:57:07 GMT', u'Content-Length': u'0', u'Content-Type': u'text/html; charset=UTF-8', u'X-Trans-Id': u'txeb0c2da737b749329c5d2-0057b52403'}
DEBUG:requests.packages.urllib3.connectionpool:"HEAD /v1/AUTH_3e1745d259da449b9c68c5363c8b5aaa HTTP/1.1" 503 0
INFO:swiftclient:REQ: curl -i http://controller:8080/v1/AUTH_3e1745d259da449b9c68c5363c8b5aaa -I -H "X-Auth-Token: gAAAAABXtSQDWR7lHzBHxGS6nvkO4zcGXY9iQ9Usx1xbz9xAevuVcDexHX4nIntFdN36irUVBCidASVdaK8M3pl-eCuufKMqMZ1qFxEC2qgjoguyWhNfzPWkIj72CtFpzBBH6fpreqTswyx8efpQmMxgAv5XkL5dGGzp8OXHhIqS0lpkMidaqDI"
INFO:swiftclient:RESP STATUS: 503 Service Unavailable
INFO:swiftclient:RESP HEADERS: {u'Date': u'Thu, 18 Aug 2016 02:57:08 GMT', u'Content-Length': u'0', u'Content-Type': u'text/html; charset=UTF-8', u'X-Trans-Id': u'tx2c2977d5743c40448c42a-0057b52404'}
DEBUG:requests.packages.urllib3.connectionpool:"HEAD /v1/AUTH_3e1745d259da449b9c68c5363c8b5aaa HTTP/1.1" 503 0
INFO:swiftclient:REQ: curl -i http://controller:8080/v1/AUTH_3e1745d259da449b9c68c5363c8b5aaa -I -H "X-Auth-Token: gAAAAABXtSQDWR7lHzBHxGS6nvkO4zcGXY9iQ9Usx1xbz9xAevuVcDexHX4nIntFdN36irUVBCidASVdaK8M3pl-eCuufKMqMZ1qFxEC2qgjoguyWhNfzPWkIj72CtFpzBBH6fpreqTswyx8efpQmMxgAv5XkL5dGGzp8OXHhIqS0lpkMidaqDI"
INFO:swiftclient:RESP STATUS: 503 Service Unavailable
INFO:swiftclient:RESP HEADERS: {u'Date': u'Thu, 18 Aug 2016 02:57:10 GMT', u'Content-Length': u'0', u'Content-Type': u'text/html; charset=UTF-8', u'X-Trans-Id': u'tx73b2522c893e4e318bf24-0057b52406'}
DEBUG:requests.packages.urllib3.connectionpool:"HEAD /v1/AUTH_3e1745d259da449b9c68c5363c8b5aaa HTTP/1.1" 503 0
INFO:swiftclient:REQ: curl -i http://controller:8080/v1/AUTH_3e1745d259da449b9c68c5363c8b5aaa -I -H "X-Auth-Token: gAAAAABXtSQDWR7lHzBHxGS6nvkO4zcGXY9iQ9Usx1xbz9xAevuVcDexHX4nIntFdN36irUVBCidASVdaK8M3pl-eCuufKMqMZ1qFxEC2qgjoguyWhNfzPWkIj72CtFpzBBH6fpreqTswyx8efpQmMxgAv5XkL5dGGzp8OXHhIqS0lpkMidaqDI"
INFO:swiftclient:RESP STATUS: 503 Service Unavailable
INFO:swiftclient:RESP HEADERS: {u'Date': u'Thu, 18 Aug 2016 02:57:14 GMT', u'Content-Length': u'0', u'Content-Type': u'text/html; charset=UTF-8', u'X-Trans-Id': u'txa944974bf6bb413187caf-0057b5240a'}
DEBUG:requests.packages.urllib3.connectionpool:"HEAD /v1/AUTH_3e1745d259da449b9c68c5363c8b5aaa HTTP/1.1" 503 0
INFO:swiftclient:REQ: curl -i http://controller:8080/v1/AUTH_3e1745d259da449b9c68c5363c8b5aaa -I -H "X-Auth-Token: gAAAAABXtSQDWR7lHzBHxGS6nvkO4zcGXY9iQ9Usx1xbz9xAevuVcDexHX4nIntFdN36irUVBCidASVdaK8M3pl-eCuufKMqMZ1qFxEC2qgjoguyWhNfzPWkIj72CtFpzBBH6fpreqTswyx8efpQmMxgAv5XkL5dGGzp8OXHhIqS0lpkMidaqDI"
INFO:swiftclient:RESP STATUS: 503 Service Unavailable
INFO:swiftclient:RESP HEADERS: {u'Date': u'Thu, 18 Aug 2016 02:57:22 GMT', u'Content-Length': u'0', u'Content-Type': u'text/html; charset=UTF-8', u'X-Trans-Id': u'txac9b6d382d0d4e768de72-0057b52412'}
DEBUG:requests.packages.urllib3.connectionpool:"HEAD /v1/AUTH_3e1745d259da449b9c68c5363c8b5aaa HTTP/1.1" 503 0
INFO:swiftclient:REQ: curl -i http://controller:8080/v1/AUTH_3e1745d259da449b9c68c5363c8b5aaa -I -H "X-Auth-Token: gAAAAABXtSQDWR7lHzBHxGS6nvkO4zcGXY9iQ9Usx1xbz9xAevuVcDexHX4nIntFdN36irUVBCidASVdaK8M3pl-eCuufKMqMZ1qFxEC2qgjoguyWhNfzPWkIj72CtFpzBBH6fpreqTswyx8efpQmMxgAv5XkL5dGGzp8OXHhIqS0lpkMidaqDI"
INFO:swiftclient:RESP STATUS: 503 Service Unavailable
INFO:swiftclient:RESP HEADERS: {u'Date': u'Thu, 18 Aug 2016 02:57:38 GMT', u'Content-Length': u'0', u'Content-Type': u'text/html; charset=UTF-8', u'X-Trans-Id': u'tx59313f84be064de4967b4-0057b52422'}
ERROR:swiftclient:Account HEAD failed: http://controller:8080/v1/AUTH_3e1745d259da449b9c68c5363c8b5aaa 503 Service Unavailable
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 1565, in _retry
    service_token=self.service_token, **kwargs)
  File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 747, in head_account
    http_response_content=body)
ClientException: Account HEAD failed: http://controller:8080/v1/AUTH_3e1745d259da449b9c68c5363c8b5aaa 503 Service Unavailable
ERROR:swiftclient.service:Account HEAD failed: http://controller:8080/v1/AUTH_3e1745d259da449b9c68c5363c8b5aaa 503 Service Unavailable
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/swiftclient/service.py", line 440, in stat
    items, headers = get_future_result(stats_future)
  File "/usr/lib/python2.7/dist-packages/swiftclient/service.py", line 207, in get_future_result
    res = f.result(timeout=timeout)
  File "/usr/lib/python2.7/dist-packages/concurrent/futures/_base.py", line 405, in result
    return self.__get_result()
  File "/usr/lib/python2.7/dist-packages/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/lib/python2.7/dist-packages/swiftclient/multithreading.py", line 188, in conn_fn
    return fn(*conn_args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/swiftclient/command_helpers.py", line 23, in stat_account
    headers = conn.head_account()
  File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 1605, in head_account
    return self._retry(None, head_account)
  File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 1565, in _retry
    service_token=self.service_token, **kwargs)
  File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 747, in head_account
    http_response_content=body)
ClientException: Account HEAD failed: http://controller:8080/v1/AUTH_3e1745d259da449b9c68c5363c8b5aaa 503 Service Unavailable
Account HEAD failed: http://controller:8080/v1/AUTH_3e1745d259da449b9c68c5363c8b5aaa 503 Service Unavailable
回复

使用道具 举报

sstutu 发表于 2016-8-18 13:30:01
sa2016 发表于 2016-8-18 11:28
我是完全按照官网的教程来安装的,现在出了一点问题,我的swift stat不正常
debug出来是这样的:
root@ub ...

应该是认证的问题
回复

使用道具 举报

sa2016 发表于 2016-8-18 13:38:01
sstutu 发表于 2016-8-18 13:30
应该是认证的问题

问题出在哪里了呢?
回复

使用道具 举报

sa2016 发表于 2016-8-29 14:22:51
我想直接从浏览器拿出swift中存储的数据,该如何拿出来?URL的格式是什么?
回复

使用道具 举报

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

本版积分规则

关闭

推荐上一条 /2 下一条