griddynamics/openstack — Issue #2: Keystone init.d script fails
Author: sstent
Created: 2011-12-29 19:46:08+00:00
State: open

current init.d script uses the wrong parameters for starting keystone, and it fails to start.

Here is a diff of the changes required to make it start.

37c37,38
< logfile=/var/log/keystone/keystone.log
---
> logfile=keystone.log
> logdir=/var/log/keystone/

56c57
<	/sbin/start-stop-daemon --start -b -c keystone:nobody --make-pidfile --pidfile $pidfile --exec /usr/bin/keystone -- --config-file=$flgfile --log-file=$logfile
---
>	/sbin/start-stop-daemon --start -b -c keystone:nobody --make-pidfile --pidfile $pidfile --exec /usr/bin/keystone -- --log-file=$logfile --config-file=$flgfile --log-dir=$logdir

Also need to ensure that the /var/lib/keystone path is created with keystone:nobody permissions.