Merge "Set QPID_HOST parameter to better support multi-node mode"
This commit is contained in:
commit
c5d738da6c
@ -170,8 +170,9 @@ function iniset_rpc_backend() {
|
||||
# Set MATCHMAKER_REDIS_HOST if running multi-node.
|
||||
MATCHMAKER_REDIS_HOST=${MATCHMAKER_REDIS_HOST:-127.0.0.1}
|
||||
iniset $file matchmaker_redis host $MATCHMAKER_REDIS_HOST
|
||||
elif is_service_enabled qpid; then
|
||||
elif is_service_enabled qpid || [ -n "$QPID_HOST" ]; then
|
||||
iniset $file $section rpc_backend ${package}.openstack.common.rpc.impl_qpid
|
||||
iniset $file $section qpid_hostname $QPID_HOST
|
||||
if is_ubuntu; then
|
||||
QPID_PASSWORD=`sudo strings /etc/qpid/qpidd.sasldb | grep -B1 admin | head -1`
|
||||
iniset $file $section qpid_password $QPID_PASSWORD
|
||||
|
Loading…
Reference in New Issue
Block a user