Ubuntu下部署swift时产生的错误记录

问题1:

File "/usr/local/lib/python2.7/dist-packages/anyjson-0.3.3-py2.7.egg/anyjson/__init__.py", line 62, in __init__
    fdec = modinfo["filedecoder"]

解决办法:

https://bugs.launchpad.net/nova/+bug/1017765
https://review.openstack.org/#/c/9013/1/openstack/common/jsonutils.py

问题 2:

输入keystone user-list只打印出printt这个单词
解决办法:

修改/usr/share/pyshard/keystoneclient/utils.py
   37     print pt.get_string(sortby=fields[0])
   44     print pt.get_string(sortby='Property')


问题 3: No module named urlmap
解决办法:sudo apt-get install python-paste

问题4:

运行dashboard时:django.core.cache.backends.base.InvalidCacheBackendError: Memcached cache backend requires either the 'memcache' or 'cmemcache' library

解决办法:sudo apt-get install python-memcached

问题 5:

No module named netaddr
解决办法:apt-get install python-netaddr

问题 6:

FilterError: /usr/bin/env: node: No such file or directory
解决办法:sudo apt-get install nodejs

question 7:

执行keystone user-list 时,输出printt
解决办法:https://review.openstack.org/#/c/7200/1/keystoneclient/utils.py
question 8:

curl访问:
curl -i     -H "X-Auth-Key:ADMIN"     -H "X-Auth-User:swiftadmin"     http://192.168.100.133:35357/v2.0/

posted @ 2012-09-16 16:17  三个木头  阅读(374)  评论(0编辑  收藏  举报