swiftclient.service.SwiftError: 'Account not found'
Hello everybody
When I'm verifying the swift service using:
$ source demo-openrc.sh
$ swift stat
I got the following error:
Traceback (most recent call last):
File "/usr/bin/swift", line 10, in <module> sys.exit(main()) File "/usr/lib/python2.7/dist-packages/swiftclient/shell.py", line 1287, in main globals()'st_%s' % args[0]
File "/usr/lib/python2.7/dist-packages/swiftclient/shell.py", line 492, in st_stat stat_result = swift.stat() File "/usr/lib/python2.7/dist-packages/swiftclient/service.py", line 427, in stat raise SwiftError('Account not found', exc=err) swiftclient.service.SwiftError: 'Account not found'
Any help?
It is a very informative to run the commands with
--debug
option. It will dump a lot of information, but it will be a bit more informative to show what exactly is failing.In my case it shows this error: