Without this, calls to validate_template will fail until the first
parser.Stack is created.
resources.initialise() is called in EngineService __init__
to avoid this happening in another service method in the future
Fixes: bug #1181045
Change-Id: I68a74ec7993aff4b74d449a3ae33315b93e9cb0d
from heat.engine import parser
from heat.engine import properties
from heat.engine import resource
+from heat.engine import resources
from heat.engine import watchrule
from heat.openstack.common import log as logging
super(EngineService, self).__init__(host, topic)
# stg == "Stack Thread Groups"
self.stg = {}
+ resources.initialise()
def _start_in_thread(self, stack_id, func, *args, **kwargs):
if stack_id not in self.stg: