Ask Your Question
1

keystone stop/waiting

asked 2013-08-18 10:44:15 -0500

cccDystar gravatar image

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 ...
(more)
edit retag flag offensive close merge delete

Comments

First get the path where the keystone binary is stored using `which keystone` or `which keystone-all` and then run the binary using `/path/keystone-all` and paste the output here.

Jobin gravatar imageJobin ( 2013-08-18 11:44:39 -0500 )edit

Thanks for your reply! I find the keystone-all in '/usr/bin/' and run the binary file. The output is 'LookupError: No section 'main' (prefixed by 'app' or 'application' or 'composite' or 'composit' or 'pipeline' or 'filter-app') found in config /etc/keystone/keystone.conf'. So what's the problem?

cccDystar gravatar imagecccDystar ( 2013-08-18 17:19:00 -0500 )edit

Is the Keystone process still running? What happens when you run `ps aux | grep keystone`? Do you still have a running process? If yes, what happens when you query it with the keystone client? What's the output of `keystone user-list`?

rahmu gravatar imagerahmu ( 2013-08-19 10:35:25 -0500 )edit

No, it's not running. The process of keystone which is shown in starting keystone doesn't exist while running 'ps aux'.

cccDystar gravatar imagecccDystar ( 2013-08-19 10:59:56 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2013-11-30 07:52:32 -0500

there should be no space before uncommented line in the keystone.cfg

edit flag offensive delete link more

Comments

this is cool. Thank you for sharing this to community. Hope we can close your request now. Please confirm.

dheeru gravatar imagedheeru ( 2013-11-30 09:00:36 -0500 )edit

Hope we can close this request as your issue is resolved.

dheeru gravatar imagedheeru ( 2013-12-02 00:43:24 -0500 )edit
0

answered 2015-06-19 22:21:25 -0500

updated 2015-06-19 22:22:16 -0500

I have the same question.And now I fix this problem. My error is this '2015-06-20 10:49:58.638 5591 CRITICAL keystone [-] ImportError: No module named persistence.backends.sql' I find the persistence in keystone.conf, and then I delete this line 'driver = keystone.token.persistence.backends.sql.Token ' . This line was added when I followed the installation guide .

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-08-18 10:44:15 -0500

Seen: 775 times

Last updated: Jun 19 '15