[Openstack] Error while enabling s3 support in swift

John Dickinson me at not.mn
Wed Nov 28 15:25:11 UTC 2012


swob is a part of recent versions of Swift. It's not a separately install able module. You need to either use a later version of Swift (1.7.5) is current or use an older version of swift3. 

--John


On Nov 28, 2012, at 3:49 AM, Gui Maluf <guimalufb at gmail.com> wrote:

> John, I installed the fujita/swift3 but I'm stuck at this point:
> 
> 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 138, in run_wsgi
>     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 454, in get_context
>     section)
>   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 476, in _context_from_use
>     object_type, name=use, global_conf=global_conf)
>   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 406, in get_context
>     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 328, in _loadegg
>     return loader.get_context(object_type, name, global_conf)
>   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 620, in get_context
>     object_type, name=name)
>   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 646, in find_egg_entry_point
>     possible.append((entry.load(), protocol, entry.name))
>   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1989, in load
>     entry = __import__(self.module_name, globals(),globals(), ['__name__'])
>   File "/usr/local/lib/python2.7/dist-packages/swift3-1.0.0-py2.7.egg/swift3/middleware.py", line 67, in 
> <module>
>     from swift.common.swob import Request, Response
> ImportError: No module named swob
> 
> 
> I couldnt find a way to install this swob module.
> Any hint?
> 
> 
> On Tue, Nov 20, 2012 at 5:46 AM, Shashank Sahni <shredder12 at gmail.com> wrote:
>> I haven't tested but the proxy server has started fine. Thanks.
>> 
>> --
>> Shashank Sahni
>> 
>> 
>> 
>> 
>> On Tue, Nov 20, 2012 at 12:55 PM, John Dickinson <me at not.mn> wrote:
>>> check out the README at https://github.com/fujita/swift3 for the correct proxy server config section.
>>> 
>>> --john
>>> 
>>> 
>>> On Nov 19, 2012, at 11:22 PM, Shashank Sahni <shredder12 at gmail.com> wrote:
>>> 
>>> > Hi,
>>> >
>>> > I'm trying to install swift 1.7.4 on Ubuntu 12.04. In order to enable the s3 support, I added the appropriate parameters in the /etc/swift/proxy-server.conf file
>>> >
>>> > [filter:swift3]
>>> > use=egg:swift#swift3
>>> >
>>> > and installed the package swift-plugin-s3. But when I try to start the proxy-server I get the following error.
>>> >
>>> > LookupError: Entry point 'swift3' not found in egg 'swift' (dir: /usr/lib/python2.7/dist-packages; protocols: paste.filter_factory, paste.filter_app_factory; entry_points: )
>>> >
>>> > Note that, proxy server runs fine without s3 support. Suggestions?
>>> >
>>> > --
>>> > Shashank Sahni
>>> >
>>> > _______________________________________________
>>> > Mailing list: https://launchpad.net/~openstack
>>> > Post to     : openstack at lists.launchpad.net
>>> > Unsubscribe : https://launchpad.net/~openstack
>>> > More help   : https://help.launchpad.net/ListHelp
>> 
>> 
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to     : openstack at lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
> 
> 
> 
> -- 
> guilherme \n
> \t maluf
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20121128/473f4cd1/attachment.html>


More information about the Openstack mailing list