[openstack-dev] [neutron] devstack generate TypeError

Qiming Teng tengqim at linux.vnet.ibm.com
Thu Jan 29 01:20:38 UTC 2015


Smells like a neutron problem, so labelling it with [Neutron] in hope
guys can see and comment.

On Tue, Jan 27, 2015 at 02:45:15PM +0800, cing wrote:
> hi everyone ,wo use the lastest devstack install openstack, generate
> TypeError:
> 
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service Traceback (most
> recent call last):
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service   File
> "/opt/stack/neutron/neutron/service.py", line 102, in serve_wsgi
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service service.start()
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service   File
> "/opt/stack/neutron/neutron/service.py", line 73, in start
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service self.wsgi_app =
> _run_wsgi(self.app_name)
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service   File
> "/opt/stack/neutron/neutron/service.py", line 168, in _run_wsgi
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service     app =
> config.load_paste_app(app_name)
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service   File
> "/opt/stack/neutron/neutron/common/config.py", line 192, in
> load_paste_app
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service     app =
> deploy.loadapp("config:%s" % config_path, name=app_name)
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service   File
> "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py",
> line 247, in loadapp
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service     return
> loadobj(APP, uri, name=name, **kw)
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service   File
> "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py",
> line 272, in loadobj
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service     return
> context.create()
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service   File
> "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py",
> line 710, in create
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service     return
> self.object_type.invoke(self)
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service   File
> "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py",
> line 144, in invoke
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service **context.local_conf)
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service   File
> "/usr/local/lib/python2.7/dist-packages/paste/deploy/util.py", line
> 58, in fix_call
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service reraise(*exc_info)
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service   File
> "/usr/local/lib/python2.7/dist-packages/paste/deploy/compat.py",
> line 23, in reraise
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service     exec('raise
> t, e, tb', dict(t=t, e=e, tb=tb))
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service   File
> "/usr/local/lib/python2.7/dist-packages/paste/deploy/util.py", line
> 55, in fix_call
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service     val =
> callable(*args, **kw)
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service   File
> "/usr/local/lib/python2.7/dist-packages/paste/urlmap.py", line 25,
> in urlmap_factory
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service     app =
> loader.get_app(app_name, global_conf=global_conf)
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service   File
> "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py",
> line 350, in get_app
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service     name=name,
> global_conf=global_conf).create()
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service   File
> "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py",
> line 710, in create
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service     return
> self.object_type.invoke(self)
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service   File
> "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py",
> line 144, in invoke
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service **context.local_conf)
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service   File
> "/usr/local/lib/python2.7/dist-packages/paste/deploy/util.py", line
> 58, in fix_call
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service reraise(*exc_info)
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service   File
> "/usr/local/lib/python2.7/dist-packages/paste/deploy/compat.py",
> line 23, in reraise
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service     exec('raise
> t, e, tb', dict(t=t, e=e, tb=tb))
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service   File
> "/usr/local/lib/python2.7/dist-packages/paste/deploy/util.py", line
> 55, in fix_call
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service     val =
> callable(*args, **kw)
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service   File
> "/opt/stack/neutron/neutron/auth.py", line 74, in pipeline_factory
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service     app = filter(app)
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service   File
> "/opt/stack/neutron/neutron/api/extensions.py", line 392, in
> _factory
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service     return
> ExtensionMiddleware(app, ext_mgr=ext_mgr)
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service   File
> "/opt/stack/neutron/neutron/api/extensions.py", line 317, in
> __init__
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service LOG.debug(str(mapper))
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service   File
> "/usr/local/lib/python2.7/dist-packages/routes/mapper.py", line 409,
> in __str__
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service     for col in
> range(len(table[0]))]
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service   File
> "/usr/local/lib/python2.7/dist-packages/routes/mapper.py", line 408,
> in <genexpr>
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service     widths =
> [max(len(row[col]) for row in table)
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service TypeError:
> object of type 'ExtensionController' has no len()
> 2015-01-27 06:39:50.318 29745 TRACE neutron.service
> 2015-01-27 06:39:50.322 29745 CRITICAL neutron
> [req-369d1412-9fac-449f-8a48-e7adea582d02 None] TypeError: object of
> type 'ExtensionController' has no len()
> 
> 
> 

> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




More information about the OpenStack-dev mailing list