Public bug reported:

The version of oslo.log referenced leads to this error and keystone
won't start:

2015-11-04 15:36:00.423 6292 CRITICAL keystone [-] AttributeError: type object 
'deprecated' has no attribute 'MITAKA'
2015-11-04 15:36:00.423 6292 ERROR keystone Traceback (most recent call last):
2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/venv/keystone/bin/keystone-all", line 10, in <module>
2015-11-04 15:36:00.423 6292 ERROR keystone     sys.exit(main())
2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/keystone/keystone/cmd/all.py", line 39, in main
2015-11-04 15:36:00.423 6292 ERROR keystone     
eventlet_server.run(possible_topdir)
2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/keystone/keystone/server/eventlet.py", line 155, in run
2015-11-04 15:36:00.423 6292 ERROR keystone     
startup_application_fn=create_servers)
2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/keystone/keystone/server/common.py", line 51, in setup_bac
kends
2015-11-04 15:36:00.423 6292 ERROR keystone     res = startup_application_fn()
2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/keystone/keystone/server/eventlet.py", line 146, in create
_servers
2015-11-04 15:36:00.423 6292 ERROR keystone     admin_worker_count))
2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/keystone/keystone/server/eventlet.py", line 64, in create_
server
2015-11-04 15:36:00.423 6292 ERROR keystone     app = 
keystone_service.loadapp('config:%s' % conf, name)
2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/keystone/keystone/version/service.py", line 47, in loadapp
2015-11-04 15:36:00.423 6292 ERROR keystone     controllers.latest_app = 
deploy.loadapp(conf, name=name)
2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/venv/keystone/local/lib/python2.7/site-packages/paste/depl
oy/loadwsgi.py", line 247, in loadapp
2015-11-04 15:36:00.423 6292 ERROR keystone     return loadobj(APP, uri, 
name=name, **kw)
2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/venv/keystone/local/lib/python2.7/site-packages/paste/depl
oy/loadwsgi.py", line 272, in loadobj
2015-11-04 15:36:00.423 6292 ERROR keystone     return context.create()
2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/venv/keystone/local/lib/python2.7/site-packages/paste/depl
oy/loadwsgi.py", line 710, in create
2015-11-04 15:36:00.423 6292 ERROR keystone     return 
self.object_type.invoke(self)
2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/venv/keystone/local/lib/python2.7/site-packages/paste/depl
oy/loadwsgi.py", line 144, in invoke
2015-11-04 15:36:00.423 6292 ERROR keystone     **context.local_conf)
2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/venv/keystone/local/lib/python2.7/site-packages/paste/depl
oy/util.py", line 55, in fix_call
2015-11-04 15:36:00.423 6292 ERROR keystone     val = callable(*args, **kw)
2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/venv/keystone/local/lib/python2.7/site-packages/paste/urlm
ap.py", line 31, in urlmap_factory
2015-11-04 15:36:00.423 6292 ERROR keystone     app = loader.get_app(app_name, 
global_conf=global_conf)
2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/venv/keystone/local/lib/python2.7/site-packages/paste/depl
oy/loadwsgi.py", line 350, in get_app
2015-11-04 15:36:00.423 6292 ERROR keystone     name=name, 
global_conf=global_conf).create()
2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/venv/keystone/local/lib/python2.7/site-packages/paste/depl
oy/loadwsgi.py", line 362, in app_context
2015-11-04 15:36:00.423 6292 ERROR keystone     APP, name=name, 
global_conf=global_conf)
2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/venv/keystone/local/lib/python2.7/site-packages/paste/depl
oy/loadwsgi.py", line 450, in get_context
2015-11-04 15:36:00.423 6292 ERROR keystone     
global_additions=global_additions)
2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/venv/keystone/local/lib/python2.7/site-packages/paste/depl
oy/loadwsgi.py", line 559, in _pipeline_app_context
2015-11-04 15:36:00.423 6292 ERROR keystone     APP, pipeline[-1], global_conf)
2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/venv/keystone/local/lib/python2.7/site-packages/paste/depl
oy/loadwsgi.py", line 458, in get_context
2015-11-04 15:36:00.423 6292 ERROR keystone     section)
2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/venv/keystone/local/lib/python2.7/site-packages/paste/depl
oy/loadwsgi.py", line 517, in _context_from_explicit
2015-11-04 15:36:00.423 6292 ERROR keystone     value = 
import_string(found_expr)
2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/venv/keystone/local/lib/python2.7/site-packages/paste/depl
oy/loadwsgi.py", line 22, in import_string
2015-11-04 15:36:00.423 6292 ERROR keystone     return 
pkg_resources.EntryPoint.parse("x=" + s).load(False)
2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/venv/keystone/local/lib/python2.7/site-packages/pkg_resour
ces/__init__.py", line 2355, in load
2015-11-04 15:36:00.423 6292 ERROR keystone     return self.resolve()
2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/venv/keystone/local/lib/python2.7/site-packages/pkg_resour
ces/__init__.py", line 2361, in resolve
2015-11-04 15:36:00.423 6292 ERROR keystone     module = 
__import__(self.module_name, fromlist=['__name__'], level=0)
2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/keystone/keystone/service.py", line 39, in <module>
2015-11-04 15:36:00.423 6292 ERROR keystone     @deprecated_to_version
2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/keystone/keystone/service.py", line 36, in deprecated_to_v
ersion
2015-11-04 15:36:00.423 6292 ERROR keystone     return wrapper()
2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/keystone/keystone/service.py", line 32, in wrapper
2015-11-04 15:36:00.423 6292 ERROR keystone     
as_of=versionutils.deprecated.MITAKA,
2015-11-04 15:36:00.423 6292 ERROR keystone AttributeError: type object 
'deprecated' has no attribute 'MITAKA'
2015-11-04 15:36:00.423 6292 ERROR keystone

** Affects: keystone
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1513119

Title:
  Keystone startup failure due to missing MITAKA constant

Status in OpenStack Identity (keystone):
  New

Bug description:
  The version of oslo.log referenced leads to this error and keystone
  won't start:

  2015-11-04 15:36:00.423 6292 CRITICAL keystone [-] AttributeError: type 
object 'deprecated' has no attribute 'MITAKA'
  2015-11-04 15:36:00.423 6292 ERROR keystone Traceback (most recent call last):
  2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/venv/keystone/bin/keystone-all", line 10, in <module>
  2015-11-04 15:36:00.423 6292 ERROR keystone     sys.exit(main())
  2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/keystone/keystone/cmd/all.py", line 39, in main
  2015-11-04 15:36:00.423 6292 ERROR keystone     
eventlet_server.run(possible_topdir)
  2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/keystone/keystone/server/eventlet.py", line 155, in run
  2015-11-04 15:36:00.423 6292 ERROR keystone     
startup_application_fn=create_servers)
  2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/keystone/keystone/server/common.py", line 51, in setup_bac
  kends
  2015-11-04 15:36:00.423 6292 ERROR keystone     res = startup_application_fn()
  2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/keystone/keystone/server/eventlet.py", line 146, in create
  _servers
  2015-11-04 15:36:00.423 6292 ERROR keystone     admin_worker_count))
  2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/keystone/keystone/server/eventlet.py", line 64, in create_
  server
  2015-11-04 15:36:00.423 6292 ERROR keystone     app = 
keystone_service.loadapp('config:%s' % conf, name)
  2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/keystone/keystone/version/service.py", line 47, in loadapp
  2015-11-04 15:36:00.423 6292 ERROR keystone     controllers.latest_app = 
deploy.loadapp(conf, name=name)
  2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/venv/keystone/local/lib/python2.7/site-packages/paste/depl
  oy/loadwsgi.py", line 247, in loadapp
  2015-11-04 15:36:00.423 6292 ERROR keystone     return loadobj(APP, uri, 
name=name, **kw)
  2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/venv/keystone/local/lib/python2.7/site-packages/paste/depl
  oy/loadwsgi.py", line 272, in loadobj
  2015-11-04 15:36:00.423 6292 ERROR keystone     return context.create()
  2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/venv/keystone/local/lib/python2.7/site-packages/paste/depl
  oy/loadwsgi.py", line 710, in create
  2015-11-04 15:36:00.423 6292 ERROR keystone     return 
self.object_type.invoke(self)
  2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/venv/keystone/local/lib/python2.7/site-packages/paste/depl
  oy/loadwsgi.py", line 144, in invoke
  2015-11-04 15:36:00.423 6292 ERROR keystone     **context.local_conf)
  2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/venv/keystone/local/lib/python2.7/site-packages/paste/depl
  oy/util.py", line 55, in fix_call
  2015-11-04 15:36:00.423 6292 ERROR keystone     val = callable(*args, **kw)
  2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/venv/keystone/local/lib/python2.7/site-packages/paste/urlm
  ap.py", line 31, in urlmap_factory
  2015-11-04 15:36:00.423 6292 ERROR keystone     app = 
loader.get_app(app_name, global_conf=global_conf)
  2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/venv/keystone/local/lib/python2.7/site-packages/paste/depl
  oy/loadwsgi.py", line 350, in get_app
  2015-11-04 15:36:00.423 6292 ERROR keystone     name=name, 
global_conf=global_conf).create()
  2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/venv/keystone/local/lib/python2.7/site-packages/paste/depl
  oy/loadwsgi.py", line 362, in app_context
  2015-11-04 15:36:00.423 6292 ERROR keystone     APP, name=name, 
global_conf=global_conf)
  2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/venv/keystone/local/lib/python2.7/site-packages/paste/depl
  oy/loadwsgi.py", line 450, in get_context
  2015-11-04 15:36:00.423 6292 ERROR keystone     
global_additions=global_additions)
  2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/venv/keystone/local/lib/python2.7/site-packages/paste/depl
  oy/loadwsgi.py", line 559, in _pipeline_app_context
  2015-11-04 15:36:00.423 6292 ERROR keystone     APP, pipeline[-1], 
global_conf)
  2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/venv/keystone/local/lib/python2.7/site-packages/paste/depl
  oy/loadwsgi.py", line 458, in get_context
  2015-11-04 15:36:00.423 6292 ERROR keystone     section)
  2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/venv/keystone/local/lib/python2.7/site-packages/paste/depl
  oy/loadwsgi.py", line 517, in _context_from_explicit
  2015-11-04 15:36:00.423 6292 ERROR keystone     value = 
import_string(found_expr)
  2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/venv/keystone/local/lib/python2.7/site-packages/paste/depl
  oy/loadwsgi.py", line 22, in import_string
  2015-11-04 15:36:00.423 6292 ERROR keystone     return 
pkg_resources.EntryPoint.parse("x=" + s).load(False)
  2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/venv/keystone/local/lib/python2.7/site-packages/pkg_resour
  ces/__init__.py", line 2355, in load
  2015-11-04 15:36:00.423 6292 ERROR keystone     return self.resolve()
  2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/venv/keystone/local/lib/python2.7/site-packages/pkg_resour
  ces/__init__.py", line 2361, in resolve
  2015-11-04 15:36:00.423 6292 ERROR keystone     module = 
__import__(self.module_name, fromlist=['__name__'], level=0)
  2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/keystone/keystone/service.py", line 39, in <module>
  2015-11-04 15:36:00.423 6292 ERROR keystone     @deprecated_to_version
  2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/keystone/keystone/service.py", line 36, in deprecated_to_v
  ersion
  2015-11-04 15:36:00.423 6292 ERROR keystone     return wrapper()
  2015-11-04 15:36:00.423 6292 ERROR keystone   File 
"/home/bde/keystone/keystone/service.py", line 32, in wrapper
  2015-11-04 15:36:00.423 6292 ERROR keystone     
as_of=versionutils.deprecated.MITAKA,
  2015-11-04 15:36:00.423 6292 ERROR keystone AttributeError: type object 
'deprecated' has no attribute 'MITAKA'
  2015-11-04 15:36:00.423 6292 ERROR keystone

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1513119/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to