Ask Your Question
1

Devstack installation log files

asked 2015-04-06 04:52:38 -0500

Satyen gravatar image

Hi,

I have recently installed Devstack on Ubuntu 14.04.2 running inside Virtualbox on my laptop. I followed the instructions and installed using stack.sh but surprisingly it took nearly 2 hours to complete the installation.

I just wanted know where a log of this installation activity was maintained (if any) so that I can find out what took so long to install.

Appreciate if anyone can help.

Regards, Satyen.

edit retag flag offensive close merge delete

5 answers

Sort by ยป oldest newest most voted
0

answered 2016-04-27 23:56:13 -0500

Haikal gravatar image

you should enable the logging by provide devstack proper configuration for logging, before execute stack.sh script. In short:

$ cd devstack
$ cp samples/local.conf .
$ grep LOGFILE local.conf
# be configured to additionally log to a file by setting ``LOGFILE`` to the full
LOGFILE=$DEST/logs/stack.sh.log

Make sure this line: "LOGFILE=$DEST/logs/stack.sh.log" is uncommented. Log file will be created in /opt/stack/logs/

edit flag offensive delete link more
0

answered 2016-04-28 03:48:04 -0500

Before doing stack.sh, inside devstack create localrc file with content as below

[[local|localrc]] DEST=$HOME/stack SERVICE_DIR=$DEST/status DATA_DIR=$DEST/data LOGFILE=$DEST/logs/stack.sh.log LOGDIR=$DEST/logs

Then do stack.sh with non sudo user account

edit flag offensive delete link more
0

answered 2015-04-06 12:40:03 -0500

smaffulli gravatar image

devstack pulls data from git so it may have taken so long because of network issues or because the computer you installed on has little resources available.

edit flag offensive delete link more
0

answered 2015-04-06 12:20:57 -0500

The local.conf is commented with quite a bit of info on logging option. Below is an excerpt from the sample local.conf file.

# By default ``stack.sh`` output only goes to the terminal where it runs.  It can
# be configured to additionally log to a file by setting ``LOGFILE`` to the full
# path of the destination log file.  A timestamp will be appended to the given name.
LOGFILE=$DEST/logs/stack.sh.log

http://docs.openstack.org/developer/d... https://github.com/openstack-dev/devs...

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: 2015-04-06 04:52:38 -0500

Seen: 3,347 times

Last updated: Apr 28 '16