Skip to content

Instantly share code, notes, and snippets.

@rasathus
Created October 3, 2016 10:54
Show Gist options
  • Save rasathus/9a9f98732da1f38eff4940a9f7d55e5c to your computer and use it in GitHub Desktop.
Save rasathus/9a9f98732da1f38eff4940a9f7d55e5c to your computer and use it in GitHub Desktop.
StackStorm Basic Mistral Workflow Failure
vagrant@stackstorm:~$ cat /opt/stackstorm/packs/examples/actions/mistral-basic.yaml
version: '2.0'
examples.mistral-basic:
description: A basic workflow that runs an arbitrary linux command.
type: direct
input:
- cmd
output:
stdout: <% $.stdout %>
tasks:
task1:
action: core.local cmd=<% $.cmd %>
publish:
stdout: <% task(task1).result.stdout %>
stderr: <% task(task1).result.stderr %>
vagrant@stackstorm:~$ st2 action create /opt/stackstorm/packs/examples/actions/mistral-basic.yaml
ERROR: 400 Client Error: Bad Request
MESSAGE: Additional properties are not allowed ('examples.mistral-basic', 'version' were unexpected) for url: http://127.0.0.1:9101/v1/actions
vagrant@stackstorm:~$ st2 --version
st2 2.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment