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_url ${KEYSTONE_AUTH_URI}
iniset ${NIMBLE_CONF_FILE} keystone_authtoken auth_type "password" iniset ${NIMBLE_CONF_FILE} keystone_authtoken auth_type "password"
# Setup RabbitMQ credentials # Config the transport url
iniset ${NIMBLE_CONF_FILE} oslo_messaging_rabbit rabbit_userid ${RABBIT_USERID} iniset_rpc_backend nimble $NIMBLE_CONF_FILE
iniset ${NIMBLE_CONF_FILE} oslo_messaging_rabbit rabbit_password ${RABBIT_PASSWORD}
# Configure the database. # Configure the database.
iniset ${NIMBLE_CONF_FILE} database connection `database_connection_url nimble` iniset ${NIMBLE_CONF_FILE} database connection `database_connection_url nimble`