swift安装完毕之后运行swift stat命令显示以下内容:
[mw_shl_code=applescript,true][root@controller log]# swift stat
Traceback (most recent call last):
File "/bin/swift", line 10, in <module>
sys.exit(main())
File "/usr/lib/python2.7/site-packages/swiftclient/shell.py", line 1287, in main
globals()['st_%s' % args[0]](parser, argv[1:], output)
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'[/mw_shl_code]
--debug的详细信息为:
[mw_shl_code=applescript,true]INFO:swiftclient:RESP STATUS: 503 Internal Server Error
INFO:swiftclient:RESP HEADERS: [('date', 'Fri, 29 May 2015 09:33:08 GMT'), ('content-length', '0'), ('content-type', 'text/html; charset=UTF-8'), ('x-trans-id', 'txc89bbc1ac31d45988d47b-0055683254')][/mw_shl_code]
swift list命令反馈:
[mw_shl_code=applescript,true]Account GET failed: http://controller:8080/v1/AUTH_5eafaf7d2bc14eeb9d6c885559e0a01f?format=json 503 Internal Server Error [first 60 chars of response] <html><h1>Service Unavailable</h1><p>The server is currently
You have new mail in /var/spool/mail/root[/mw_shl_code]
这是怎么一回事啊,求教,先行谢过了 |