Keystone problem : Authorization Failed: An unexpected error prevented the server from fulfilling your request. (HTTP 500)
Hi everyone i have a problem with keystone, I am istalling openstack following this tutorial https://github.com/ChaimaGhribi/OpenStack-Icehouse-Installation/blob/master/OpenStack-Icehouse-Installation.rst (https://github.com/ChaimaGhribi/OpenS...) when i enset the environment variables OS_SERVICE_TOKEN and OS_SERVICE_ENDPOINT and load the credential file admin_creds, then when i started the command keystone user-list or keystone token-get i got the error :
Authorization Failed: An unexpected error prevented the server from fulfilling your request. (HTTP 500)
here the configuration i have: in /etc/keystone/keystone.conf
[database]
connection = mysql://keystone:KEYSTONE_DBPASS@localhost/keystone
[DEFAULT]
admin_token=ADMIN
log_dir=/var/log/keystone
when i set the environment variables to
OS_SERVICE_TOKEN=ADMIN
OS_SERVICE_ENDPOINT=http://controller:35357/v2.0
everything work but when i unset these variables and load the file
export OS_USERNAME=admin
export OS_PASSWORD=admin_pass
export OS_TENANT_NAME=admin
export OS_AUTH_URL=http://controller:35357/v2.0
then that error appears, can anyone help to know what is my problem ? here is the output of keystone debug
2015-03-31 09:02:57.275 4874 DEBUG keystone-all [-] ******************************************************************************** log_opt_values /usr/lib/python2.7/site-packages/oslo/config/cfg.py:1932
2015-03-31 09:02:57.276 4874 DEBUG keystone-all [-] Configuration options gathered from: log_opt_values /usr/lib/python2.7/site-packages/oslo/config/cfg.py:1933
2015-03-31 09:02:57.276 4874 DEBUG keystone-all [-] command line args: ['-d'] log_opt_values /usr/lib/python2.7/site-packages/oslo/config/cfg.py:1934
2015-03-31 09:02:57.277 4874 DEBUG keystone-all [-] config files: ['/usr/share/keystone/keystone-dist.conf', '/etc/keystone/keystone.conf'] log_opt_values /usr/lib/python2.7/site-packages/oslo/config/cfg.py:1935
2015-03-31 09:02:57.277 4874 DEBUG keystone-all [-] ================================================================================ log_opt_values /usr/lib/python2.7/site-packages/oslo/config/cfg.py:1936
2015-03-31 09:02:57.277 4874 DEBUG keystone-all [-] admin_bind_host = 0.0.0.0 log_opt_values /usr/lib/python2.7/site-packages/oslo/config/cfg.py:1945
2015-03-31 09:02:57.277 4874 DEBUG keystone-all [-] admin_endpoint = None log_opt_values /usr/lib/python2.7/site-packages/oslo/config/cfg.py:1945
2015-03-31 09:02:57.278 4874 DEBUG keystone-all [-] admin_port = 35357 log_opt_values /usr/lib/python2.7/site-packages/oslo/config/cfg.py:1945
2015-03-31 09:02:57.278 4874 DEBUG keystone-all [-] admin_token = ***** log_opt_values /usr/lib/python2.7/site-packages/oslo/config/cfg.py:1945
2015-03-31 09:02:57.278 4874 DEBUG keystone-all [-] compute_port = 8774 log_opt_values /usr/lib/python2.7/site-packages/oslo/config/cfg.py:1945
2015-03-31 09:02:57.278 4874 DEBUG keystone-all [-] config_dir = None log_opt_values /usr/lib/python2.7/site-packages/oslo/config/cfg.py:1945
2015-03-31 09:02:57.279 4874 DEBUG keystone-all [-] config_file = ['/usr/share/keystone/keystone-dist.conf', '/etc/keystone/keystone.conf'] log_opt_values /usr/lib/python2.7/site-packages/oslo/config/cfg.py:1945
2015-03-31 09:02:57.279 4874 DEBUG keystone-all [-] crypt_strength = 40000 log_opt_values /usr/lib/python2.7/site-packages/oslo/config/cfg.py:1945
2015-03-31 09:02:57.279 4874 DEBUG keystone-all [-] debug = True log_opt_values /usr/lib/python2.7/site-packages/oslo/config/cfg.py:1945
2015-03-31 09:02:57.279 4874 DEBUG keystone-all [-] default_log_levels = ['amqp=WARN', 'amqplib=WARN', 'boto=WARN', 'qpid=WARN', 'sqlalchemy=WARN', 'suds=INFO', 'iso8601=WARN', 'requests.packages.urllib3.connectionpool ...