From b3fae6ee1ad4d2b8a18434f2a6d75159ea84b744 Mon Sep 17 00:00:00 2001 From: Mathieu Bultel Date: Wed, 14 Feb 2018 13:54:34 +0100 Subject: [PATCH] Pass the queue_name to messaging_websocket function for update For update and upgrade, we need to pass a different queue name to the websocket in order to read the ansible runtime This review allow to pass another queue than the tripleo default one Change-Id: I7166093cf1a26969425b33f4442f45fa8dc707f0 --- tripleoclient/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tripleoclient/plugin.py b/tripleoclient/plugin.py index 7b70e33c6..55c035a93 100644 --- a/tripleoclient/plugin.py +++ b/tripleoclient/plugin.py @@ -194,9 +194,9 @@ class ClientWrapper(object): self._local_orchestration = client return self._local_orchestration - def messaging_websocket(self): + def messaging_websocket(self, queue_name='tripleo'): """Returns a websocket for the messaging service""" - return WebsocketClient(self._instance) + return WebsocketClient(self._instance, queue_name) @property def object_store(self):