From ce1524d0843894b099c4abd20a64f92acad50c55 Mon Sep 17 00:00:00 2001 From: Li Ma Date: Sun, 21 Dec 2014 00:46:34 -0800 Subject: [PATCH] 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 --- lib/rpc_backend | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rpc_backend b/lib/rpc_backend index 400204abe1..172d024f90 100644 --- a/lib/rpc_backend +++ b/lib/rpc_backend @@ -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