Ask Your Question

Swift Stat error KeyError: 'items'

asked 2014-12-18 06:22:59 -0500

aelshafei gravatar image

updated 2014-12-18 13:41:19 -0500

smaffulli gravatar image

I have installed swift as documented in install guide (Juno). I have double checked all the services and configuration files with no problems. However the following issue still presists

here is a snapshot of Swift stat command

[root@swift-proxy ~]# swift stat
 Traceback (most recent call last):
     File "/usr/bin/swift", line 10, in <module>
     File "/usr/lib/python2.7/site-packages/swiftclient/", line 1287, in main
         globals()['st_%s' % args[0]](parser, argv[1:], output)
     File "/usr/lib/python2.7/site-packages/swiftclient/", line 493, in st_stat
         items = stat_result['items']
KeyError: 'items'
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-12-26 02:53:47 -0500

yoshitan gravatar image

updated 2014-12-26 08:20:27 -0500

I had the same problem but now solved. I checked /var/log/messages on proxy node and modify /etc/swift/swift-proxy.conf. In my case, paste.filter_factory = keystonemiddleware.auth_token:filter_factory was missing in [filter:authtoken]. Or you need to check the firewalld settings for port 8080 in proxy node.

edit flag offensive delete link more


Hi, this is quite a while, but i have similar issues in my cluster and I wonder how i can resolve this.

SyCode7 gravatar imageSyCode7 ( 2016-05-26 04:24:06 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-12-18 06:22:59 -0500

Seen: 1,403 times

Last updated: Dec 26 '14