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 ...
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.
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?
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`?
No, it's not running. The process of keystone which is shown in starting keystone doesn't exist while running 'ps aux'.