keystone出错问题

paddycai 发布于 2014/09/18 15:32
阅读 498
收藏 0

@zhouxingxing 你好,想跟你请教个问题:

我安装好keystone后,调用命令keystone user-list可以正常显示用户,但是用curl测试的时候出以下错误:

root@ubuntu :~/swift/bin# swift  -A  http://192.168.1.199:5000/v2.0 -U admin -K admin stat -V 2
Traceback (most recent call last):
  File "/usr/local/bin/swift", line 10, in <module>
    sys.exit(main())
  File "/root/swift/python-swiftclient/swiftclient/shell.py", line 1287, in main
    globals()['st_%s' % args[0]](parser, argv[1:], output)
  File "/root/swift/python-swiftclient/swiftclient/shell.py", line 493, in st_stat
    items = stat_result['items']
KeyError: 'items'

加载中
返回顶部
顶部