From aa1b1da759dcda76e9eeb519918ab0d5f893f9ad Mon Sep 17 00:00:00 2001 From: David TARDIVEL Date: Fri, 27 Nov 2015 15:52:15 +0100 Subject: [PATCH] AMQP Channel have to be set espacially to 'watcher' Default channel used is named 'openstack'. But Watcher AMQP topics are bound to 'watcher' channel. So, on RCPClient init, we have to set the channel name to 'watcher' for the target. Change-Id: Ifdbb187f1ee60f898ef0340e0c037891350ce815 Closes-Bug: #1520599 --- watcher/decision_engine/rpcapi.py | 1 + 1 file changed, 1 insertion(+) diff --git a/watcher/decision_engine/rpcapi.py b/watcher/decision_engine/rpcapi.py index 5f79c34ab..889aa1959 100644 --- a/watcher/decision_engine/rpcapi.py +++ b/watcher/decision_engine/rpcapi.py @@ -58,6 +58,7 @@ class DecisionEngineAPI(MessagingCore): transport = om.get_transport(CONF, TransportUrlBuilder().url) target = om.Target( + exchange='watcher', topic=CONF.watcher_decision_engine.topic_control, version=MessagingCore.API_VERSION)