keystone cannot use the command curl
dear all:
i installed keystone using clone,when i use the command of
curl -d '{"auth": {"tenantName": "service", "passwordCreden
there is an error,{
"error": {
"code": 500,
"message": "An unexpected error prevented the server from fulfilling your request. unsupported format character 't' (0x74) at index 33",
"title": "Internal Server Error"
}
}
this is my keystone.conf
[DEFAULT]
#bind_host = 0.0.0.0
public_port = 5000
admin_port = 35357
admin_token = openstack
compute_port = 8774
verbose = True
debug = True
#log_config = ./etc/logging.
# ================= 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 = mysql:/
idle_timeout = 200
[ldap]
#url = ldap://localhost
#tree_dn = dc=example,dc=com
#user_tree_dn = ou=Users,
#role_tree_dn = ou=Roles,
#tenant_tree_dn = ou=Groups,
#user = dc=Manager,
#password = freeipa4all
#suffix = cn=example,cn=com
[identity]
driver = keystone.
[catalog]
# dynamic, sql-based backend (supports API/CLI-based management commands)
driver = keystone.
# static, file-based backend (does *NOT* support any management commands)
#driver = keystone.
#template_file = /etc/keystone/
[token]
#driver = keystone.
driver = keystone.
# Amount of time a token should remain valid (in seconds)
expiration = 86400
[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_
[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 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
Thanks.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- antiError
- Solved:
- Last query:
- Last reply: