[Openstack-operators] problem starting proxy-server: Entry point 'auth' not found in egg 'swift'

Timur Irmatov irmatov at gmail.com
Thu Jun 23 05:33:01 UTC 2011


Hi!


We're trying to setup OpenStack object storage on our servers. Servers
are running Ubuntu 11.04, and we have install swift packages from
Ubuntu repositories (1.3.0, Cactus release). When following
Administration Guide installation instructions, we cannot start
proxy-server:

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/pymodules/python2.7/swift/common/wsgi.py", line 128, in run_wsgi
   app = loadapp('config:%s' % conf_file, global_conf={'log_name': log_name})
 File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line
204, in loadapp
   return loadobj(APP, uri, name=name, **kw)
 File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line
224, in loadobj
   global_conf=global_conf)
 File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line
248, in loadcontext
   global_conf=global_conf)
 File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line
278, in _loadconfig
   return loader.get_context(object_type, name, global_conf)
 File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line
405, in get_context
   global_additions=global_additions)
 File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line
503, in _pipeline_app_context
   for name in pipeline[:-1]]
 File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line
409, in get_context
   section)
 File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line
431, in _context_from_use
   object_type, name=use, global_conf=global_conf)
 File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line
361, in get_context
   global_conf=global_conf)
 File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line
248, in loadcontext
   global_conf=global_conf)
 File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line
285, in _loadegg
   return loader.get_context(object_type, name, global_conf)
 File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line
561, in get_context
   object_type, name=name)
 File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line
600, in find_egg_entry_point
   for prot in protocol_options] or '(no entry points)'))))
LookupError: Entry point 'auth' not found in egg 'swift' (dir:
/usr/lib/pymodules/python2.7; protocols: paste.filter_factory,
paste.filter_app_factory; entry_points: )

Here is our proxy-server.conf:
[DEFAULT]
cert_file = /etc/swift/cert.crt
key_file = /etc/swift/cert.key
bind_port = 8080
workers = 8
user = swift
[pipeline:main]
pipeline = healthcheck cache auth proxy-server
[app:proxy-server]
use = egg:swift#proxy
allow_account_management = true
[filter:auth]
use = egg:swift#auth
ssl = true
[filter:healthcheck]
use = egg:swift#healthcheck
[filter:cache]
use = egg:swift#memcache
memcache_servers = 127.0.0.1:11211
I saw a post in archives mentioning that swauth is a separate project
since 1.4.0, so it shoudn't affect our install, should it?
What is wrong? Any advice will be greatly appreciated.

--
Timur Irmatov, xmpp:irmatov at jabber.ru



More information about the Openstack-operators mailing list