How to Fix OpenStack’s Keystone Authentication Error – HTTP 500?

0 votes

I have installed keystone package, but hit with an error while creating an admin user for the cloud. I used the below command.

keystone user-create --name=admin --pass=<admin_password> --email= <admin_email>
An unexpected error prevented the server from fulfilling your request. (HTTP 500)

What I am doing wrong?

Thank You

Mar 26 in OpenStack by akhtar
• 25,030 points
244 views

1 answer to this question.

0 votes

Hi@akhtar,

To avoid this error, you can follow the bellow given steps.

  • You should check the keystone log-file. By default, the keystone logfile is located at “/var/log/keystone/keystone.log” and see what caused HTTP 500 error.

  • Check if you are referring to the right ‘OS_SERVICE_ENDPOINT‘ and OS_SERVICE_TOKEN. 

For example-

#export OS_SERVICE_ENDPOINT=http://localhost:35357/v2.0
#export OS_SERVICE_TOKEN= <valid_token>

You should also compare ‘OS_SERVICE_ENDPOINT‘ and ‘OS_SERVICE_TOKEN’ entries in ‘/etc/keystone/keystone.conf‘ file. 

Thank You

answered Mar 26 by MD
• 56,440 points

Related Questions In OpenStack

0 votes
1 answer

How to assign public IP to OpenStack instances?

You can have a look at this ...READ MORE

answered Feb 25, 2019 in OpenStack by Priyaj
• 57,640 points
157 views
0 votes
1 answer

How to set static IP in Linux RedHat?

Hi@akhtar, To set a static ip in Red ...READ MORE

answered Feb 24 in OpenStack by MD
• 56,440 points
176 views
0 votes
1 answer

How to get OpenStack software for installation?

Hi@akhtar, There are two ways to get OpenStack ...READ MORE

answered Mar 13 in OpenStack by MD
• 56,440 points
60 views
0 votes
1 answer

error: server error. Is Neutron not working properly?

Hi@akhtar, We can't say Neutron is the one ...READ MORE

answered Mar 17 in OpenStack by MD
• 56,440 points
95 views
0 votes
1 answer

How can I do SSH inside my instance in OpenStack?

Hi@akhtar, Yes, there is nothing wrong with your ...READ MORE

answered Mar 17 in OpenStack by MD
• 56,440 points
213 views
0 votes
2 answers
0 votes
1 answer

How to reset error state of a instance into active in OpenStack env?

Hi@akhtar, There are some scenarios where some instances ...READ MORE

answered Mar 17 in OpenStack by MD
• 56,440 points
478 views
0 votes
1 answer