Posted in Linux, Openstack

Failed to start OpenStack Identity Service (code-named Keystone).

When you installed Openstack using packstack you might have faced openstack-keystone service issue. When try it to restart it fails with code-name keystone error.

o1

I have done some research on it and found the solution.

The issue is with Openstack Keystone Service which we have configured using httpd deamon in answers.cfg file ( configuration file used to install Openstack using packstack)

o2

Now openstack-keystone service will not start as http service is already in started mode and we haven’t created any relation between openstack-keystone and http service.

So to start openstack-keystone service we have to create symbolic link and point openstack-keystone service to http service.

o3

Now after that execute #systemctl daemon-reload to take effect of daemon linking.

o6

now stop httpd service and start openstack-keystone service. This will automatically start httpd service as well.

o7

 

You can now see openstack-keystone service is part of httpd.service group and also check in httpd daemon status we found relation with keystone service.

o8

Also enable the openstack-keystone service so that it will automatically start on system boot.

o10

Now if you check keystone service status using openstack-service. It shows it’s using httpd.service for openstack identity service authentication.

o9

This resolve the openstack-keystone service failed issue in Openstack Liberty release and  on centos 7/ rhel 7.

Enjoy 🙂

Advertisements

Author:

I have created this blog to share my learning from IT world. Hope you find it useful in your day to day work. Feel free to send me your feedback about my blog.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s