Fixed section in cinder.conf for the rabbitmq credentials.

This commit is contained in:
Thomas Goirand 2015-04-09 15:17:14 +02:00
parent fe487b2f43
commit 992621bc86
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ CINDER_CONF=/etc/cinder/cinder.conf
pkgos_var_user_group cinder
pkgos_dbc_read_conf -pkg cinder-common ${CINDER_CONF} database connection cinder $@
pkgos_rabbit_read_conf ${CINDER_CONF} DEFAULT cinder
pkgos_rabbit_read_conf ${CINDER_CONF} oslo_messaging_rabbit cinder
pkgos_read_admin_creds ${CINDER_CONF} keystone_authtoken cinder
pkgos_inifile get ${CINDER_CONF} DEFAULT volume_group

View File

@ -25,7 +25,7 @@ if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ] ; then
if [ "$RET" = "true" ]; then
pkgos_dbc_postinst ${CINDER_CONF} database connection cinder $@
fi
pkgos_rabbit_write_conf ${CINDER_CONF} DEFAULT cinder
pkgos_rabbit_write_conf ${CINDER_CONF} oslo_messaging_rabbit cinder
pkgos_write_admin_creds ${CINDER_CONF} keystone_authtoken cinder
db_get cinder/volume_group
if [ -n "${RET}" ] ; then