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, 2020 in OpenStack by akhtar
• 38,260 points
10,522 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, 2020 by MD
• 95,460 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
• 58,020 points
1,658 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, 2020 in OpenStack by MD
• 95,460 points
1,011 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, 2020 in OpenStack by MD
• 95,460 points
816 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, 2020 in OpenStack by MD
• 95,460 points
1,202 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, 2020 in OpenStack by MD
• 95,460 points
2,413 views
0 votes
2 answers
0 votes
1 answer
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, 2020 in OpenStack by MD
• 95,460 points
9,708 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP