[openstack-dev] Backward Compatible Keystone-based OpenStack Swift

Jesse Pretorius jesse.pretorius at gmail.com
Mon Jun 10 11:18:32 UTC 2013


In order to allow our Folsom deployment to have client access via the
'older' cloudfiles SDK access methods, we're wanting to implement this
recommendation:
http://www.zmanda.com/blogs/?p=1002

If there are other options, please let me know.

Unfortunately once this is implemented, keystone simply doesn't start up.

In order to figure out where the problem was, I added some debug logs and
exception catches. So far I've found that the untouched admin server object
is correctly prepared, but that the main server object croaks. The
following is the log error:

Traceback (most recent call last):
  File "/usr/bin/keystone-all", line 37, in create_server
    app = deploy.loadapp('config:%s' % conf, name=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
272, in loadobj
    return context.create()
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line
710, in create
    return self.object_type.invoke(self)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line
144, in invoke
    **context.local_conf)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 56, in
fix_call
    val = callable(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/paste/urlmap.py", line 25, in
urlmap_factory
    app = loader.get_app(app_name, global_conf=global_conf)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line
350, in get_app
    name=name, global_conf=global_conf).create()
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line
362, in app_context
    APP, name=name, global_conf=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

I'll continue to debug down each successive library, but if anyone has this
working or can point out something obvious based on the config/code changes
applied then please let me know.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130610/318570cd/attachment.html>


More information about the OpenStack-dev mailing list