我是完全按照官网的教程来安装的,现在出了一点问题,我的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
|