LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   openstack (ubuntu 10.04) - keystone terminated with status 143 (http://www.linuxquestions.org/questions/linux-server-73/openstack-ubuntu-10-04-keystone-terminated-with-status-143-a-4175447894/)

eantoranz 01-30-2013 03:58 PM

openstack (ubuntu 10.04) - keystone terminated with status 143
 
Hi!

I'm following this guide to install/setup openstack on ubuntu 12.04 http://www.hastexo.com/resources/doc...l-and-configur

When I restart keystone, I see this on syslog:
Code:

Jan 30 17:22:35 openstack kernel: [ 4855.877941] init: keystone main process (7701) terminated with status 143
I hacked it's logging stuff and I see this in /var/log/keystone/keystone.log
Code:

(keystone-all): 2013-01-30 17:26:48,610 DEBUG ********************************************************************************
(keystone-all): 2013-01-30 17:26:48,611 DEBUG Configuration options gathered from:
(keystone-all): 2013-01-30 17:26:48,612 DEBUG command line args: ['/usr/bin/keystone-all']
(keystone-all): 2013-01-30 17:26:48,612 DEBUG config files: ['/etc/keystone/keystone.conf']
(keystone-all): 2013-01-30 17:26:48,613 DEBUG ================================================================================
(keystone-all): 2013-01-30 17:26:48,613 DEBUG admin_port                    = 35357
(keystone-all): 2013-01-30 17:26:48,614 DEBUG admin_token                    = ADMIN
(keystone-all): 2013-01-30 17:26:48,614 DEBUG bind_host                      = 0.0.0.0
(keystone-all): 2013-01-30 17:26:48,615 DEBUG compute_port                  = 8774
(keystone-all): 2013-01-30 17:26:48,615 DEBUG config_file                    = ['/etc/keystone/keystone.conf']
(keystone-all): 2013-01-30 17:26:48,615 DEBUG crypt_strength                = 40000
(keystone-all): 2013-01-30 17:26:48,616 DEBUG debug                          = True
(keystone-all): 2013-01-30 17:26:48,616 DEBUG log_config                    = /etc/keystone/logging.conf
(keystone-all): 2013-01-30 17:26:48,617 DEBUG log_date_format                = %Y-%m-%d %H:%M:%S
(keystone-all): 2013-01-30 17:26:48,617 DEBUG log_dir                        = None
(keystone-all): 2013-01-30 17:26:48,618 DEBUG log_file                      = None
(keystone-all): 2013-01-30 17:26:48,618 DEBUG log_format                    = %(asctime)s %(levelname)8s [%(name)s] %(message)s
(keystone-all): 2013-01-30 17:26:48,619 DEBUG public_port                    = 5000
(keystone-all): 2013-01-30 17:26:48,619 DEBUG syslog_log_facility            = LOG_USER
(keystone-all): 2013-01-30 17:26:48,619 DEBUG use_syslog                    = True
(keystone-all): 2013-01-30 17:26:48,620 DEBUG verbose                        = True
(keystone-all): 2013-01-30 17:26:48,620 DEBUG ldap.password                  = None
(keystone-all): 2013-01-30 17:26:48,621 DEBUG ldap.role_id_attribute        = None
(keystone-all): 2013-01-30 17:26:48,621 DEBUG ldap.role_member_attribute    = None
(keystone-all): 2013-01-30 17:26:48,622 DEBUG ldap.role_objectclass          = None
(keystone-all): 2013-01-30 17:26:48,622 DEBUG ldap.role_tree_dn              = None
(keystone-all): 2013-01-30 17:26:48,622 DEBUG ldap.suffix                    = None
(keystone-all): 2013-01-30 17:26:48,623 DEBUG ldap.tenant_id_attribute      = None
(keystone-all): 2013-01-30 17:26:48,623 DEBUG ldap.tenant_member_attribute  = None
(keystone-all): 2013-01-30 17:26:48,624 DEBUG ldap.tenant_name_attribute    = ou
(keystone-all): 2013-01-30 17:26:48,624 DEBUG ldap.tenant_objectclass        = None
(keystone-all): 2013-01-30 17:26:48,625 DEBUG ldap.tenant_tree_dn            = None
(keystone-all): 2013-01-30 17:26:48,625 DEBUG ldap.url                      = None
(keystone-all): 2013-01-30 17:26:48,626 DEBUG ldap.use_dumb_member          = None
(keystone-all): 2013-01-30 17:26:48,626 DEBUG ldap.user                      = None
(keystone-all): 2013-01-30 17:26:48,626 DEBUG ldap.user_id_attribute        = None
(keystone-all): 2013-01-30 17:26:48,627 DEBUG ldap.user_name_attribute      = sn
(keystone-all): 2013-01-30 17:26:48,627 DEBUG ldap.user_objectclass          = None
(keystone-all): 2013-01-30 17:26:48,628 DEBUG ldap.user_tree_dn              = None
(keystone-all): 2013-01-30 17:26:48,628 DEBUG token.driver                  = keystone.token.backends.sql.Token
(keystone-all): 2013-01-30 17:26:48,629 DEBUG catalog.driver                = keystone.catalog.backends.sql.Catalog
(keystone-all): 2013-01-30 17:26:48,629 DEBUG ec2.driver                    = keystone.contrib.ec2.backends.sql.Ec2
(keystone-all): 2013-01-30 17:26:48,629 DEBUG sql.connection                = mysql://keystonedbadmin:keystonenamas@192.168.55.201/keystone
(keystone-all): 2013-01-30 17:26:48,630 DEBUG sql.idle_timeout              = 200
(keystone-all): 2013-01-30 17:26:48,630 DEBUG policy.driver                  = keystone.policy.backends.rules.Policy
(keystone-all): 2013-01-30 17:26:48,630 DEBUG identity.driver                = keystone.identity.backends.sql.Identity
(keystone-all): 2013-01-30 17:26:48,630 DEBUG ********************************************************************************
(root): 2013-01-30 17:26:48,930 DEBUG starting server {(None, '/v2.0'): <keystone.middleware.core.TokenAuthMiddleware object at 0x9cb704c>, (None, ''): <keystone.middleware.core.XmlBodyMiddleware object at 0x9cb7b2c>} on port 35357
(root): 2013-01-30 17:26:48,934 DEBUG starting server {(None, '/v2.0'): <keystone.middleware.core.TokenAuthMiddleware object at 0x9d0464c>, (None, ''): <keystone.middleware.core.XmlBodyMiddleware object at 0x9d03f8c>} on port 5000
(eventlet.wsgi.server): 2013-01-30 17:26:48,936 DEBUG (7855) wsgi starting up on http://0.0.0.0:35357/

(eventlet.wsgi.server): 2013-01-30 17:26:48,937 DEBUG (7855) wsgi starting up on http://0.0.0.0:5000/

What am I missing? Thanks in advance.

eantoranz 01-30-2013 04:01 PM

I see I messed up the header with the ubuntu version. It's ubuntu precise (12.04).

eantoranz 01-30-2013 04:19 PM

Interesting.... apparently it's working. I thought there was a problem at this point because when I tried running keystone-manage db_sync I was getting a python error. The service is running correctly and I had to run keystone-manage with sudo. Thanks anyway.


All times are GMT -5. The time now is 06:26 PM.