Use the transport_url to replace the rabbitMQ credentials

Since the rabbitMQ credentials have been deprecated in favor of
"transport_url" config option.

Change-Id: Ia505a177a4018633acd51ef8bacc4df5cdedcbfa
This commit is contained in:
liusheng 2016-11-30 17:08:35 +08:00
parent f0f84ac2dd
commit ef0fc6b7a9
1 changed files with 2 additions and 3 deletions

View File

@ -70,9 +70,8 @@ function configure_nimble {
iniset ${NIMBLE_CONF_FILE} keystone_authtoken auth_url ${KEYSTONE_AUTH_URI}
iniset ${NIMBLE_CONF_FILE} keystone_authtoken auth_type "password"
# Setup RabbitMQ credentials
iniset ${NIMBLE_CONF_FILE} oslo_messaging_rabbit rabbit_userid ${RABBIT_USERID}
iniset ${NIMBLE_CONF_FILE} oslo_messaging_rabbit rabbit_password ${RABBIT_PASSWORD}
# Config the transport url
iniset_rpc_backend nimble $NIMBLE_CONF_FILE
# Configure the database.
iniset ${NIMBLE_CONF_FILE} database connection `database_connection_url nimble`