From d01ff96e3f330684f3f1041ce6e08f729cf4006c Mon Sep 17 00:00:00 2001 From: Joe Gordon Date: Mon, 23 Mar 2015 15:05:39 -0700 Subject: [PATCH] Stop using deprecated rabbit related config options Stop services from throwing the following warning: Option "rabbit_password" from group "DEFAULT" is deprecated. Use option "rabbit_password" from group "oslo_messaging_rabbit". Same for rabbit_hosts and rabbit_userid Change-Id: I7da503ef50b3653b888cb243caa74b4253a495e2 --- lib/rpc_backend | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/rpc_backend b/lib/rpc_backend index 3d4ef762a7..3033cbe08e 100644 --- a/lib/rpc_backend +++ b/lib/rpc_backend @@ -272,9 +272,9 @@ function iniset_rpc_backend { fi elif is_service_enabled rabbit || { [ -n "$RABBIT_HOST" ] && [ -n "$RABBIT_PASSWORD" ]; }; then iniset $file $section rpc_backend "rabbit" - iniset $file $section rabbit_hosts $RABBIT_HOST - iniset $file $section rabbit_password $RABBIT_PASSWORD - iniset $file $section rabbit_userid $RABBIT_USERID + iniset $file oslo_messaging_rabbit rabbit_hosts $RABBIT_HOST + iniset $file oslo_messaging_rabbit rabbit_password $RABBIT_PASSWORD + iniset $file oslo_messaging_rabbit rabbit_userid $RABBIT_USERID fi }