The keystone-all has been removed upstream and all indication seem to
show that using uwsgi is the new approach to launching this service.

Signed-off-by: Mark Asselstine <[email protected]>
---
 meta-openstack/recipes-devtools/python/python-keystone/keystone | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta-openstack/recipes-devtools/python/python-keystone/keystone 
b/meta-openstack/recipes-devtools/python/python-keystone/keystone
index 0d8a538..34cc3ad 100644
--- a/meta-openstack/recipes-devtools/python/python-keystone/keystone
+++ b/meta-openstack/recipes-devtools/python/python-keystone/keystone
@@ -11,7 +11,8 @@
 ### END INIT INFO
 
 DESC="keystone"
-DAEMON="/usr/bin/keystone-all"
+DAEMON="uwsgi"
+DAEMON_OPTIONS="--http 127.0.0.1:35357 --wsgi-file $(which 
keystone-wsgi-admin)"
 PIDFILE="/var/run/keystone-all.pid"
 
 start ()
@@ -34,7 +35,7 @@ start ()
 
     start-stop-daemon --start --quiet --background \
         --pidfile ${PIDFILE} --make-pidfile --exec ${DAEMON} \
-       -- --log-dir=/var/log/keystone
+       -- ${DAEMON_OPTIONS}
 
     if [ $? -eq 0 ]; then
         echo "done."
-- 
2.7.4

-- 
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Reply via email to