[openstack-community] Dumb question regarding swift-proxy: where does one find swift_auth?
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/ubuntu precise-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
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
Hi Marton, On 13/06/13 20:11, Marton Kiss wrote:
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 <http://ask.openstack.org> site.
No worries... I did try to get on the main OpenStack list (hosted on Launchpad) but couldn't see how one subscribes to the list without actually "joining the team" (which to me reads as "become a developer on this team") -- I'm not after commit access to the repository, I just wanted to ask a question. It was after I sent my email to this list I noticed this was more for organisation of gatherings ... I had misinterpreted "community"; I was looking for the user discussion list. 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
On Thu 13 Jun 2013 05:28:50 PM PDT, Stuart Longland wrote:
I did try to get on the main OpenStack list (hosted on Launchpad) but couldn't see how one subscribes to the list without actually "joining the team" (which to me reads as "become a developer on this team") --
We're working to move that mailing list out of launchpad. In any case, feel free to join the team as it's an open team: commit access to the repository is managed differently (if you're interested in that there is a wiki page with all the details: http://wiki.openstack.org/HowToContribute#If_you.27re_a_developer.2C_start_h...)
I'm not after commit access to the repository, I just wanted to ask a question.
You can also ask on https://ask.openstack.org or the Operators mailing list http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators hth stef -- Ask and answer questions on https://ask.openstack.org
participants (3)
-
Marton Kiss
-
Stefano Maffulli
-
Stuart Longland