I was trying to configure Swift Controller/ Storage nodes on the same VM. I configured Controllder node as described in :
http://docs.openstack.org/juno/instal... .
When I was running > swift stat , it was reporting the following error:
Traceback (most recent call last):
File "/usr/bin/swift", line 10, in
sys.exit(main())
File "/usr/lib/python2.7/site-packages/swiftclient/shell.py", line 1287, in main
globals()'st_%s' % args[0]
File "/usr/lib/python2.7/site-packages/swiftclient/shell.py", line 492, in st_stat
stat_result = swift.stat()
File "/usr/lib/python2.7/site-packages/swiftclient/service.py", line 443, in stat
raise SwiftError('Account not found', exc=err)
swiftclient.service.SwiftError: 'Account not found'
So I suspected it could be due to python-keystone-auth-token. Further browsing through various questions in this page helped me in solving the issue:
The issue was the pipeline setting in the proxy-server.conf.
The above document state that :
pipeline = authtoken cache healthcheck keystoneauth proxy-logging proxy-server
But response to similar problem was found in :
https://ask.openstack.org/en/question...
and I modified as :
pipeline = catch_errors healthcheck cache authtoken proxy-server.
and restarted the proxy-server.
The > swift stat started working.
Thanks to community and contributors.