Ask Your Question
0

Keystone did not start

asked 2013-02-05 14:10:17 -0500

antonio-tirri gravatar image

updated 2014-11-06 02:02:23 -0500

RHK gravatar image

Hi all, actually i'm trying to install OpenStack through DevStack script. Unfortunately the installation is not successful because the keystone service doesn't start.

This is the log of the script:

2013-02-05 13:19:05 + SCREEN_NAME=stack
2013-02-05 13:19:05 + SCREENRC=/opt/stack/devstack/stack-screenrc
2013-02-05 13:19:05 + [[ ! -e /opt/stack/devstack/stack-screenrc ]]
2013-02-05 13:19:05 + grep key /opt/stack/devstack/stack-screenrc
2013-02-05 13:19:05 ++ echo -ne '\015'
2013-02-05 13:19:05 + NL=$'\r'
2013-02-05 13:19:05 + echo 'screen -t key bash'
2013-02-05 13:19:05 + echo 'stuff "cd /opt/stack/keystone && /opt/stack/keystone/bin/keystone-all --config-file /etc/keystone/keystone.conf --log-config /etc/keystone/logging.conf -d --debug
"'
2013-02-05 13:19:05 + screen -S stack -X screen -t key
2013-02-05 13:19:05 + sleep 1.5
2013-02-05 13:19:06 + [[ -n '' ]]
2013-02-05 13:19:06 + screen -S stack -p key -X stuff 'cd /opt/stack/keystone && /opt/stack/keystone/bin/keystone-all --config-file /etc/keystone/keystone.conf --log-config /etc/keystone/logging.conf -d --debug || touch "/opt/stack/status/stack/key.failure"
'
2013-02-05 13:19:06 + echo 'Waiting for keystone to start...'
2013-02-05 13:19:06 Waiting for keystone to start...
2013-02-05 13:19:06 + timeout 60 sh -c 'while ! http_proxy= curl -s http://163.162.24.167:5000/v2.0/ >/dev/null; do sleep 1; done'
]0;stack@openstack-controller: ~/devstack stack@openstack-controller:~/devstack$ 2013-02-05 13:20:06 + echo 'keystone did not start'
2013-02-05 13:20:06 keystone did not start
2013-02-05 13:20:06 + exit 1
2013-02-05 13:20:06 + clean
2013-02-05 13:20:06 + local r=1
2013-02-05 13:20:06 ++ jobs -p
2013-02-05 13:20:06 + kill
2013-02-05 13:20:06 + exit 1

How this problem can be solved?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-11-06 00:30:45 -0500

trung-t-trinh gravatar image

I myself used to encounter this problem! The root cause is because the specified HOST_IP in the file "local.conf" is neither valid nor reachable! Consequently, no service endpoints (such as keystone, nova and etc) that are bound to the HOST_IP can be invoked.

Make sure the specified HOST_IP is valid and reachable. Alternatively, do not specify it and let DevStack pick up some IP for it.

edit flag offensive delete link more
0

answered 2013-02-08 03:39:39 -0500

btopol gravatar image

I would put the following in your localrc file

The dir where to save the logs you can change this to be appropriate for your environment

SCREEN_LOGDIR=/home/openstack/logs

After trying to run, goto the directory that you chose for SCREEN_LOGDIR above and look for the following file:

screen-key.log

you can then open this file and see where keystone crashed

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: 2013-02-05 14:10:17 -0500

Seen: 4,789 times

Last updated: Nov 06 '14