247 Commits

Author SHA1 Message Date
Zuul
ff8b0cae58 Merge "Remove -u root as mysql is executed with root user" 2018-08-28 07:57:26 +00:00
wanghao
ea40339d05 Fix some format errors in installation guide.
There are some format errors in installation guide,
fix them for better docs.

Change-Id: I351d0d3d0c74ae1fa187aacc44fadc3adf04de15
2018-08-22 17:24:05 +08:00
zhang.lei
1ea5cf8299 Remove -u root as mysql is executed with root user
As openstack installation guides suggest to run mysql with root shell
user, mysql will not ask for password, so the "-u root -p" is useless.

Change-Id: I525a3fdb77f1dfc93d87cc5fe619315d36e7004d
Related-Bug: #1785025
2018-08-21 11:47:29 +00:00
Zuul
12081eb94a Merge "Add namespace parameter to Workbook API doc" 2018-08-01 06:45:16 +00:00
Jose Castro Leon
3c430ef0a2 Improve std.email action
Adds support for cc and bcc addresses to send mails as copy to
administrators and also html formatting. If the html body is specified
the mail will be sent as multipart.

Closes-Bug: #1783349

Change-Id: I2b90354c33052c4b7ae3a98a08e7df1055524a25
2018-07-31 08:43:03 +02:00
Zuul
c54c35c82d Merge "Allow engine commands as task name" 2018-07-30 15:39:01 +00:00
hardikj
9e2074d1eb Add namespace parameter to Workbook API doc
Update API documentation to include namespace parameter details.
Update quickstart guide to latest client outputs.
And minor typo fixes.

Change-Id: I0a2324d0386d5543387ea4bff1d2569b50ad22dd
Implements: blueprint mistral-namespace-for-actions-workbooks
2018-07-30 15:28:34 +05:30
Dougal Matthews
e1e6c7a0cf Update the Custom Action documentation to use mistral-lib
We should have updated this some time ago. Importing mistral itself
hasn't been the best way to write actions for a while.

Change-Id: I27df8865f8fef81fcfd1cb3de1a2bde6c6281cf6
2018-07-23 14:14:40 +01:00
Winson Chan
38bfd91a22 Add documentation on event notifier
Add documentation on the notifier architecture and configuration
of the event publishers.

Co-Authored-By: Dougal Matthews <dougal@redhat.com>
Change-Id: I5e7d8ac81225cfe4082a827a52447f95dd4789a0
2018-07-23 13:59:26 +01:00
Andras Kovi
c08e44f17b Allow engine commands as task name
A change for disabling some task names has introduced a massively
backward incompatible behavior. E.g. even though there is a 'noop' engine
command, the usual way of handling noop is in many cases is to create a
task called the same. The other commands are not used that often but
noop is massively present in currently deployed workflows and it is
not possible to mitigate the error if the workflows are coming from
3rd parties.

This change re-enables the usage of the engine commands as task names
and adds documentation on why this is a useful feature.

Change-Id: If90ee5f787e4587a25c156d12c7750407081bf0d
Related-Change: https://review.openstack.org/#/c/535297
2018-07-19 14:23:18 +00:00
Zuul
a5249e3904 Merge "Replace port 35357 with 5000 for "identity_uri"" 2018-07-19 11:41:57 +00:00
Zuul
9b55db4bf0 Merge "Pin get-pip.py to 3.2" 2018-07-15 09:22:51 +00:00
jacky06
f11ddeb6eb Pin get-pip.py to 3.2
As get-pip.py evolves based on pip 10, while we're still using
pip 9, changes in the way it can be used are causing problems.

For example, the ability to use --download is no longer there.

As such, let's pin to a known good version and leave it at that
until we no longer need to use this script. Version 3.2 maps to
pip 7.1.2 which fulfills our needs.

Change-Id: Ic9210c3389776385286f6215e6673d75fa2d01d9
2018-07-09 10:48:13 +00:00
Nguyen Van Trung
69d34b2e85 Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:
https://governance.openstack.org/tc/reference/project-testing-interface.html

For more details information, please refer to:
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: I4dd494a46011aa8547f52b442f9cba4d402fb91a
2018-07-09 14:54:23 +07:00
Guy Shaanan
2bfc9d1ad8 Add CloudFlow info to Mistral documentation
Change-Id: I7990abcbefbae08f69b3c2f7632eff95f0229f89
2018-07-04 09:29:57 +03:00
pengdake
47a293dabc Update install guide about running mistral
1.Add event-engine and notifier for running by shell.
2.Add service manage by systemd

Change-Id: I156f7d4da91ca30f42275961f8238edadd6720ca
Signed-off-by: pengdake <19921207pq@gmail.com>
Co-Authored-By: Vitalii Solodilov <mcdkr@yandex.ru>
2018-06-24 09:35:36 +04:00
Kupai József
ce18c0bf67 A mechanism to close stuck running action executions
If an executor dies while running an action execution, then the
execution will remain in RUNNING state (because the dead executor
can't signal the error).

Implements blueprint: action-execution-reporting

Change-Id: I51b4db6aa321d0e53bbb85a74f8ebaea0376d22e
2018-06-12 14:15:15 +00:00
zhangdebo
8a8c4bba11 Replace Chinese quotes with English quotes
Change-Id: I85890aff285243cec69ee0a3039290e924324d1b
2018-05-23 16:30:41 +08:00
Vu Cong Tuan
3ee4510f27 Replace port 35357 with 5000 for "identity_uri"
Based on the change in Keystone Install Guide [1],
this patch replace port 35357 with 5000 for "identity_uri".

For more details, please check similar changes which have been done
on other projects: Nova [2], Neutron [3], Cinder [4], Glance [5].

[1] https://review.openstack.org/#/c/541857
[2] https://review.openstack.org/#/c/562812
[3] https://review.openstack.org/#/c/566491
[4] https://review.openstack.org/#/c/565464
[5] https://review.openstack.org/#/c/558932

Change-Id: I79185e6dd147bc3baa5faeb32b7824411798a170
2018-05-21 11:17:58 +07:00
Zuul
022cabbe69 Merge "Update mistral upgrade guide" 2018-04-26 11:23:57 +00:00
Zuul
85a24b20a6 Merge "Added 'safe-rerun' policy to task-defaults section" 2018-04-25 15:56:53 +00:00
Vitalii Solodilov
5f89e2e71f Added JavaScript evaluator which doesn't require a compilation
* Added new JavaScript evaluator py_mini_racer. Advantages:
    * is distributed as wheel package
    * supports differences platforms
    * live project
* BUILD_V8EVAL was removed because it was replaced by py_mini_racer in
Mistral Docker image
* Added stevedore integration to javascript evaluators
* Refreshed javascript tests. Add test for py_mini_racer evaluator
* Install py_mini_racer library in during mistral test
* Refreshed javascript action doc

Change-Id: Id9d558b9b8374a2c2639e10cb1868f4e67f96e86
Implements: blueprint mistral-add-py-mini-racer-javascript-evaluator
Signed-off-by: Vitalii Solodilov <mcdkr@yandex.ru>
2018-04-23 17:04:18 +00:00
Vitalii Solodilov
a29c7d9f7f Added 'safe-rerun' policy to task-defaults section
Change-Id: Ib6641bda008a813660af5584c9319fcaddcd416f
Signed-off-by: Vitalii Solodilov <mcdkr@yandex.ru>
2018-04-23 20:46:43 +04:00
pengdake
d2be248bd3 Update mistral upgrade guide
Mistral-db-manage replaces check_migration with branches now.

Change-Id: I36f1e3e6cfe0c0d94667c5f7f4c58297c10833a9
Signed-off-by: pengdake <19921207pq@gmail.com>
2018-04-23 11:01:30 +08:00
Tovin Seven
e7da6af151 Trivial: Update pypi url to new url
Pypi url changed from [1] to [2]

[1] https://pypi.python.org/pypi/<package>
[2] https://pypi.org/project/<package>

Change-Id: Ic260c2534d3b9ae0baca9ac11cb8b7ad4fc37184
2018-04-20 16:57:04 +07:00
hardikj
e43cf4559a Fix DB connection url in config guide
Change MySQL DB default driver to PyMySQL in
config guide to align with Dockerfile.

And some grammar fixes.

Change-Id: Id4379c7c86e2f8b50341dcbd72f34af834f99261
Closes-Bug: 1762720
2018-04-16 12:41:55 +05:30
Brad P. Crochet
7657458e61 Fix join examples and text
The 'join' example for using a number did not have a proper workflow.
It looks like it was copied from the 'all' example and not completely
changed. Also, disambiguate the wording of the description for that
example. It used the word 'once' in a place where it looked as though
it meant 'one time' instead of 'as soon as'.

Change-Id: I9b89768c0f0b7d325db08ea9345965a9263a64c8
Closes-Bug: #1761827
2018-04-06 14:17:39 -04:00
Zuul
fe25d7ce22 Merge "Change unreasonable title" 2018-04-04 02:56:35 +00:00
hardikj
f5c0be6ee9 Fix std.ssh "password" parameter
Fixes the bug where calling std.ssh action without "password" input was resulting in error.
Closes-bug: #1756272

Change-Id: I5f7af13326933658014a9c42c495d779bec7f14f
2018-03-27 15:27:15 +05:30
pengdake
b8d94fe4be Change unreasonable title
Content of "Mistral User Guide" is all of Installation.
So I think "Mistral Installation Guide" is a better title.

Change-Id: I1b20c2f665bee21b2f35f06912beab3e7e3e93ea
Signed-off-by: pengdake <19921207pq@gmail.com>
2018-03-23 11:46:23 +08:00
Brad P. Crochet
f2d8b14ac1 Clarify usage of break-on and continue-on
Usage of break-on and continue-on are not very clear. This hopefully
gives some pointers on their usage.

Change-Id: Ide237a23ab85fac7342a8fc9bf748fd0b78bf41d
2018-03-15 08:29:27 -04:00
Zuul
3426fb4080 Merge "Fixed the length of a task name" 2018-03-13 11:50:26 +00:00
Zuul
d54fd33952 Merge "Update the description about mistral client guide" 2018-03-12 11:59:45 +00:00
Vitalii Solodilov
4a077b6f98 Fixed the length of a task name
* verified the length of task name while creating a workflow
* fixed bug when join task has a long name
* added the length limitation to the spec docs

Change-Id: I233e6b0f30d42b939757e9c1caf4965ecc375aee
Signed-off-by: Vitalii Solodilov <mcdkr@yandex.ru>
2018-03-09 11:02:48 +04:00
Zuul
fa43c556fc Merge "Fix doc format" 2018-03-02 14:28:23 +00:00
pengdake
acbbeac61c Fix doc format
We need make a little changes to let
https://docs.openstack.org/mistral/latest/terminology/index.html
look more suitable.

Change-Id: Iaabb95e7c0c8064ab8cc69e68041fb10f170eea1
2018-02-26 21:54:03 +08:00
Zuul
8fa4b1bf09 Merge "Add the 'error_data' parameter to the FailAction" 2018-02-26 12:07:48 +00:00
Zuul
b20b50d8f9 Merge "Add a step to install tox" 2018-02-25 14:09:33 +00:00
Vitalii Solodilov
d2ffecd003 Add the 'error_data' parameter to the FailAction
This may be useful for a testing purpose if you want to emulate a
action error with data for timeout, retry and the rest of task policies

Change-Id: I679b8338dade284817000670e96ab108481372ae
Signed-off-by: Vitalii Solodilov <mcdkr@yandex.ru>
2018-02-25 08:19:57 +00:00
pengdake
af84269e69 Update the description about mistral client guide
There not any description about install mistral client in
Mistral Client/CLI Guide. So we need update it.

Change-Id: I88621adf3e69d11d25ee20e6300356507001c1ef
2018-02-23 18:03:32 +08:00
Renat Akhmerov
7423a58365 Explain better combinations of task names and engine commands in docs
Closes-Bug: #1682377
Change-Id: I6c53fc6b3debaf27b01a03b5180f3ef56ddf3e8f
2018-02-20 10:31:30 +02:00
Zuul
d5dfa2e242 Merge "Fix error sql about privileges in doc" 2018-02-12 11:03:36 +00:00
Zuul
e6a7ba2af4 Merge "Fix docs to better reflect Jinja and YAQL usage" 2018-02-05 09:37:29 +00:00
pengdake
8e64367012 Add a step to install tox
Before use tox, we need install it.

Change-Id: I3432f3ab4bcba2d67e00e6f8a7c3916959d59c27
2018-02-03 20:28:53 +08:00
pengdake
79d1f87980 Update mysql connection in doc
Change-Id: If7f5eea5f87ada7c6bc4783b04e9a792bb5cd6f3
2018-02-02 02:31:13 +08:00
pengdake
0ca36b2819 Fix error sql about privileges in doc
Change-Id: I4893e1415a6e0820900353270b62e20279d5bf1c
2018-02-02 00:29:00 +08:00
Zuul
93ec9fbbe8 Merge "Modify error spelling word" 2018-01-31 12:24:43 +00:00
Zuul
fb3c6f9d4a Merge "Use the latest policy-json-file reference" 2018-01-31 12:10:43 +00:00
Renat Akhmerov
57e6936d6c Fix docs to better reflect Jinja and YAQL usage
Closes-Bug: #1641174
Change-Id: I6e2a10932c648836a1e0632b4cd0fce3ab78f946
2018-01-31 17:27:09 +07:00
hardikj
cbb7179dbd Fix std.http action doc
Add missing input parameter 'verify'
to std.http action in dsl documentation

Change-Id: I3198012e3e2336b0febcf0b36dff528a49f74a31
2018-01-23 12:20:17 +05:30