yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #38513
[Bug 1496122] [NEW] CRITICAL nova [-] ImportError: No module named middleware.request_id
Public bug reported:
I'm attempting to deploy openstack using chef. I'm using cookbook
version 12.0 on the liberty deb repository and the os-compute-single-
controller-no-network role. I'm having an issue where nova-api-os-
compute is failing to start. Here is the stack trace.
=2015-09-15 19:27:54.203 98118 WARNING keystonemiddleware.auth_token [-] Use of the auth_admin_prefix, auth_host, auth_port, auth_protocol, identity_uri, admin_token, admin_user, admin_password, and admin_tenant_name configuration options is deprecated in favor of auth_plugin and related options and may be removed in a future release.
2015-09-15 19:27:54.204 98118 CRITICAL nova [-] ImportError: No module named middleware.request_id
2015-09-15 19:27:54.204 98118 ERROR nova Traceback (most recent call last):
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/bin/nova-api-os-compute", line 10, in <module>
2015-09-15 19:27:54.204 98118 ERROR nova sys.exit(main())
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/cmd/api_os_compute.py", line 45, in main
2015-09-15 19:27:54.204 98118 ERROR nova server = service.WSGIService('osapi_compute', use_ssl=should_use_ssl)
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 322, in __init__
2015-09-15 19:27:54.204 98118 ERROR nova self.app = self.loader.load_app(name)
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/wsgi.py", line 533, in load_app
2015-09-15 19:27:54.204 98118 ERROR nova return deploy.loadapp("config:%s" % self.config_path, name=name)
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
2015-09-15 19:27:54.204 98118 ERROR nova return loadobj(APP, uri, name=name, **kw)
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
2015-09-15 19:27:54.204 98118 ERROR nova return context.create()
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
2015-09-15 19:27:54.204 98118 ERROR nova return self.object_type.invoke(self)
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2015-09-15 19:27:54.204 98118 ERROR nova **context.local_conf)
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call
2015-09-15 19:27:54.204 98118 ERROR nova val = callable(*args, **kw)
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/api/openstack/urlmap.py", line 160, in urlmap_factory
2015-09-15 19:27:54.204 98118 ERROR nova app = loader.get_app(app_name, global_conf=global_conf)
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 350, in get_app
2015-09-15 19:27:54.204 98118 ERROR nova name=name, global_conf=global_conf).create()
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
2015-09-15 19:27:54.204 98118 ERROR nova return self.object_type.invoke(self)
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2015-09-15 19:27:54.204 98118 ERROR nova **context.local_conf)
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call
2015-09-15 19:27:54.204 98118 ERROR nova val = callable(*args, **kw)
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/api/auth.py", line 86, in pipeline_factory_v21
2015-09-15 19:27:54.204 98118 ERROR nova return _load_pipeline(loader, local_conf[CONF.auth_strategy].split())
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/api/auth.py", line 60, in _load_pipeline
2015-09-15 19:27:54.204 98118 ERROR nova filters = [loader.get_filter(n) for n in pipeline[:-1]]
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 354, in get_filter
2015-09-15 19:27:54.204 98118 ERROR nova name=name, global_conf=global_conf).create()
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 366, in filter_context
2015-09-15 19:27:54.204 98118 ERROR nova FILTER, name=name, global_conf=global_conf)
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 458, in get_context
2015-09-15 19:27:54.204 98118 ERROR nova section)
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 517, in _context_from_explicit
2015-09-15 19:27:54.204 98118 ERROR nova value = import_string(found_expr)
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 22, in import_string
2015-09-15 19:27:54.204 98118 ERROR nova return pkg_resources.EntryPoint.parse("x=" + s).load(False)
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2355, in load
2015-09-15 19:27:54.204 98118 ERROR nova return self.resolve()
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2361, in resolve
2015-09-15 19:27:54.204 98118 ERROR nova module = __import__(self.module_name, fromlist=['__name__'], level=0)
2015-09-15 19:27:54.204 98118 ERROR nova ImportError: No module named middleware.request_id
2015-09-15 19:27:54.204 98118 ERROR nova
** Affects: nova
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1496122
Title:
CRITICAL nova [-] ImportError: No module named middleware.request_id
Status in OpenStack Compute (nova):
New
Bug description:
I'm attempting to deploy openstack using chef. I'm using cookbook
version 12.0 on the liberty deb repository and the os-compute-single-
controller-no-network role. I'm having an issue where nova-api-os-
compute is failing to start. Here is the stack trace.
=2015-09-15 19:27:54.203 98118 WARNING keystonemiddleware.auth_token [-] Use of the auth_admin_prefix, auth_host, auth_port, auth_protocol, identity_uri, admin_token, admin_user, admin_password, and admin_tenant_name configuration options is deprecated in favor of auth_plugin and related options and may be removed in a future release.
2015-09-15 19:27:54.204 98118 CRITICAL nova [-] ImportError: No module named middleware.request_id
2015-09-15 19:27:54.204 98118 ERROR nova Traceback (most recent call last):
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/bin/nova-api-os-compute", line 10, in <module>
2015-09-15 19:27:54.204 98118 ERROR nova sys.exit(main())
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/cmd/api_os_compute.py", line 45, in main
2015-09-15 19:27:54.204 98118 ERROR nova server = service.WSGIService('osapi_compute', use_ssl=should_use_ssl)
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 322, in __init__
2015-09-15 19:27:54.204 98118 ERROR nova self.app = self.loader.load_app(name)
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/wsgi.py", line 533, in load_app
2015-09-15 19:27:54.204 98118 ERROR nova return deploy.loadapp("config:%s" % self.config_path, name=name)
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
2015-09-15 19:27:54.204 98118 ERROR nova return loadobj(APP, uri, name=name, **kw)
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
2015-09-15 19:27:54.204 98118 ERROR nova return context.create()
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
2015-09-15 19:27:54.204 98118 ERROR nova return self.object_type.invoke(self)
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2015-09-15 19:27:54.204 98118 ERROR nova **context.local_conf)
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call
2015-09-15 19:27:54.204 98118 ERROR nova val = callable(*args, **kw)
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/api/openstack/urlmap.py", line 160, in urlmap_factory
2015-09-15 19:27:54.204 98118 ERROR nova app = loader.get_app(app_name, global_conf=global_conf)
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 350, in get_app
2015-09-15 19:27:54.204 98118 ERROR nova name=name, global_conf=global_conf).create()
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
2015-09-15 19:27:54.204 98118 ERROR nova return self.object_type.invoke(self)
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2015-09-15 19:27:54.204 98118 ERROR nova **context.local_conf)
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call
2015-09-15 19:27:54.204 98118 ERROR nova val = callable(*args, **kw)
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/api/auth.py", line 86, in pipeline_factory_v21
2015-09-15 19:27:54.204 98118 ERROR nova return _load_pipeline(loader, local_conf[CONF.auth_strategy].split())
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/api/auth.py", line 60, in _load_pipeline
2015-09-15 19:27:54.204 98118 ERROR nova filters = [loader.get_filter(n) for n in pipeline[:-1]]
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 354, in get_filter
2015-09-15 19:27:54.204 98118 ERROR nova name=name, global_conf=global_conf).create()
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 366, in filter_context
2015-09-15 19:27:54.204 98118 ERROR nova FILTER, name=name, global_conf=global_conf)
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 458, in get_context
2015-09-15 19:27:54.204 98118 ERROR nova section)
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 517, in _context_from_explicit
2015-09-15 19:27:54.204 98118 ERROR nova value = import_string(found_expr)
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 22, in import_string
2015-09-15 19:27:54.204 98118 ERROR nova return pkg_resources.EntryPoint.parse("x=" + s).load(False)
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2355, in load
2015-09-15 19:27:54.204 98118 ERROR nova return self.resolve()
2015-09-15 19:27:54.204 98118 ERROR nova File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2361, in resolve
2015-09-15 19:27:54.204 98118 ERROR nova module = __import__(self.module_name, fromlist=['__name__'], level=0)
2015-09-15 19:27:54.204 98118 ERROR nova ImportError: No module named middleware.request_id
2015-09-15 19:27:54.204 98118 ERROR nova
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1496122/+subscriptions
Follow ups