Check that user has provided wf_input in wf that needs it is absent in cron-triggers
Bug #1449519 reported by
Anastasia Kuznetsova
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mistral |
Fix Released
|
Medium
|
Nikolay Makhotkin |
Bug Description
Steps to reproduce:
1. Create workflow definition:
version: '2.0'
wf:
type: direct
input:
- var
tasks:
hello:
action: std.echo output="<% $.var %>
wait-before: 1
publish:
result: <% $.hello %>
2. execution "mistral workflow-create <def.yaml>"
3. execute "mistral execution-create wf"
4. Be sure that following error appears:
Invalid input [name=wf, class=WorkflowSpec, missing=[u'var']]
5. execute "mistral cron-trigger-create trigger wf --pattern '* * * * *' "
Observed result:
Cron-trigger was successfully created
Expected result:
The same error like in case of execution creation
Changed in mistral: | |
importance: | Undecided → Medium |
status: | New → Triaged |
milestone: | none → liberty-1 |
Changed in mistral: | |
assignee: | nobody → Nikolay Makhotkin (nmakhotkin) |
Changed in mistral: | |
status: | Fix Committed → Fix Released |
Changed in mistral: | |
milestone: | liberty-1 → liberty |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/185334
Review: https:/