Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

keystone stop/waiting

Hello all,

I follow the installation guide in http://docs.openstack.org/grizzly/basic-install/apt/content/, but I found that I can't start keystone. After installation, when I try

sudo service keystone start

The output is:

keystone start/running, process 26102

But when I try

sudo service keystone status

The output is:

keystone stop/waiting

Then I open the keystone.log file, the output is like this:

2013-08-09 09:54:00    DEBUG [keystone-all] ************************************
********************************************
2013-08-09 09:54:00    DEBUG [keystone-all] Configuration options gathered from:
2013-08-09 09:54:00    DEBUG [keystone-all] command line args: []
2013-08-09 09:54:00    DEBUG [keystone-all] config files: ['/etc/keystone/keystone.conf']
2013-08-09 09:54:00    DEBUG [keystone-all] ====================================
============================================
2013-08-09 09:54:00    DEBUG [keystone-all] admin_endpoint = http://localhost:%(admin_port)s/
2013-08-09 09:54:00    DEBUG [keystone-all] admin_port = 35357
2013-08-09 09:54:00    DEBUG [keystone-all] admin_token = ********
2013-08-09 09:54:00    DEBUG [keystone-all] auth_admin_prefix =
2013-08-09 09:54:00    DEBUG [keystone-all] bind_host = 0.0.0.0
2013-08-09 09:54:00    DEBUG [keystone-all] compute_port = 8774
2013-08-09 09:54:00    DEBUG [keystone-all] config_dir = None
2013-08-09 09:54:00    DEBUG [keystone-all] config_file = ['/etc/keystone/keystone.conf']
2013-08-09 09:54:00    DEBUG [keystone-all] config_dir = None
2013-08-09 09:54:00    DEBUG [keystone-all] config_file = ['/etc/keystone/keystone.conf']
2013-08-09 09:54:00    DEBUG [keystone-all] crypt_strength = 40000
2013-08-09 09:54:00    DEBUG [keystone-all] debug = True
2013-08-09 09:54:00    DEBUG [keystone-all] log_config = None
2013-08-09 09:54:00    DEBUG [keystone-all] log_date_format = %Y-%m-%d %H:%M:%S
2013-08-09 09:54:00    DEBUG [keystone-all] log_dir = /var/log/keystone
2013-08-09 09:54:00    DEBUG [keystone-all] log_file = keystone.log
2013-08-09 09:54:00    DEBUG [keystone-all] log_format = %(asctime)s %(levelname)8s [%(name)s] %(message)s
2013-08-09 09:54:00    DEBUG [keystone-all] max_param_size = 64
2013-08-09 09:54:00    DEBUG [keystone-all] max_request_body_size = 114688
2013-08-09 09:54:00    DEBUG [keystone-all] max_token_size = 8192
2013-08-09 09:54:00    DEBUG [keystone-all] max_request_body_size = 114688
2013-08-09 09:54:00    DEBUG [keystone-all] max_token_size = 8192
2013-08-09 09:54:00    DEBUG [keystone-all] member_role_id = 9fe2ff9ee4384b1894a90878d3e92bab
2013-08-09 09:54:00    DEBUG [keystone-all] member_role_name = _member_
2013-08-09 09:54:00    DEBUG [keystone-all] onready = None
2013-08-09 09:54:00    DEBUG [keystone-all] policy_default_rule = None
2013-08-09 09:54:00    DEBUG [keystone-all] policy_file = policy.json
2013-08-09 09:54:00    DEBUG [keystone-all] public_endpoint = http://localhost:%(public_port)s/
2013-08-09 09:54:00    DEBUG [keystone-all] public_port = 5000
2013-08-09 09:54:00    DEBUG [keystone-all] pydev_debug_host = None
2013-08-09 09:54:00    DEBUG [keystone-all] pydev_debug_port = None
2013-08-09 09:54:00    DEBUG [keystone-all] pydev_debug_host = None
2013-08-09 09:54:00    DEBUG [keystone-all] pydev_debug_port = None
2013-08-09 09:54:00    DEBUG [keystone-all] standard_threads               = False
2013-08-09 09:54:00    DEBUG [keystone-all] syslog_log_facility = LOG_USER
2013-08-09 09:54:00    DEBUG [keystone-all] use_syslog = False
2013-08-09 09:54:00    DEBUG [keystone-all] verbose = True
2013-08-09 09:54:00    DEBUG [keystone-all] signing.ca_certs = /etc/keystone/ssl/certs/ca.pem
2013-08-09 09:54:00    DEBUG [keystone-all] signing.ca_password = None
2013-08-09 09:54:00    DEBUG [keystone-all] signing.certfile = /etc/keystone/ssl/certs/signing_cert.pem
2013-08-09 09:54:00    DEBUG [keystone-all] signing.key_size = 1024
2013-08-09 09:54:00    DEBUG [keystone-all] signing.keyfile = /etc/keystone/ssl/private/signing_key.pem
2013-08-09 09:54:00    DEBUG [keystone-all] signing.token_format = PKI
2013-08-09 09:54:00    DEBUG [keystone-all] signing.keyfile = /etc/keystone/ssl/private/signing_key.pem
2013-08-09 09:54:00    DEBUG [keystone-all] signing.token_format = PKI
2013-08-09 09:54:00    DEBUG [keystone-all] signing.valid_days = 3650
2013-08-09 09:54:00    DEBUG [keystone-all] stats.driver = keystone.contrib.stats.backends.kvs.Stats
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.alias_dereferencing       = default
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.allow_subtree_delete      = False
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.domain_allow_create       = True
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.domain_allow_delete       = True
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.domain_allow_update       = True
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.domain_attribute_ignore   =
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.domain_desc_attribute     = description
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.domain_enabled_attribute  = enabled
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.domain_desc_attribute     = description
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.domain_enabled_attribute  = enabled
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.domain_enabled_emulation  = False
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.domain_enabled_emulation_dn = None
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.domain_filter = None
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.domain_id_attribute       = cn
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.domain_member_attribute   = member
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.domain_name_attribute     = ou
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.domain_objectclass = groupOfNames
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.domain_tree_dn = None
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.dumb_member = cn=dumb,dc=nonexistent
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.group_allow_create = True
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.dumb_member = cn=dumb,dc=nonexistent
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.group_allow_create = True
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.group_allow_delete        = True
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.group_allow_update = True
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.group_attribute_ignore    =
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.group_desc_attribute      = description
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.group_domain_id_attribute = businessCategory
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.group_filter = None
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.group_id_attribute = cn
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.group_member_attribute    = member
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.group_name_attribute      = ou
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.group_objectclass = groupOfNames
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.group_tree_dn = None
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.group_objectclass = groupOfNames
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.group_tree_dn = None
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.page_size = 0
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.password = ****
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.query_scope = one
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.role_allow_create = True
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.role_allow_delete = True
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.role_allow_update = True
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.role_attribute_ignore     =
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.role_filter = None
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.role_id_attribute = cn
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.role_member_attribute     = roleOccupant
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.role_name_attribute       = ou
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.role_objectclass = organizationalRole
013-08-09 09:54:00    DEBUG [keystone-all] ldap.role_name_attribute       = ou
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.role_objectclass = organizationalRole
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.role_tree_dn = None
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.suffix = cn=example,cn=com
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.tenant_allow_create       = True
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.tenant_allow_delete       = True
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.tenant_allow_update       = True
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.tenant_attribute_ignore   =
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.tenant_desc_attribute     = description
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.tenant_domain_id_attribute = businessCategory
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.tenant_enabled_attribute  = enabled
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.tenant_enabled_emulation  = False
013-08-09 09:54:00    DEBUG [keystone-all] ldap.tenant_enabled_attribute  = enabled
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.tenant_enabled_emulation  = False
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.tenant_enabled_emulation_dn = None
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.tenant_filter = None
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.tenant_id_attribute       = cn
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.tenant_member_attribute   = member
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.tenant_name_attribute     = ou
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.tenant_objectclass = groupOfNames
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.tenant_tree_dn = None
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.url = ldap://localhost
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.use_dumb_member = False
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.user = None
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.use_dumb_member = False
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.user = None
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.user_allow_create         = True
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.user_allow_delete = True
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.user_allow_update = True
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.user_attribute_ignore     = tenant_id,tenants
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.user_domain_id_attribute  = businessCategory
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.user_enabled_attribute    = enabled
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.user_enabled_default      = True
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.user_enabled_emulation    = False
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.user_enabled_emulation_dn = None
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.user_enabled_mask = 0
013-08-09 09:54:00    DEBUG [keystone-all] ldap.user_enabled_emulation_dn = None
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.user_enabled_mask = 0
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.user_filter = None
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.user_id_attribute = cn
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.user_mail_attribute       = email
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.user_name_attribute       = sn
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.user_objectclass = inetOrgPerson
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.user_pass_attribute       = userPassword
2013-08-09 09:54:00    DEBUG [keystone-all] ldap.user_tree_dn = None
2013-08-09 09:54:00    DEBUG [keystone-all] token.driver = keystone.token.backends.kvs.Token
2013-08-09 09:54:00    DEBUG [keystone-all] auth.methods = ['password', 'token']
2013-08-09 09:54:00    DEBUG [keystone-all] auth.password = keystone.auth.plugins.password.Password
2013-08-09 09:54:00    DEBUG [keystone-all] auth.token = keystone.auth.plugins.token.Token
2013-08-09 09:54:00    DEBUG [keystone-all] auth.password = keystone.auth.plugins.password.Password
2013-08-09 09:54:00    DEBUG [keystone-all] auth.token = keystone.auth.plugins.token.Token
2013-08-09 09:54:00    DEBUG [keystone-all] ssl.ca_certs = None
2013-08-09 09:54:00    DEBUG [keystone-all] ssl.cert_required = False
2013-08-09 09:54:00    DEBUG [keystone-all] ssl.certfile = None
2013-08-09 09:54:00    DEBUG [keystone-all] ssl.enable = False
2013-08-09 09:54:00    DEBUG [keystone-all] ssl.keyfile = None
2013-08-09 09:54:00    DEBUG [keystone-all] catalog.driver = keystone.catalog.backends.sql.Catalog
2013-08-09 09:54:00    DEBUG [keystone-all] ec2.driver = keystone.contrib.ec2.backends.kvs.Ec2
2013-08-09 09:54:00    DEBUG [keystone-all] sql.connection = mysql://keystone:password@localhost/keystone
2013-08-09 09:54:00    DEBUG [keystone-all] sql.idle_timeout = 200
2013-08-09 09:54:00    DEBUG [keystone-all] policy.driver = keystone.policy.backends.sql.Policy
2013-08-09 09:54:00    DEBUG [keystone-all] sql.idle_timeout = 200
2013-08-09 09:54:00    DEBUG [keystone-all] policy.driver = keystone.policy.backends.sql.Policy
2013-08-09 09:54:00    DEBUG [keystone-all] trust.driver = keystone.trust.backends.sql.Trust
2013-08-09 09:54:00    DEBUG [keystone-all] trust.enabled = True
2013-08-09 09:54:00    DEBUG [keystone-all] pam.password = None
2013-08-09 09:54:00    DEBUG [keystone-all] pam.url = None
2013-08-09 09:54:00    DEBUG [keystone-all] pam.userid = None
2013-08-09 09:54:00    DEBUG [keystone-all] identity.default_domain_id     = default
2013-08-09 09:54:00    DEBUG [keystone-all] identity.driver = keystone.identity.backends.sql.Identity

It seems that "keystone-manage db_sync" works because I can see the tables created in MySQL, but I am not sure what causes the keystone down and I have been trapped by this problem for a week. Hope that anyone can help me! Thanks!