Ask Your Question

How to Install OpenStack Keystone?

asked 2020-07-21 14:56:09 -0500

MichaelCropper gravatar image

Woo! More badly documented installation guides....

Ok. So OpenStack Keystone appears to be the cornerstone of all other OpenStack services. So I thought, let's give that a go and try installing that from the guides.

Requires these prerequisites: ( Then once you've done that, you should be able to follow the commands outlined here: (

But no...

Yet again, fails at the first step.... "mysql: command not foudn"

* * * *bangs head against wall, again * * * *

Does anyone have any accurate documentation for how to install just a single service with Keystone?

edit retag flag offensive close merge delete


You can’t just pick one service without reading the docs and learn about the dependencies. The doc you mention tells you to install the database and messaging service after the packages. Those are the basics for all other services, since every service needs to store data and to communicate.

eblock gravatar imageeblock ( 2020-07-21 16:21:40 -0500 )edit

Can you point me in the direction of those docs you mention as the guide I was following linked above had no mention of installing MySQL as a pre-requisite....

MichaelCropper gravatar imageMichaelCropper ( 2020-07-23 14:27:23 -0500 )edit

1 answer

Sort by » oldest newest most voted

answered 2020-07-21 18:44:09 -0500

updated 2020-07-21 18:51:31 -0500

Banging your head against the wall because you don't have mysql is a strange reaction. It's not that hard to fix it. There will be many more occasions for headbanging down the road, I promise. Such as missing a comma in a config file, which provokes an error that points to everything but that config file.

Having said that, the Keystone Installation Guide says:

Ensure that you have completed the prerequisite installation steps in the Openstack Install Guide before proceeding.

The link unfortunately doesn't point to the first page of the environment description. In fact, in my opinion it should point to the beginning of the install guides. However, you are trying to do the equivalent of "Linux from Scratch", and it is your responsibility to do the research before starting the installation of a beast as complex as OpenStack. Remember, OpenStack is not meant to be a consumer product with a polished interface à la Windows.

Accurate information about MySQL: After that, the following pages cover installation of message queue, memcached and etcd.

edit flag offensive delete link more


LFS is not impossible. I got Train and Ussuri running on a LFS system

tjoen gravatar imagetjoen ( 2020-07-22 05:13:04 -0500 )edit

Thanks! That's probably why I've struggling with this one with the documentation pointing to the wrong place as there are clearly more prerequisites than listed on the prerequisites page. Let me give that a go and see how I get on.

MichaelCropper gravatar imageMichaelCropper ( 2020-07-23 15:02:27 -0500 )edit

Plus if you can point me in the direction of that missing comma in advance, that would also be super helpful :-) Perhaps a quick git commit can solve that one

MichaelCropper gravatar imageMichaelCropper ( 2020-07-23 15:07:48 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2020-07-21 14:56:09 -0500

Seen: 99 times

Last updated: Jul 21 '20