2015-05-10 15:53:36 |
Moshe Elisha |
description |
Sending a signal to a resource of type OS::Mistral::Workflow with params results in: ResourceFailure: AttributeError: 'NoneType' object has no attribute 'iteritems'.
The template and log are attached.
Reproduce by executing:
heat stack-create -f mistral-template.yaml Mistral
heat resource-signal Mistral workflow -D '{"params": {"task_name": "create_vm"}}' |
Sending a signal to a resource of type OS::Mistral::Workflow with params results in: ResourceFailure: AttributeError: 'NoneType' object has no attribute 'iteritems'.
This issue occurs when there are no params property defined in the workflow.
If arbitrary params are allowed - this should be fixed.
If params must be defined in the workflow - there should be a validation that the signal param is expected (like there is with inputs).
The template and log are attached.
Reproduce by executing:
heat stack-create -f mistral-template.yaml Mistral
heat resource-signal Mistral workflow -D '{"params": {"task_name": "create_vm"}}' |
|