我也遇到相同的问题:
[root@master ~]# swift stat
Account not found
[root@master ~]# swift --debug stat
DEBUG:keystoneclient.auth.identity.v3.base:Making authentication request to http://master:5000/v3/auth/tokens
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): master
DEBUG:requests.packages.urllib3.connectionpool:"POST /v3/auth/tokens HTTP/1.1" 201 1701
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): master
DEBUG:requests.packages.urllib3.connectionpool:"HEAD /v1/AUTH_2d79633641454b2cb2faafcc52ba847c HTTP/1.1" 404 0
INFO:swiftclient:REQ: curl -i http://master:8080/v1/AUTH_2d79633641454b2cb2faafcc52ba847c -I -H "X-Auth-Token: gAAAAABZ-rxJne6cIvfS9TW9hV8SiZsIVadHRiEehmbY9UdA9r0Oli0c94OBDmxIF4CgZyRsOgbuUBGomMFwVbJJSm7S4bGHT3-4yXy8dIQJys2acqwAOKErftdQjc_NH3ljLJGsLZGmCUYZqeiF63_6ENglC9I_57ryBVt-9ydlpinzDYK-60U"
INFO:swiftclient:RESP STATUS: 404 Not Found
INFO:swiftclient:RESP HEADERS: {u'Date': u'Thu, 02 Nov 2017 06:33:45 GMT', u'Content-Length': u'0', u'Content-Type': u'text/html; charset=UTF-8', u'X-Trans-Id': u'txd6f3f4f53f9d4b97aded8-0059fabc49'}
ERROR:swiftclient:Account HEAD failed: http://master:8080/v1/AUTH_2d79633641454b2cb2faafcc52ba847c 404 Not Found
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/swiftclient/client.py", line 1565, in _retry
service_token=self.service_token, **kwargs)
File "/usr/lib/python2.7/site-packages/swiftclient/client.py", line 747, in head_account
http_response_content=body)
ClientException: Account HEAD failed: http://master:8080/v1/AUTH_2d79633641454b2cb2faafcc52ba847c 404 Not Found
Account not found
[root@master ~]#