[Openstack] Object Storage Swift on rhel6.0

Sudhakar Maiya smaiya at gmail.com
Tue Feb 21 12:48:18 UTC 2012


Hi

thanks for the update.

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

[root at ostack-proxyserver swift]# cat 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 swauth proxy-server

[app:proxy-server]
use = egg:swift#proxy
allow_account_management = true

[filter:swauth]
use = egg:swift#swauth
ssl = true

[filter:healthcheck]
use = egg:swift#healthcheck

[filter:cache]
use = egg:swift#memcache
memcache_servers = 10.30.91.80:11211
[root at ostack-proxyserver swift]#


can you tell me what cause the issue.

Regards
Sudhakar

On Tue, Feb 21, 2012 at 10:35 AM, Pete Zaitcev <zaitcev at redhat.com> wrote:

> On Mon, 20 Feb 2012 09:53:17 +0530
> Sudhakar Maiya <smaiya at gmail.com> wrote:
>
> > i would like to configure object storage swift on rhel6.0..
> >
> > can some one provide me the steps to install package/configure on each
> node.
>
> Start with enabling the EPEL repository, then run
>  yum install openstack-swift
> It will pull the dependencies automatically, including those not
> found in RHEL 6, e.g. python-webob1.0.
>
> The rest is pretty much indentical to Ubuntu.
>
> I have an swauth RPM in case you need to let your users to use your
> Swift immediately, here:
>  http://people.redhat.com/zaitcev/tmp/
>
> However, if you are just experimenting, it would be better served by
> configuring Keystone instead.
>
> -- Pete
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120221/c2401715/attachment.html>


More information about the Openstack mailing list