Ask Your Question
1

devstack: Keystone not listening on 5000 after rejoin-stack.sh

asked 2016-02-29 13:30:58 -0600

ICBeter gravatar image

updated 2016-02-29 14:47:09 -0600

I installed devstack in a Virtualbox machine with no problems. I could log into the dashboard and start a cirros instance.

Then I shut everything down with ./unstack.sh and rebooted the machine. After reboot I executed ./rejoin-stack.sh. When I try to log in on the dashboard it shows: Unable to establish connection to keystone endpoint.

The log shows: Unable to establish connection to http://10.0.0.149:5000/v3/auth/tokens and a netstat -pan also shows nothing listening on port 5000.

I can start keystone manually with:

/usr/bin/python /usr/local/bin/keystone-all
--config-file /etc/keystone/keystone.conf

But that is just a workaround... Keystone should of course start automatically. What is going wrong here and where could I start looking for the problem?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
3

answered 2016-02-29 16:19:06 -0600

ICBeter gravatar image

Looks like I found the problem:

./unstack.sh seems to remove the symlink /etc/apache2/sites-enabled/keystone.conf and ./rejoin_stack.sh does not recreate it. The solution is:

cd /etc/apache2/sites-enabled 
ln -s ../sites-available/keystone.conf

before calling ./rejoin-stack.sh

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-02-29 13:30:58 -0600

Seen: 577 times

Last updated: Feb 29 '16