Merge "Use the transport_url to replace the rabbitMQ credentials"

This commit is contained in:
Jenkins 2016-12-01 02:22:35 +00:00 committed by Gerrit Code Review
commit 4f78eda09e

View File

@ -68,9 +68,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`