Hi Stuart, I'm sure you can get more answers to your question if you post this mail to general openstack mailing list. This community list covers the community / user group related topics, so it have less subscriber than general list. You could also try ask.openstack.org site. Regards, Marton Kiss Stuart Longland 2013. június 13., csütörtök napon a következőt írta:
Hi all,
I've hunted high and low for the solution to this problem. I'm slowly working through setting up a test virtual machine cluster using OpenStack and Ceph.
The network has two management nodes, which will run the cluster controller daemons... two storage nodes using Ceph and Swift, and two compute nodes. The OS is Ubuntu 12.04 LTS AMD64, and I have the following APT source listed:
deb http://ubuntu-cloud.archive.canonical.com/ubuntuprecise-updates/grizzly main
I've followed the OpenStack Install and Deploy Manual (Grizzly, Compute 2013.1, Network 2013.1, Object Storage 1.7.6) PDF... I've been switching between that and the high availability guide, and so presently I've got highly available MySQL, Keystone and Glance.
I am working on getting swift-proxy going on the two management nodes (which will have 10GbE cards for the task) and swift on the storage nodes.
The documentation tells me to install the following packages:
apt-get install swift-proxy memcached python-keystone-auth-token python-swiftclient
I get the following:
Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package python-keystone-auth-token
Through experiment, I found some of what I needed was in other packages (python-keystoneclient was one I think)... but when I go to start the Swift proxy, it's clear that I've still missed a couple:
root@bnedevmn0:/etc/swift# swift-init proxy start Starting proxy-server...(/etc/swift/proxy-server.conf) Traceback (most recent call last): File "/usr/bin/swift-proxy-server", line 22, in <module> run_wsgi(conf_file, 'proxy-server', default_port=8080, **options) File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line 119, in run_wsgi init_request_processor(conf_file, app_section, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line 246, in init_request_processor app = loadapp('config:%s' % conf_file, global_conf={'log_name': log_name}) File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp return loadobj(APP, uri, name=name, **kw) File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 271, in loadobj global_conf=global_conf) File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 296, in loadcontext global_conf=global_conf) File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 320, in _loadconfig return loader.get_context(object_type, name, global_conf) File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 450, in get_context global_additions=global_additions) File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 562, in _pipeline_app_context for name in pipeline[:-1]] File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 458, in get_context section) File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 517, in _context_from_explicit value = import_string(found_expr) File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 22, in import_string return pkg_resources.EntryPoint.parse("x=" + s).load(False) File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1989, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) ImportError: No module named swift_auth
Which package would I look for to find the 'swift_auth' module?
Regards, -- ## -,-''''-. ###### Stuart Longland, Contractor ##. : ## : ## 38b Douglas Street ## # ## -'` .#' Milton, QLD, 4064 '#' *' '-. *' http://www.vrt.com.au S Y S T E M S T: +61 7 3535 9619 F: +61 7 3535 9699
_______________________________________________ Community mailing list Community@lists.openstack.org <javascript:;> http://lists.openstack.org/cgi-bin/mailman/listinfo/community