Browse Source

Change several RabbitMQ config settings

"rabbit_userid", "rabbit_password", "rabbit_host" are deprecated for removal.
This patch changes these options to "transport_url" in DEFAULT group.

Change-Id: I0c33a1f84103d07e371e11229276c8cecdc485c4
Related-Bug: #1451226
changes/28/376128/1
Mahito OGURA 5 years ago
parent
commit
d8c7a83c9c
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      devstack/lib/magnum

+ 2
- 3
devstack/lib/magnum View File

@ -127,9 +127,8 @@ function create_magnum_conf {
# (Re)create ``magnum.conf``
rm -f $MAGNUM_CONF
iniset $MAGNUM_CONF DEFAULT debug "$ENABLE_DEBUG_LOG_LEVEL"
iniset $MAGNUM_CONF oslo_messaging_rabbit rabbit_userid $RABBIT_USERID
iniset $MAGNUM_CONF oslo_messaging_rabbit rabbit_password $RABBIT_PASSWORD
iniset $MAGNUM_CONF oslo_messaging_rabbit rabbit_host $RABBIT_HOST
iniset $MAGNUM_CONF DEFAULT transport_url \
"rabbit://$RABBIT_USERID:$RABBIT_PASSWORD@$RABBIT_HOST"
iniset $MAGNUM_CONF database connection `database_connection_url magnum`
iniset $MAGNUM_CONF api host "$MAGNUM_SERVICE_HOST"


Loading…
Cancel
Save