From a3dc399965409206aa325769551cf4121d2db0ee Mon Sep 17 00:00:00 2001 From: Attila Fazekas Date: Thu, 11 Jul 2013 11:26:35 +0200 Subject: [PATCH] QPID default host Using SERVICE_HOST as a default QPID_HOST. Change-Id: I65df0ea4be7df37d4d6f22591b175870808a5c84 --- lib/rpc_backend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rpc_backend b/lib/rpc_backend index 462e6cc913..ff87aae2af 100644 --- a/lib/rpc_backend +++ b/lib/rpc_backend @@ -172,7 +172,7 @@ function iniset_rpc_backend() { iniset $file matchmaker_redis host $MATCHMAKER_REDIS_HOST 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 + iniset $file $section qpid_hostname ${QPID_HOST:-$SERVICE_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