From 206fb652b87478f06de3028f312aa0410bd1ce7e Mon Sep 17 00:00:00 2001 From: Steven Hardy Date: Tue, 2 Jul 2013 14:17:30 +0100 Subject: [PATCH] engine : perform periodic tasks with stored stack_context The metadata update needs to be performed with the stored stack_context, not the admin_context, which contains no credentials to e.g authenticate with nova Fixes bug #1196618 Change-Id: I0451604535a731de5ad57d2d52cdf183e58cf7b0 --- heat/engine/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heat/engine/service.py b/heat/engine/service.py index b8524e4d..5abb939f 100644 --- a/heat/engine/service.py +++ b/heat/engine/service.py @@ -566,7 +566,7 @@ class EngineService(service.Service): for action in actions: action() - stk = parser.Stack.load(admin_context, stack=stack) + stk = parser.Stack.load(stack_context, stack=stack) for res in stk: res.metadata_update() -- 2.45.2