Ask Your Question

How to check if keystone is running

asked 2017-01-04 03:18:08 -0600

sanjana gravatar image

updated 2017-01-04 03:19:54 -0600

I have used devstack for installing openstack newton release on ubuntu 14.04. I would like to know how i can check if keystone service is up and running. Also how i can manually start, restart and stop the keystone service.

Earlier i would use keystone-all --config-file /etc/keystone/keystone.conf command. But currently i dont seem to have keystone-all installed.

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2017-01-05 07:28:22 -0600

Sofiane68 gravatar image

you run sudo service keystone status or ps -ef | grep keystone

edit flag offensive delete link more

answered 2017-01-06 03:10:12 -0600

DanielK gravatar image

updated 2017-01-06 03:10:45 -0600

Assuming you have keystone configured to run as wsgi plugged in to Apache (which is the standard these days) you can just do systemctl status httpd. You will see a list of httpd threads listed, among them will be the ones called wsgi:keystone- -DFOREGROUND for further information you can always look into /var/log/httpd/keystone-error.log and /var/log/keystone/keystone.log

edit flag offensive delete link more

answered 2017-01-05 03:08:06 -0600

pup_seba gravatar image


All I know is that I check for Apache (httpd) service as keystone runs on it. You can see if it is working by brwosing to its IP:port and see the response (i usually use chrome). Check which IP:ports are running httpd (netstat -venputa | grep -i httpd). Keystone usually listens to port 5000 and 35357. In my case, browsing and is what I do.

Not a perfect answer, I know. But that's the best I can do atm. Hope it helps.

Regards, Seb

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2017-01-04 03:18:08 -0600

Seen: 5,828 times

Last updated: Jan 06 '17