Fix proper oslo.messaging object for zeromq driver
Currently, as almost all the rpc driver of projects have been switched to oslo.messaging, the object should be imported via oslo.messaging rather than its own rpc lib. Change-Id: I9633446e78cb5af21f61a26f6fb365a8ed57a85f Partially-Implements: blueprint zeromq Closes-Bug: #1395721
This commit is contained in:
parent
e92eee3e26
commit
ce1524d084
@ -221,9 +221,9 @@ function iniset_rpc_backend {
|
||||
local file=$2
|
||||
local section=$3
|
||||
if is_service_enabled zeromq; then
|
||||
iniset $file $section rpc_backend ${package}.openstack.common.rpc.impl_zmq
|
||||
iniset $file $section rpc_backend "zmq"
|
||||
iniset $file $section rpc_zmq_matchmaker \
|
||||
${package}.openstack.common.rpc.matchmaker_redis.MatchMakerRedis
|
||||
oslo.messaging._drivers.matchmaker_redis.MatchMakerRedis
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user