← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1146865] Re: glance-api fails to start

 

** Changed in: glance (Ubuntu)
       Status: Confirmed => Won't Fix

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1146865

Title:
  glance-api fails to start

Status in OpenStack Image Registry and Delivery Service (Glance):
  Incomplete
Status in “glance” package in Ubuntu:
  Won't Fix

Bug description:
  Fresh install from grizzly trunk testing ppa on Ubuntu 12.0.

  root@controller2:/etc/glance# glance-api --debug --verbose
  2013-03-05 07:14:19.530 1812 DEBUG glance.store [-] Attempting to import store glance.store.filesystem.Store _get_store_class /usr/lib/python2.7/dist-packages/glance/store/__init__.py:133
  2013-03-05 07:14:19.531 1812 DEBUG glance.store [-] Registering store <class 'glance.store.filesystem.Store'> with schemes ('file', 'filesystem') create_stores /usr/lib/python2.7/dist-packages/glance/store/__init__.py:163
  2013-03-05 07:14:19.531 1812 DEBUG glance.store.base [-] Late loading location class glance.store.filesystem.StoreLocation get_store_location_class /usr/lib/python2.7/dist-packages/glance/store/base.py:68
  2013-03-05 07:14:19.531 1812 DEBUG glance.store.location [-] Registering scheme file with {'store_class': <class 'glance.store.filesystem.Store'>, 'location_class': <class 'glance.store.filesystem.StoreLocation'>} register_scheme_map /usr/lib/python2.7/dist-packages/glance/store/location.py:85
  2013-03-05 07:14:19.532 1812 DEBUG glance.store.location [-] Registering scheme filesystem with {'store_class': <class 'glance.store.filesystem.Store'>, 'location_class': <class 'glance.store.filesystem.StoreLocation'>} register_scheme_map /usr/lib/python2.7/dist-packages/glance/store/location.py:85
  2013-03-05 07:14:19.532 1812 DEBUG glance.store [-] Attempting to import store glance.store.http.Store _get_store_class /usr/lib/python2.7/dist-packages/glance/store/__init__.py:133
  2013-03-05 07:14:19.532 1812 DEBUG glance.store [-] Registering store <class 'glance.store.http.Store'> with schemes ('http', 'https') create_stores /usr/lib/python2.7/dist-packages/glance/store/__init__.py:163
  2013-03-05 07:14:19.532 1812 DEBUG glance.store.base [-] Late loading location class glance.store.http.StoreLocation get_store_location_class /usr/lib/python2.7/dist-packages/glance/store/base.py:68
  2013-03-05 07:14:19.533 1812 DEBUG glance.store.location [-] Registering scheme http with {'store_class': <class 'glance.store.http.Store'>, 'location_class': <class 'glance.store.http.StoreLocation'>} register_scheme_map /usr/lib/python2.7/dist-packages/glance/store/location.py:85
  2013-03-05 07:14:19.533 1812 DEBUG glance.store.location [-] Registering scheme https with {'store_class': <class 'glance.store.http.Store'>, 'location_class': <class 'glance.store.http.StoreLocation'>} register_scheme_map /usr/lib/python2.7/dist-packages/glance/store/location.py:85
  2013-03-05 07:14:19.533 1812 DEBUG glance.store [-] Attempting to import store glance.store.rbd.Store _get_store_class /usr/lib/python2.7/dist-packages/glance/store/__init__.py:133
  2013-03-05 07:14:19.534 1812 DEBUG glance.store [-] Registering store <class 'glance.store.rbd.Store'> with schemes ('rbd',) create_stores /usr/lib/python2.7/dist-packages/glance/store/__init__.py:163
  2013-03-05 07:14:19.534 1812 DEBUG glance.store.base [-] Late loading location class glance.store.rbd.StoreLocation get_store_location_class /usr/lib/python2.7/dist-packages/glance/store/base.py:68
  2013-03-05 07:14:19.534 1812 DEBUG glance.store.location [-] Registering scheme rbd with {'store_class': <class 'glance.store.rbd.Store'>, 'location_class': <class 'glance.store.rbd.StoreLocation'>} register_scheme_map /usr/lib/python2.7/dist-packages/glance/store/location.py:85
  2013-03-05 07:14:19.534 1812 DEBUG glance.store [-] Attempting to import store glance.store.s3.Store _get_store_class /usr/lib/python2.7/dist-packages/glance/store/__init__.py:133
  2013-03-05 07:14:19.535 1812 DEBUG glance.store [-] Registering store <class 'glance.store.s3.Store'> with schemes ('s3', 's3+http', 's3+https') create_stores /usr/lib/python2.7/dist-packages/glance/store/__init__.py:163
  2013-03-05 07:14:19.535 1812 DEBUG glance.store.base [-] Late loading location class glance.store.s3.StoreLocation get_store_location_class /usr/lib/python2.7/dist-packages/glance/store/base.py:68
  2013-03-05 07:14:19.536 1812 DEBUG glance.store.location [-] Registering scheme s3 with {'store_class': <class 'glance.store.s3.Store'>, 'location_class': <class 'glance.store.s3.StoreLocation'>} register_scheme_map /usr/lib/python2.7/dist-packages/glance/store/location.py:85
  2013-03-05 07:14:19.536 1812 DEBUG glance.store.location [-] Registering scheme s3+http with {'store_class': <class 'glance.store.s3.Store'>, 'location_class': <class 'glance.store.s3.StoreLocation'>} register_scheme_map /usr/lib/python2.7/dist-packages/glance/store/location.py:85
  2013-03-05 07:14:19.536 1812 DEBUG glance.store.location [-] Registering scheme s3+https with {'store_class': <class 'glance.store.s3.Store'>, 'location_class': <class 'glance.store.s3.StoreLocation'>} register_scheme_map /usr/lib/python2.7/dist-packages/glance/store/location.py:85
  2013-03-05 07:14:19.536 1812 DEBUG glance.store [-] Attempting to import store glance.store.swift.Store _get_store_class /usr/lib/python2.7/dist-packages/glance/store/__init__.py:133
  2013-03-05 07:14:19.544 1812 DEBUG glance.store [-] Registering store <function Store at 0x1e350c8> with schemes ('swift+https', 'swift', 'swift+http') create_stores /usr/lib/python2.7/dist-packages/glance/store/__init__.py:163
  2013-03-05 07:14:19.545 1812 DEBUG glance.store.base [-] Late loading location class glance.store.swift.StoreLocation get_store_location_class /usr/lib/python2.7/dist-packages/glance/store/base.py:68
  2013-03-05 07:14:19.545 1812 DEBUG glance.store.location [-] Registering scheme swift+https with {'store_class': <function Store at 0x1e350c8>, 'location_class': <class 'glance.store.swift.StoreLocation'>} register_scheme_map /usr/lib/python2.7/dist-packages/glance/store/location.py:85
  2013-03-05 07:14:19.545 1812 DEBUG glance.store.location [-] Registering scheme swift+http with {'store_class': <function Store at 0x1e350c8>, 'location_class': <class 'glance.store.swift.StoreLocation'>} register_scheme_map /usr/lib/python2.7/dist-packages/glance/store/location.py:85
  2013-03-05 07:14:19.545 1812 DEBUG glance.store.location [-] Registering scheme swift with {'store_class': <function Store at 0x1e350c8>, 'location_class': <class 'glance.store.swift.StoreLocation'>} register_scheme_map /usr/lib/python2.7/dist-packages/glance/store/location.py:85
  2013-03-05 07:14:19.546 1812 DEBUG glance.common.config [-] Loading glance-api-keystone from /etc/glance/glance-api-paste.ini load_paste_app /usr/lib/python2.7/dist-packages/glance/common/config.py:201
  2013-03-05 07:14:19.562 1812 CRITICAL glance [-] duplicate option: log-format
  2013-03-05 07:14:19.562 1812 TRACE glance Traceback (most recent call last):
  2013-03-05 07:14:19.562 1812 TRACE glance   File "/usr/bin/glance-api", line 60, in <module>
  2013-03-05 07:14:19.562 1812 TRACE glance     server.start(config.load_paste_app(), default_port=9292)
  2013-03-05 07:14:19.562 1812 TRACE glance   File "/usr/lib/python2.7/dist-packages/glance/common/config.py", line 203, in load_paste_app
  2013-03-05 07:14:19.562 1812 TRACE glance     app = deploy.loadapp("config:%s" % conf_file, name=app_name)
  2013-03-05 07:14:19.562 1812 TRACE glance   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
  2013-03-05 07:14:19.562 1812 TRACE glance     return loadobj(APP, uri, name=name, **kw)
  2013-03-05 07:14:19.562 1812 TRACE glance   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 271, in loadobj
  2013-03-05 07:14:19.562 1812 TRACE glance     global_conf=global_conf)
  2013-03-05 07:14:19.562 1812 TRACE glance   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 296, in loadcontext
  2013-03-05 07:14:19.562 1812 TRACE glance     global_conf=global_conf)
  2013-03-05 07:14:19.562 1812 TRACE glance   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 320, in _loadconfig
  2013-03-05 07:14:19.562 1812 TRACE glance     return loader.get_context(object_type, name, global_conf)
  2013-03-05 07:14:19.562 1812 TRACE glance   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 450, in get_context
  2013-03-05 07:14:19.562 1812 TRACE glance     global_additions=global_additions)
  2013-03-05 07:14:19.562 1812 TRACE glance   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 562, in _pipeline_app_context
  2013-03-05 07:14:19.562 1812 TRACE glance     for name in pipeline[:-1]]
  2013-03-05 07:14:19.562 1812 TRACE glance   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 458, in get_context
  2013-03-05 07:14:19.562 1812 TRACE glance     section)
  2013-03-05 07:14:19.562 1812 TRACE glance   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 517, in _context_from_explicit
  2013-03-05 07:14:19.562 1812 TRACE glance     value = import_string(found_expr)
  2013-03-05 07:14:19.562 1812 TRACE glance   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 22, in import_string
  2013-03-05 07:14:19.562 1812 TRACE glance     return pkg_resources.EntryPoint.parse("x=" + s).load(False)
  2013-03-05 07:14:19.562 1812 TRACE glance   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1989, in load
  2013-03-05 07:14:19.562 1812 TRACE glance     entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  2013-03-05 07:14:19.562 1812 TRACE glance   File "/usr/lib/python2.7/dist-packages/keystone/middleware/__init__.py", line 17, in <module>
  2013-03-05 07:14:19.562 1812 TRACE glance     from keystone.middleware.core import *
  2013-03-05 07:14:19.562 1812 TRACE glance   File "/usr/lib/python2.7/dist-packages/keystone/middleware/core.py", line 21, in <module>
  2013-03-05 07:14:19.562 1812 TRACE glance     from keystone.common import utils
  2013-03-05 07:14:19.562 1812 TRACE glance   File "/usr/lib/python2.7/dist-packages/keystone/common/utils.py", line 33, in <module>
  2013-03-05 07:14:19.562 1812 TRACE glance     from keystone import config
  2013-03-05 07:14:19.562 1812 TRACE glance   File "/usr/lib/python2.7/dist-packages/keystone/config.py", line 77, in <module>
  2013-03-05 07:14:19.562 1812 TRACE glance     CONF.register_cli_opts(logging_cli_opts)
  2013-03-05 07:14:19.562 1812 TRACE glance   File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1091, in __inner
  2013-03-05 07:14:19.562 1812 TRACE glance     return f(self, *args, **kwargs)
  2013-03-05 07:14:19.562 1812 TRACE glance   File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1244, in register_cli_opts
  2013-03-05 07:14:19.562 1812 TRACE glance     self.register_cli_opt(opt, group, clear_cache=False)
  2013-03-05 07:14:19.562 1812 TRACE glance   File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1091, in __inner
  2013-03-05 07:14:19.562 1812 TRACE glance     return f(self, *args, **kwargs)
  2013-03-05 07:14:19.562 1812 TRACE glance   File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1238, in register_cli_opt
  2013-03-05 07:14:19.562 1812 TRACE glance     return self.register_opt(opt, group, cli=True, clear_cache=False)
  2013-03-05 07:14:19.562 1812 TRACE glance   File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1091, in __inner
  2013-03-05 07:14:19.562 1812 TRACE glance     return f(self, *args, **kwargs)
  2013-03-05 07:14:19.562 1812 TRACE glance   File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1209, in register_opt
  2013-03-05 07:14:19.562 1812 TRACE glance     if _is_opt_registered(self._opts, opt):
  2013-03-05 07:14:19.562 1812 TRACE glance   File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 479, in _is_opt_registered
  2013-03-05 07:14:19.562 1812 TRACE glance     raise DuplicateOptError(opt.name)
  2013-03-05 07:14:19.562 1812 TRACE glance DuplicateOptError: duplicate option: log-format

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