I change catalog's backend to sql.But when I use devstack script ,keystone service can't launch!
In the keystone.conf file:
I change the catalog's backend to sql
[catalog]
#driver = keystone.
#template_file = %KEYSTONE_
driver = keystone.
when I use devstack script ,it shows that the keystone didn't start!
'screen -S stack -p key -X stuff 'cd /opt/stack/keystone && /opt/stack/
+ echo 'Waiting for keystone to start...'
Waiting for keystone to start...
+ timeout 60 sh -c 'while ! http_proxy= wget -q -O- http://
+ echo 'keystone did not start'
keystone did not start
+ exit 1
Question information
- Language:
- English Edit question
- Status:
- Expired
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
You can try
cd /opt/stack/keystone && /opt/stack/
to see what happened to the keystone-all
And then paste the output here.
Revision history for this message
|
#2 |
Here is the keystone.conf file:
[DEFAULT]
bind_host = 0.0.0.0
public_port = 5000
admin_port = 35357
admin_token = %SERVICE_TOKEN%
compute_port = 3000
verbose = True
debug = True
# commented out so devstack logs to stdout
log_file = %DEST%/
# ================= Syslog Options =======
# Send logs to syslog (/dev/log) instead of to file specified
# by `log-file`
use_syslog = False
# Facility to use. If unset defaults to LOG_USER.
# syslog_log_facility = LOG_LOCAL0
[sql]
connection = %SQL_CONN%
idle_timeout = 30
min_pool_size = 5
max_pool_size = 10
pool_timeout = 200
[identity]
driver = keystone.
[catalog]
#driver = keystone.
#template_file = %KEYSTONE_
driver = keystone.
[token]
driver = keystone.
[policy]
driver = keystone.
[ec2]
driver = keystone.
[filter:debug]
paste.filter_
[filter:token_auth]
paste.filter_
[filter:
paste.filter_
[filter:xml_body]
paste.filter_
[filter:json_body]
paste.filter_
[filter:
paste.filter_
[filter:
paste.filter_
[filter:
paste.filter_
[app:public_
paste.app_factory = keystone.
[app:admin_service]
paste.app_factory = keystone.
[pipeline:
pipeline = token_auth admin_token_auth xml_body json_body debug ec2_extension public_service
[pipeline:
pipeline = token_auth admin_token_auth xml_body json_body debug ec2_extension s3_extension crud_extension admin_service
[app:public_
paste.app_factory = keystone.
[app:admin_
paste.app_factory = keystone.
[pipeline:
pipeline = xml_body public_
[pipeline:
pipeline = xml_body admin_version_
[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
When I use the command cd /opt/stack/keystone && /opt/stack/
Outputs as below:
2012-04-05 09:26:59 DEBUG [keystone-all] *******
2012-04-05 09:26:59 DEBUG [keystone-all] Configuration options gathered from:
2012-04-05 09:26:59 DEBUG [keystone-all] command line args: ['/usr/
2012-04-05 09:26:59 DEBUG [keystone-all] config files: ['/opt/
2012-04-05 09:26:59 DEBUG [keystone-all] =======
2012-04-05 09:26:59 DEBUG [keystone-all] admin_port = 35357
2012-04-05 09:26:59 DEBUG [keystone-all] admin_token = passw0rd
2012-04-05 09:26:59 DEBUG [keystone-all] bind_host = 0.0.0.0
2012-04-05 09:26:59 DEBUG [keystone-all] compute_port = 3000
2012-04-05 09:26:59 DEBUG [keystone-all] config_file = ['/opt/
2012-04-05 09:26:59 DEBUG [keystone-all] crypt_strength = 40000
2012-04-05 09:26:59 DEBUG [keystone-all] debug = True
2012-04-05 09:26:59 DEBUG [keystone-all] log_config = None
2012-04-05 09:26:59 DEBUG [keystone-all] log_date_format = %Y-%m-%d %H:%M:%S
2012-04-05 09:26:59 DEBUG [keystone-all] log_dir = None
2012-04-05 09:26:59 DEBUG [keystone-all] log_file = /opt/stack/
2012-04-05 09:26:59 DEBUG [keystone-all] log_format = %(asctime)s %(levelname)8s [%(name)s] %(message)s
2012-04-05 09:26:59 DEBUG [keystone-all] public_port = 5000
2012-04-05 09:26:59 DEBUG [keystone-all] syslog_log_facility = LOG_USER
2012-04-05 09:26:59 DEBUG [keystone-all] use_syslog = False
2012-04-05 09:26:59 DEBUG [keystone-all] verbose = True
2012-04-05 09:26:59 DEBUG [keystone-all] ldap.password = None
2012-04-05 09:26:59 DEBUG [keystone-all] ldap.role_
2012-04-05 09:26:59 DEBUG [keystone-all] ldap.role_
2012-04-05 09:26:59 DEBUG [keystone-all] ldap.role_
2012-04-05 09:26:59 DEBUG [keystone-all] ldap.role_tree_dn = None
2012-04-05 09:26:59 DEBUG [keystone-all] ldap.suffix = None
2012-04-05 09:26:59 DEBUG [keystone-all] ldap.tenant_
2012-04-05 09:26:59 DEBUG [keystone-all] ldap.tenant_
2012-04-05 09:26:59 DEBUG [keystone-all] ldap.tenant_
2012-04-05 09:26:59 DEBUG [keystone-all] ldap.tenant_tree_dn = None
2012-04-05 09:26:59 DEBUG [keystone-all] ldap.url = None
2012-04-05 09:26:59 DEBUG [keystone-all] ldap.use_
2012-04-05 09:26:59 DEBUG [keystone-all] ldap.user = None
2012-04-05 09:26:59 DEBUG [keystone-all] ldap.user_
2012-04-05 09:26:59 DEBUG [keystone-all] ldap.user_
2012-04-05 09:26:59 DEBUG [keystone-all] ldap.user_tree_dn = None
2012-04-05 09:26:59 DEBUG [keystone-all] token.driver = keystone.
2012-04-05 09:26:59 DEBUG [keystone-all] catalog.driver = keystone.
2012-04-05 09:26:59 DEBUG [keystone-all] ec2.driver = keystone.
2012-04-05 09:26:59 DEBUG [keystone-all] sql.connection = mysql:/
2012-04-05 09:26:59 DEBUG [keystone-all] sql.idle_timeout = 30
2012-04-05 09:26:59 DEBUG [keystone-all] policy.driver = keystone.
2012-04-05 09:26:59 DEBUG [keystone-all] identity.driver = keystone.
2012-04-05 09:26:59 DEBUG [keystone-all] *******
2012-04-05 09:27:00 DEBUG [routes.middleware] Initialized with method overriding = True, and path info altering = True
2012-04-05 09:27:00 DEBUG [routes.middleware] Initialized with method overriding = True, and path info altering = True
2012-04-05 09:27:00 DEBUG [routes.middleware] Initialized with method overriding = True, and path info altering = True
2012-04-05 09:27:00 DEBUG [routes.middleware] Initialized with method overriding = True, and path info altering = True
2012-04-05 09:27:00 DEBUG [routes.middleware] Initialized with method overriding = True, and path info altering = True
2012-04-05 09:27:00 DEBUG [routes.middleware] Initialized with method overriding = True, and path info altering = True
2012-04-05 09:27:00 DEBUG [routes.middleware] Initialized with method overriding = True, and path info altering = True
2012-04-05 09:27:00 DEBUG [routes.middleware] Initialized with method overriding = True, and path info altering = True
2012-04-05 09:27:00 DEBUG [routes.middleware] Initialized with method overriding = True, and path info altering = True
2012-04-05 09:27:00 DEBUG [routes.middleware] Initialized with method overriding = True, and path info altering = True
2012-04-05 09:27:00 DEBUG [root] starting server {(None, '/v2.0'): <keystone.
2012-04-05 09:27:00 DEBUG [keystone.
2012-04-05 09:27:00 DEBUG [root] starting server {(None, '/v2.0'): <keystone.
2012-04-05 09:27:00 DEBUG [keystone.
2012-04-05 09:27:00 DEBUG [eventlet.
2012-04-05 09:27:00 DEBUG [eventlet.
Revision history for this message
|
#3 |
can you run the below shell script:
if ! timeout 60 sh -c "while ! http_proxy= wget -q -O- http://
echo "keystone did not start"
exit 1
fi
Revision history for this message
|
#4 |
2012-04-05
shwinpiocess
发件人:yong sheng gong
发送时间:2012-04-05 09:55
主题:Re: [Question #192113]: I change catalog's backend to sql.But when I use devstack script , keystone service can't launch!
收件人:"shwinpioce
抄送:
Your question #192113 on Keystone changed:
https:/
Status: Open => Needs information
yong sheng gong requested more information:
can you run the below shell script:
Here are the results:
root@key:
> echo "keystone did not start"
> exit 1
> fi
{"version": {"status": "beta", "updated": "2011-11-
Revision history for this message
|
#5 |
2012-04-05
shwinpiocess
发件人:yong sheng gong
发送时间:2012-04-05 09:55
主题:Re: [Question #192113]: I change catalog's backend to sql.But when I use devstack script , keystone service can't launch!
收件人:"shwinpioce
抄送:
Your question #192113 on Keystone changed:
https:/
Status: Open => Needs information
yong sheng gong requested more information:
can you run the below shell script:
if ! timeout 60 sh -c "while ! http_proxy= wget -q -O- http://
echo "keystone did not start"
exit 1
fi
--
I'm very very sorry!The results is wrong!I did not change keystone.conf!
Here are the results after I changed the keystone.conf :
root@key:~# if ! timeout 60 sh -c "while ! http_proxy= wget -q -O- http://
> echo "keystone did not start"
> exit 1
> fi
After a few moment,the shell script excute the "exit 1" command!
Revision history for this message
|
#6 |
root@key:~# if ! timeout 60 sh -c "while ! http_proxy= wget -q -O- http://
> echo "keystone did not start"
> exit 1
> fi
After a few moment,the shell script excute the "exit 1" command!
Revision history for this message
|
#7 |
This question was expired because it remained in the 'Open' state without activity for the last 15 days.