[Openstack] grizzly's cinder-api is not starting : Couldn't find urlmap package

Sean Dague sean at dague.net
Fri Apr 12 12:46:24 UTC 2013


Please post the contents of your /etc/cinder directory, I think this is 
related to an issue I saw during grenade testing.

	-Sean

On 04/12/2013 08:29 AM, Mohammed Amine SAYA wrote:
> Hi All,
>
> I am trying to start cinder-api but it complains about urlmap module.
> I checked in "/usr/lib/python2.7/dist-packages/paste/" directory and I
> found
> urlmap.py and urlmap.pyc.
>
> Have you heard about this behavior in cinder-api? I didn't have it with
> FOLSOM.
>
> Here is the error I found in cinder-api.log :
>
> 2013-04-12 14:20:29 CRITICAL [cinder] No module named urlmap
> Traceback (most recent call last):
>    File "/usr/bin/cinder-api", line 48, in <module>
>      server = service.WSGIService('osapi_volume')
>    File "/usr/lib/python2.7/dist-packages/cinder/service.py", line 520,
> in __init__
>      self.app = self.loader.load_app(name)
>    File "/usr/lib/python2.7/dist-packages/cinder/wsgi.py", line 490, in
> load_app
>      return deploy.loadapp("config:%s" % self.config_path, 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 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 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 337, in _loadfunc
>      return loader.get_context(object_type, name, global_conf)
>    File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py",
> line 681, in get_context
>      obj = lookup_object(self.spec)
>    File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line
> 69, in lookup_object
>      module = __import__(parts)
> ImportError: No module named urlmap
>
>
> Thanks a lot for your help.
> Best regards,
> Amine.
>
>
> _______________________________________________
> 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
>


-- 
Sean Dague
http://dague.net




More information about the Openstack mailing list