-
-
Save jfryman/446b09e641ec1a1addcc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@st2server:/opt/stackstorm/packs/cicd/actions/workflows# mistral workbook-create test.yaml | |
Starting new HTTP connection (1): localhost | |
+------------+----------------------------+ | |
| Field | Value | | |
+------------+----------------------------+ | |
| Name | test | | |
| Tags | <none> | | |
| Created at | 2014-12-29 18:54:52.956522 | | |
| Updated at | None | | |
+------------+----------------------------+ | |
root@st2server:/opt/stackstorm/packs/cicd/actions/workflows# mistral workflow-list | |
Starting new HTTP connection (1): localhost | |
+---------------------------------+--------+------------------------------+---------------------+------------+ | |
| Name | Tags | Input | Created at | Updated at | | |
+---------------------------------+--------+------------------------------+---------------------+------------+ | |
| cicd.canary.deploy | <none> | project, version, product... | 2014-12-29 17:12:48 | None | | |
| cicd.canary.publish_apt_package | <none> | project, branch, commit, ... | 2014-12-29 17:12:48 | None | | |
| test.run | <none> | None | 2014-12-29 18:54:52 | None | | |
+---------------------------------+--------+------------------------------+---------------------+------------+ | |
root@st2server:/opt/stackstorm/packs/cicd/actions/workflows# mistral execution-create test.run | |
Starting new HTTP connection (1): localhost | |
Remote error: InvalidActionException Failed to find action [action_name=std.echo] | |
[u'Traceback (most recent call last):\n', u' File "/opt/openstack/mistral/.venv/local/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 137, in _dispatch_and_reply\n incoming.message))\n', u' File "/opt/openstack/mistral/.venv/local/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 180, in _dispatch\n return self._do_dispatch(endpoint, method, ctxt, args)\n', u' File "/opt/openstack/mistral/.venv/local/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 126, in _do_dispatch\n result = getattr(endpoint, method)(ctxt, **new_args)\n', u' File "/opt/openstack/mistral/mistral/engine1/rpc.py", line 81, in start_workflow\n **params\n', u' File "/opt/openstack/mistral/mistral/utils/__init__.py", line 94, in _logged\n return func(*args, **kw)\n', u' File "/opt/openstack/mistral/mistral/engine1/default_engine.py", line 74, in start_workflow\n self._run_remote_commands(cmds, exec_db, wf_handler)\n', u' File "/opt/openstack/mistral/mistral/engine1/default_engine.py", line 161, in _run_remote_commands\n if not cmd.run_remote(exec_db, wf_handler, cause_task_db):\n', u' File "/opt/openstack/mistral/mistral/engine1/commands.py", line 143, in run_remote\n self._run_task()\n', u' File "/opt/openstack/mistral/mistral/engine1/commands.py", line 157, in _run_task\n self._run_action()\n', u' File "/opt/openstack/mistral/mistral/engine1/commands.py", line 188, in _run_action\n base_name\n', u' File "/opt/openstack/mistral/mistral/engine1/utils.py", line 76, in resolve_action\n "Failed to find action [action_name=%s]" % action_spec_name\n', u'InvalidActionException: Failed to find action [action_name=std.echo]\n']. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: 'test' | |
version: '2.0' | |
description: Testing std.echo | |
workflows: | |
run: | |
description: main runner for test workflow | |
type: direct | |
tasks: | |
std_echo: | |
action: echo | |
actions: | |
echo: | |
description: test | |
base: std.echo | |
base-input: | |
output: "testing echo" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment