On 02/05/2013 08:00 AM, Antonio Tirri wrote:
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:
~/devstackstack@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?
Antonio
_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp
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"
Is the command that starts keystone. From the above, it not clear why
it is failing. You should be able to run it interactively with:
cd /opt/stack/keystone
/opt/stack/keystone/bin/keystone-all --config-file
/etc/keystone/keystone.conf --log-config /etc/keystone/logging.conf -d
--debug
And get more output. If it swallows all the output, look in
/etc/keystone/logging.conf to see what it is set at. It might be
sending it to a log file, such as /var/log/keystone
_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp