Wednesday, August 7, 2013

Installing devstack on a vm



Errors encountered during installation

Devstack is often the quickest way to get a feel of openstack provided everything works fine. Even though running installation scripts are as easy as eating candy, but if it fails in between giving random(as per your current understanding) messages, it could be quite troublesome. Here is a list of some of the errors i got while installing devstack

1) nova service fails to start : A brief description of the above problem statement could be found at
https://bugs.launchpad.net/devstack/+bug/1208718

2) keystone service fails to start : http://stackoverflow.com/questions/17681226/cloudfoundry-grizzly-keystone-with-devstack-install-configparser-error-in-keyst


Get a trace of different services


For keystone:
cd /opt/stack/keystone && /opt/stack/keystone/bin/keystone-all\
 --config-file /etc/keystone/keystone.conf --log-config\
 /etc/keystone/logging.conf -d --debug 2>&1 |tee -a keystone-fail.log

Similarly for nova or any other service, just replace the corresponding part by(still needs to be tested)

Various links of forums on devstack

http://stackoverflow.com/questions/tagged/devstack