+cinder (2014.1-3) unstable; urgency=medium
+
+ * Now using keystone_authtoken in cinder.conf instead of api-paste.ini:
+ - Fixed config and postinst scripts of cinder-common to use that.
+ - Removed patch for api-paste.ini.
+
+ -- Thomas Goirand <zigo@debian.org> Thu, 01 May 2014 00:01:50 +0800
+
cinder (2014.1-2) unstable; urgency=medium
* Applied patch from Mike Perez <thingee@gmail.com> to be able to create
. /usr/share/debconf/confmodule
CINDER_CONF=/etc/cinder/cinder.conf
-CINDER_API=/etc/cinder/api-paste.ini
#PKGOS-INCLUDE#
pkgos_var_user_group cinder
pkgos_dbc_read_conf -pkg cinder-common ${CINDER_CONF} DEFAULT sql_connection cinder $@
pkgos_rabbit_read_conf ${CINDER_CONF} DEFAULT cinder
-pkgos_read_admin_creds ${CINDER_API} filter:authtoken cinder
+pkgos_read_admin_creds ${CINDER_CONF} keystone_authtoken cinder
pkgos_inifile get ${CINDER_CONF} DEFAULT volume_group
if [ -n "${RET}" ] && [ ! "${RET}" = "NOT_FOUND" ] ; then
set -e
CINDER_CONF=/etc/cinder/cinder.conf
-CINDER_API=/etc/cinder/api-paste.ini
#PKGOS-INCLUDE#
pkgos_write_new_conf cinder logging.conf
pkgos_dbc_postinst ${CINDER_CONF} DEFAULT sql_connection cinder $@
pkgos_rabbit_write_conf ${CINDER_CONF} DEFAULT cinder
- pkgos_write_admin_creds ${CINDER_API} filter:authtoken cinder
+ pkgos_write_admin_creds ${CINDER_CONF} keystone_authtoken cinder
db_get cinder/volume_group
if [ -n "${RET}" ] ; then
pkgos_inifile set ${CINDER_CONF} DEFAULT volume_group ${RET}
+++ /dev/null
-Description: <short summary of the patch>
- TODO: Put a short summary on the line above and replace this paragraph
- with a longer explanation of this change. Complete the meta-information
- with other relevant fields (see below for details). To make it easier, the
- information below has been extracted from the changelog. Adjust it or drop
- it.
- .
- cinder (2014.1~rc1-1) experimental; urgency=low
- .
- * New upstream release.
- * Removed now useless fix-sqlalchemy-version patch.
- * Fixed new (build-)dependencies for this release.
-Author: Thomas Goirand <zigo@debian.org>
-
----
-The information above should follow the Patch Tagging Guidelines, please
-checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
-are templates for supplementary fields that you might want to add:
-
-Origin: <vendor|upstream|other>, <url of original patch>
-Bug: <url in upstream bugtracker>
-Bug-Debian: http://bugs.debian.org/<bugnumber>
-Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
-Forwarded: <no|not-needed|url proving that it has been forwarded>
-Reviewed-By: <name and email of someone who approved the patch>
-Last-Update: <YYYY-MM-DD>
-
---- cinder-2014.1~rc1.orig/etc/cinder/api-paste.ini
-+++ cinder-2014.1~rc1/etc/cinder/api-paste.ini
-@@ -53,3 +53,9 @@ paste.filter_factory = cinder.api.middle
-
- [filter:authtoken]
- paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
-+auth_host = 127.0.0.1
-+auth_port = 35357
-+auth_protocol = http
-+admin_tenant_name = %SERVICE_TENANT_NAME%
-+admin_user = %SERVICE_USER%
-+admin_password = %SERVICE_PASSWORD%