Currently it is not possible to provide any reasonable output in case of
a task or workflow failure. Implementing this would greatly simplify error
handling in workflows. This blueprint is a proposal to introduce two new
attributes, publish-on-error for tasks and output-on-error for workflows
for this purpose.
Implements: blueprint mistral-publish-on-error
Change-Id: Ib3a64971effb02390206dc6f993e772a51f8f237
Include description of the multi-vim feature in the documentation.
Change-Id: I02fe54760e4cc2d1c840db725aba39e25eedeef4
Implements: blueprint mistral-multi-vim-support
Depends-on: I64f54e0f7b92698009a0c27d5b1317bbe0be7455
Signed-off-by: Andras Kovi <akovi@nokia.com>
Allows to use Jinja instead of or along with YAQL for expression
evaluation.
* Improved error reporting on API endpoints. Previously, Mistral API
tend to mute important logs related to errors during YAML parsing
or expression evaluation. The messages were shown in the http
response, but would not appear in logs.
* Renamed yaql_utils to evaluation_utils and added few more tests to
ensure evaluation functions can be safely reused between Jinja and
YAQL evaluators.
* Updated action_v2 example to reflect similarities between YAQL and
Jinja syntax.
Change-Id: Ie3cf8b4a6c068948d6dc051b12a02474689cf8a8
Implements: blueprint mistral-jinga-templates
Changed the heading styles in the document according to openstack
standards(https://wiki.openstack.org/wiki/Documentation/Conventions/
DocBook#Headings) and added a link for the devstack installation
in quickstart guide as it is related to the installation.
Change-Id: I2732e1ff7ecf579b0026252d35da55a4d5136d20
Partial-Implements: blueprint mistral-docs
The writing styles at few places were not in compliance with
the OpenStack writing style as mentioned in
http://docs.openstack.org/contributor-guide/writing-style
/general-writing-guidelines.html. This patch changes the heading
styles and adds a few other minor changes in the documents.
Change-Id: I0d90ba32ddcef0427b1dc4358206210f166e798a
Partial-Implements: blueprint mistral-doc
I went through the quickstart documentation, improving and
clarifying the wording in a number of places.
Change-Id: Ia64f44239728bc0f85c78d64c8a327632a233a85
The current documentation states that one is required. However, this is not
enforced in the code and in mistral/workbook/v2/tasks.py if neither are
provided then the `std.noop` action is used instead.
Closes-Bug: #1624012
Change-Id: I5f5a39bad3e671741bc9fd1b142df9aef0b87a36
Fixing v2.rst to refer to new module paths,
and adding the cron trigger param to
POST v2/cron_triggers/ documentation.
Change-Id: Iaef285d39d2f70d69dfccbe8b33dd965c719a8a0
Remove reference to AMQP messaging action as it doesn't exist.
Change-Id: I84801ec5f25857c1537b6e0688e2c28c345da3ca
Signed-off-by: Márton Csuha <marton.csuha@nokia.com>
Added details about turning off pecan authentiacation.
Change-Id: I246367f6b4ab0f3b93f597cd5fb0eb012292a54e
Signed-off-by: Kupai József <jozsef.kupai@nokia.com>
'python setup.py install' will not install requirements.
We have to install it manually.
Please see comment #6 here:
https://bugs.launchpad.net/pbr/+bug/1341341
Change-Id: Ie45e0315f55262b98d6f5ce3a0244691a54192bd
Custom YAQL functions must be added in the 'mistral.yaql_functions'
namespace in the entry points. The entry point name is used as the
function name in YAQL. All of the Mistral YAQL functions have been
changed to a custom functions for the sake of testing.
DocImpact: The developer section in the documention has been updated.
Change-Id: I518c7a4b616089d4b70585ed85fcd81a30c93090
Implements: blueprint mistral-custom-yaql-functions
This change re-writes the section covering the expiration policy to explain it
in more detail and also include the required evaluation_interval setting which
was previously undocumented.
Change-Id: Ib7f4e8ccf4c15cc6e22472b28004d0a9ad34497f
Add an API that gets an ad-hoc action DSL and validates it.
This is done in the same way workflows are validated today.
Change-Id: Ibbb949ef38befae1ef83a2a56cda4c817ceb41d4
Implements: blueprint validate-ad-hoc-action-api
keystone CLI is removed and now we are using openstack CLI
for identity service
Change-Id: Ifbf21deae7add1d17f0d91a4e7f9a94439f37754
Closes-Bug: #1581810
The pbr section in setup.cfg is not defined, so the module docs are not being
generated. This causes the 404 when clicking on the ‘Module Index’ link under
the 'Indices and Tables’ section in [0].
[0] http://docs.openstack.org/developer/mistral/
Change-Id: I337e9f6e78257a3e8e9222779dfcd600ba6cebd8
Closes-bug: #1558574
Also added Note about how to use mistral
docker image for production environment.
Change-Id: Ibfc9d68b5054171e66ff26349f87bb00a2d91c6f
Partially-implements: blueprint mistral-docker-image
Purpose of this document is to explain how
to create docker image locally and how to
use it.
TODO: Update information for pre-built mistral
docker image.
Change-Id: I4e7c2e31d716fb4144484a469e30610a5cdd6f9b
Partially-implements: blueprint mistral-docker-image
Improve the error message in case a non existing task name is passed
to the "task" YAQL function
Change-Id: I93a33365779ba2a5301431c6769697d8b4861fae
Closes-Bug: 1520930
* SSH action uses private key names instead of
private keys themself. All private keys now
should be in <user-home>/.ssh/, e.g. searching
of key 'my_key.pem' will be at <user-home>/.ssh/my_key.pem
* Fixed functional tests
* Remove sudo while running tests
Closes-Bug: #1507600
Depends-On: Idc4340cda80d02f4ee88c91600b72d0f914c4084
Change-Id: I503d78ff541183ce850476229842fa6f20061a00
Added new page "Cookbooks" which will contain links to
existing cookbooks which are published on wiki.
Change-Id: I9114e16e3afad3087c47513a04f6fa26de91ff28
* added explanation how to resolve an unsuccessful login
upon debug/run session using pycharm
Implements blueprint:mistral-docs-dashboard-troubleshooting
Change-Id: I64ed6f6d934b847962d1c8eb690e635c1d77e2ae