This template:
"
heat_template_version: 2013-05-23
parameters:
resources:
outputs:
"
causes this error on the client:
ERROR: 'NoneType' object has no attribute 'items' (HTTP 400)
and this exception in the engine:
['Traceback (most recent call last):\n', ' File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 134, in _dispatch_and_reply\n incoming.message))\n', ' File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 177, in _dispatch\n return self._do_dispatch(endpoint, method, ctxt, args)\n', ' File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 123, in _do_dispatch\n result = getattr(endpoint, method)(ctxt, **new_args)\n', ' File "/opt/stack/heat/heat/engine/service.py", line 63, in wrapped\n return func(self, ctx, *args, **kwargs)\n', ' File "/opt/stack/heat/heat/engine/service.py", line 568, in create_stack\n stack.validate()\n', ' File "/opt/stack/heat/heat/engine/parser.py", line 409, in validate\n dup_names = set(self.parameters.keys()) & set(self.keys())\n', ' File "/usr/lib/python2.7/_abcoll.py", line 366, in keys\n return list(self)\n', ' File "/opt/stack/heat/heat/engine/parser.py", line 309, in __iter__\n return iter(self.resources)\n', ' File "/opt/stack/heat/heat/engine/parser.py", line 142, in resources\n self.t.resource_definitions(self).items())\n', ' File "/opt/stack/heat/heat/engine/hot/template.py", line 217, in resource_definitions\n resources = self.t.get(self.RESOURCES, {}).items()\n', "AttributeError: 'NoneType' object has no attribute 'items'\n"]
Fix proposed to branch: master /review. openstack. org/105894
Review: https:/