From 1e5a1cbf801cad83c9014e822393fb9daec5a988 Mon Sep 17 00:00:00 2001 From: Felipe Monteiro Date: Thu, 13 Oct 2016 14:18:43 -0400 Subject: [PATCH] Fix TypeError being throw by wait_ready in Engine System Agent. Currently, wait_ready wrongly does call(template, False, timeout) but the second param is expected to be a ResourceManager, leading to the TypeError. This fix replaces the wrong function call with call_raw(template, timeout). Change-Id: I57e92eae95efc3e68b51ea751d08dd87946f85cb Closes-Bug: #1633176 --- murano/engine/system/agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/murano/engine/system/agent.py b/murano/engine/system/agent.py index 994c77e9e..54f080dd9 100644 --- a/murano/engine/system/agent.py +++ b/murano/engine/system/agent.py @@ -155,7 +155,7 @@ class Agent(object): def wait_ready(self, timeout=100): self._check_enabled() template = {'Body': 'return', 'FormatVersion': '2.0.0', 'Scripts': {}} - self.call(template, False, timeout) + self.call_raw(template, timeout) def _process_v1_result(self, result): if result['IsException']: