[Openstack-devel] Bug#682836: keystone does not start up

nakagawa makoto makoto.nakagawa at hp.com
Thu Jul 26 07:00:16 UTC 2012


Package: keystone
Version: 2012.1.1-1
Severity: important

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these lines ***

I have upgraded my debian installation to wheezy and installed keystone. It failed to start up with a following log(temp/keystone.log). I also found that it did start up all right and worked fine with python-greenlet from unstable(=0.3.3-1).

I do not know if this should be filed against keystone, but I report it anyway.

*** temp/keystone.log
2012-07-26 15:41:13    DEBUG [keystone-all] ********************************************************************************
2012-07-26 15:41:13    DEBUG [keystone-all] Configuration options gathered from:
2012-07-26 15:41:13    DEBUG [keystone-all] command line args: ['/usr/bin/keystone-all']
2012-07-26 15:41:13    DEBUG [keystone-all] config files: ['/etc/keystone/keystone.conf']
2012-07-26 15:41:13    DEBUG [keystone-all] ================================================================================
2012-07-26 15:41:13    DEBUG [keystone-all] admin_port                     = 35357
2012-07-26 15:41:13    DEBUG [keystone-all] admin_token                    = ADMIN
2012-07-26 15:41:13    DEBUG [keystone-all] bind_host                      = 0.0.0.0
2012-07-26 15:41:13    DEBUG [keystone-all] compute_port                   = 8774
2012-07-26 15:41:13    DEBUG [keystone-all] config_file                    = ['/etc/keystone/keystone.conf']
2012-07-26 15:41:13    DEBUG [keystone-all] crypt_strength                 = 40000
2012-07-26 15:41:13    DEBUG [keystone-all] debug                          = True
2012-07-26 15:41:14    DEBUG [keystone-all] log_config                     = None
2012-07-26 15:41:14    DEBUG [keystone-all] log_date_format                = %Y-%m-%d %H:%M:%S
2012-07-26 15:41:14    DEBUG [keystone-all] log_dir                        = None
2012-07-26 15:41:14    DEBUG [keystone-all] log_file                       = None
2012-07-26 15:41:14    DEBUG [keystone-all] log_format                     = %(asctime)s %(levelname)8s [%(name)s] %(message)s
2012-07-26 15:41:14    DEBUG [keystone-all] public_port                    = 5000
2012-07-26 15:41:14    DEBUG [keystone-all] syslog_log_facility            = LOG_USER
2012-07-26 15:41:14    DEBUG [keystone-all] use_syslog                     = False
2012-07-26 15:41:14    DEBUG [keystone-all] verbose                        = True
2012-07-26 15:41:14    DEBUG [keystone-all] ldap.password                  = None
2012-07-26 15:41:14    DEBUG [keystone-all] ldap.role_id_attribute         = None
2012-07-26 15:41:14    DEBUG [keystone-all] ldap.role_member_attribute     = None
2012-07-26 15:41:14    DEBUG [keystone-all] ldap.role_objectclass          = None
2012-07-26 15:41:14    DEBUG [keystone-all] ldap.role_tree_dn              = None
2012-07-26 15:41:14    DEBUG [keystone-all] ldap.suffix                    = None
2012-07-26 15:41:14    DEBUG [keystone-all] ldap.tenant_id_attribute       = None
2012-07-26 15:41:14    DEBUG [keystone-all] ldap.tenant_member_attribute   = None
2012-07-26 15:41:14    DEBUG [keystone-all] ldap.tenant_objectclass        = None
2012-07-26 15:41:14    DEBUG [keystone-all] ldap.tenant_tree_dn            = None
2012-07-26 15:41:14    DEBUG [keystone-all] ldap.url                       = None
2012-07-26 15:41:14    DEBUG [keystone-all] ldap.use_dumb_member           = None
2012-07-26 15:41:14    DEBUG [keystone-all] ldap.user                      = None
2012-07-26 15:41:14    DEBUG [keystone-all] ldap.user_id_attribute         = None
2012-07-26 15:41:14    DEBUG [keystone-all] ldap.user_objectclass          = None
2012-07-26 15:41:14    DEBUG [keystone-all] ldap.user_tree_dn              = None
2012-07-26 15:41:14    DEBUG [keystone-all] token.driver                   = keystone.token.backends.kvs.Token
2012-07-26 15:41:14    DEBUG [keystone-all] catalog.driver                 = keystone.catalog.backends.templated.TemplatedCatalog
2012-07-26 15:41:14    DEBUG [keystone-all] ec2.driver                     = keystone.contrib.ec2.backends.kvs.Ec2
2012-07-26 15:41:14    DEBUG [keystone-all] sql.connection                 = sqlite:////var/lib/keystone/keystone.sqlite
2012-07-26 15:41:14    DEBUG [keystone-all] sql.idle_timeout               = 200
2012-07-26 15:41:14    DEBUG [keystone-all] policy.driver                  = keystone.policy.backends.rules.Policy
2012-07-26 15:41:14    DEBUG [keystone-all] identity.driver                = keystone.identity.backends.sql.Identity
2012-07-26 15:41:14    DEBUG [keystone-all] ********************************************************************************
2012-07-26 15:41:18    DEBUG [routes.middleware] Initialized with method overriding = True, and path info altering = True
2012-07-26 15:41:18    DEBUG [routes.middleware] Initialized with method overriding = True, and path info altering = True
2012-07-26 15:41:18    DEBUG [routes.middleware] Initialized with method overriding = True, and path info altering = True
2012-07-26 15:41:18    DEBUG [routes.middleware] Initialized with method overriding = True, and path info altering = True
2012-07-26 15:41:18    DEBUG [routes.middleware] Initialized with method overriding = True, and path info altering = True
2012-07-26 15:41:18    DEBUG [routes.middleware] Initialized with method overriding = True, and path info altering = True
2012-07-26 15:41:18    DEBUG [routes.middleware] Initialized with method overriding = True, and path info altering = True
2012-07-26 15:41:18    DEBUG [routes.middleware] Initialized with method overriding = True, and path info altering = True
2012-07-26 15:41:18    DEBUG [routes.middleware] Initialized with method overriding = True, and path info altering = True
2012-07-26 15:41:18    DEBUG [root] starting server {(None, ''): <keystone.middleware.core.XmlBodyMiddleware object at 0x8e96cac>, (None, '/v2.0'): <keystone.middleware.core.TokenAuthMiddleware object at 0x8e8ef4c>} on port 35357
2012-07-26 15:41:18    DEBUG [keystone.common.wsgi] Starting /usr/bin/keystone-all on 0.0.0.0:35357
2012-07-26 15:41:18    DEBUG [root] starting server {(None, ''): <keystone.middleware.core.XmlBodyMiddleware object at 0x8ede32c>, (None, '/v2.0'): <keystone.middleware.core.TokenAuthMiddleware object at 0x8eda66c>} on port 5000
2012-07-26 15:41:18    DEBUG [keystone.common.wsgi] Starting /usr/bin/keystone-all on 0.0.0.0:5000
2012-07-26 15:41:18    DEBUG [eventlet.wsgi.server] (1343) wsgi starting up on http://0.0.0.0:35357/

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 336, in fire_timers
    timer()
  File "/usr/lib/python2.7/dist-packages/eventlet/hubs/timer.py", line 56, in __call__
    cb(*args, **kw)
SystemError: error return without exception set
2012-07-26 15:41:18    DEBUG [eventlet.wsgi.server] (1343) wsgi starting up on http://0.0.0.0:5000/
Segmentation fault


-- System Information:
Debian Release: wheezy/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (201, 'stable'), (101, 'testing'), (98, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.4.4
Locale: LANG=ja_JP.eucJP, LC_CTYPE=ja_JP.eucJP (charmap=EUC-JP)
Shell: /bin/sh linked to /bin/bash

Versions of packages keystone depends on:
ii  adduser                3.113+nmu3
ii  dbconfig-common        1.8.47+nmu1
ii  debconf [debconf-2.0]  1.5.44
ii  lsb-base               4.1+Debian7
ii  python                 2.7.3~rc2-1
ii  python-keystone        2012.1.1-1
ii  python-keystoneclient  2012.1-3

keystone recommends no packages.

keystone suggests no packages.

-- Configuration Files:
/etc/keystone/keystone.conf changed:
[DEFAULT]
public_port = 5000
admin_port = 35357
admin_token = ADMIN
compute_port = 8774
verbose = True
debug = True
use_syslog = False
[sql]
connection = sqlite:////var/lib/keystone/keystone.sqlite
idle_timeout = 200
[ldap]
[identity]
driver = keystone.identity.backends.sql.Identity
[catalog]
driver = keystone.catalog.backends.templated.TemplatedCatalog
template_file = /etc/keystone/default_catalog.templates
[token]
driver = keystone.token.backends.kvs.Token
expiration = 86400
[policy]
driver = keystone.policy.backends.rules.Policy
[ec2]
driver = keystone.contrib.ec2.backends.kvs.Ec2
[filter:debug]
paste.filter_factory = keystone.common.wsgi:Debug.factory
[filter:token_auth]
paste.filter_factory = keystone.middleware:TokenAuthMiddleware.factory
[filter:admin_token_auth]
paste.filter_factory = keystone.middleware:AdminTokenAuthMiddleware.factory
[filter:xml_body]
paste.filter_factory = keystone.middleware:XmlBodyMiddleware.factory
[filter:json_body]
paste.filter_factory = keystone.middleware:JsonBodyMiddleware.factory
[filter:crud_extension]
paste.filter_factory = keystone.contrib.admin_crud:CrudExtension.factory
[filter:ec2_extension]
paste.filter_factory = keystone.contrib.ec2:Ec2Extension.factory
[app:public_service]
paste.app_factory = keystone.service:public_app_factory
[app:admin_service]
paste.app_factory = keystone.service:admin_app_factory
[pipeline:public_api]
pipeline = token_auth admin_token_auth xml_body json_body debug ec2_extension public_service
[pipeline:admin_api]
pipeline = token_auth admin_token_auth xml_body json_body debug ec2_extension crud_extension admin_service
[app:public_version_service]
paste.app_factory = keystone.service:public_version_app_factory
[app:admin_version_service]
paste.app_factory = keystone.service:admin_version_app_factory
[pipeline:public_version_api]
pipeline = xml_body public_version_service
[pipeline:admin_version_api]
pipeline = xml_body admin_version_service
[composite:main]
use = egg:Paste#urlmap
/v2.0 = public_api
/ = public_version_api
[composite:admin]
use = egg:Paste#urlmap
/v2.0 = admin_api
/ = admin_version_api


-- debconf information:
  keystone/password-confirm: (password omitted)
  keystone/app-password-confirm: (password omitted)
  keystone/mysql/app-pass: (password omitted)
  keystone/pgsql/admin-pass: (password omitted)
  keystone/mysql/admin-pass: (password omitted)
  keystone/pgsql/app-pass: (password omitted)
  keystone/internal/skip-preseed: false
  keystone/dbconfig-remove:
  keystone/missing-db-package-error: abort
  keystone/passwords-do-not-match:
  keystone/pgsql/authmethod-admin: ident
* keystone/database-type: sqlite3
  keystone/install-error: abort
  keystone/upgrade-backup: true
  keystone/upgrade-error: abort
* keystone/configure_db: true
  keystone/remote/host:
  keystone/pgsql/method: unix socket
  keystone/pgsql/changeconf: false
  keystone/internal/reconfiguring: false
  keystone/dbconfig-upgrade: true
* keystone/db/basepath: /var/lib/keystone
  keystone/pgsql/admin-user: postgres
  keystone/remote/newhost:
* keystone/auth-token: ADMIN
  keystone/db/app-user:
  keystone/mysql/method: unix socket
  keystone/dbconfig-install: true
  keystone/dbconfig-reinstall: false
  keystone/remove-error: abort
  keystone/pgsql/no-empty-passwords:
  keystone/pgsql/manualconf:
  keystone/mysql/admin-user: root
  keystone/pgsql/authmethod-user:
  keystone/purge: false
  keystone/remote/port:
* keystone/db/dbname: keystone.sqlite



More information about the Openstack-devel mailing list