From 64bd0c2699f550c4fd6acb48ba5b73ab289be315 Mon Sep 17 00:00:00 2001 From: Steve Baker Date: Mon, 24 Jun 2013 15:21:43 +1200 Subject: [PATCH] Store created nova client in OpenStackClients. All created clients are stored in the instance of OpenStackClients which is associated with a stack - this prevents clients from being repeatedly created throughout the request. Commit f3fc5c5 introduced a regression which stopped storing the nova client. This change addresses that regression. Change-Id: I60088b60f623aac11e473d185f2924d4f4bd1cfe --- heat/engine/clients.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/heat/engine/clients.py b/heat/engine/clients.py index 31f418ae..84f1d0f5 100644 --- a/heat/engine/clients.py +++ b/heat/engine/clients.py @@ -98,6 +98,8 @@ class OpenStackClients(object): management_url = self.url_for(service_type=service_type) client.client.auth_token = con.auth_token client.client.management_url = management_url + + self._nova[service_type] = client return client def swift(self): -- 2.45.2