swift命令测试openstack对象存储 [英] swift command to test openstack object storage

查看:107
本文介绍了swift命令测试openstack对象存储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我执行 swift -A http://xxx.xxx时出现错误. xx:5000/v2.0 -U服务:Swift -K swift -V 2.0统计信息 像这样的输出 身份验证GET失败: http://xxx.xxx.xx:5000/v2. 0/令牌 500内部服务器错误 也许对我有什么解决办法!

i have error when i execute swift -A http://xxx.xxx.x.x:5000/v2.0 -U service:swift -K swift -V 2.0 stat outputlike this Auth GET failed: http://xxx.xxx.x.x:5000/v2.0/tokens 500 Internal Server Error maybe any solution for me !

推荐答案

koolhead17 我试图执行sudo swift-init main start

koolhead17 I have tried to execute sudo swift-init main start

结果IOError:[错误2]没有这样的文件或目录:'/etc/swift/object.ring.gz'

result IOError: [Errno 2] No such file or directory: '/etc/swift/object.ring.gz'

然后当我执行sudo swift-init rest start

and then when i execute sudo swift-init rest start

结果IOError:[错误2]没有这样的文件或目录:'/etc/swift/object.ring.gz'

result IOError: [Errno 2] No such file or directory: '/etc/swift/object.ring.gz'

也许...对我有什么解决办法? :)

maybe...any solution for me? :)

这篇关于swift命令测试openstack对象存储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆