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
| ... | ... |
@@ -272,9 +272,9 @@ function iniset_rpc_backend {
|
| 272 | 272 |
fi |
| 273 | 273 |
elif is_service_enabled rabbit || { [ -n "$RABBIT_HOST" ] && [ -n "$RABBIT_PASSWORD" ]; }; then
|
| 274 | 274 |
iniset $file $section rpc_backend "rabbit" |
| 275 |
- iniset $file $section rabbit_hosts $RABBIT_HOST |
|
| 276 |
- iniset $file $section rabbit_password $RABBIT_PASSWORD |
|
| 277 |
- iniset $file $section rabbit_userid $RABBIT_USERID |
|
| 275 |
+ iniset $file oslo_messaging_rabbit rabbit_hosts $RABBIT_HOST |
|
| 276 |
+ iniset $file oslo_messaging_rabbit rabbit_password $RABBIT_PASSWORD |
|
| 277 |
+ iniset $file oslo_messaging_rabbit rabbit_userid $RABBIT_USERID |
|
| 278 | 278 |
fi |
| 279 | 279 |
} |
| 280 | 280 |
|