Workflow Service for OpenStack.
Go to file
Nikolay Mahotkin bc0838aa15 Fix convert params and result in AdHocAction
* Fixed wrong convertation of action params and result.
   In action parameters we can have an arbitrary dict, so
   this dict can contain lists, or other dicts. To convert
   params we should apply converter dict to base spec params
   and action result accordingly.

Change-Id: I7549931c69637dfdf2bfa6583b8a78f8589b40b4
2014-04-18 14:24:54 +04:00
doc/source Add .gitreview, setup.py and other infrastructure. 2013-11-01 02:57:27 +07:00
etc Refactor the local engine to use an in process executor 2014-03-30 18:05:54 -07:00
mistral Fix convert params and result in AdHocAction 2014-04-18 14:24:54 +04:00
scripts Use oslo.messaging for AMQP communications 2014-03-10 10:27:28 -07:00
tools Add script to allow update dependencies in all envs 2014-03-14 14:41:48 +04:00
.gitignore Added trust for workbook runs 2013-12-24 16:54:56 +04:00
.gitreview Add .gitreview, setup.py and other infrastructure. 2013-11-01 02:57:27 +07:00
.pylintrc Add .gitreview, setup.py and other infrastructure. 2013-11-01 02:57:27 +07:00
AUTHORS Adding license and authors file 2013-12-30 13:11:49 +07:00
LICENSE Adding license and authors file 2013-12-30 13:11:49 +07:00
README.rst Refactor the local engine to use an in process executor 2014-03-30 18:05:54 -07:00
openstack-common.conf Added periodic events 2013-12-05 19:01:22 +04:00
requirements.txt Add SSH Action 2014-04-11 13:41:35 +04:00
setup.cfg Fixed issue with tarballs. 2014-01-24 20:04:46 +04:00
setup.py Fixed issue with tarballs. 2014-01-24 20:04:46 +04:00
test-requirements.txt Adding REST API application skeleton based on pecan/wsme 2013-11-27 19:34:43 +07:00
tox.ini Fixing flak8 excludes in tox.ini 2013-12-30 21:19:01 +07:00

README.rst

Mistral

Task Orchestration and Scheduling service for OpenStack cloud

Running in development mode

### Installation First of all, in a shell run:

tox

This will install necessary virtual environments and run all the project tests. Installing virtual environments may take significant time (~10-15 mins).

### Running Mistral API server To run Mistral API server perform the following command in a shell:

tox -evenv -- python mistral/cmd/launch.py --server api --config-file path_to_config

Note that an example configuration file can be found in etc/mistral.conf.example.

### Running Mistral Task Executors To run Mistral Task Executor instance perform the following command in a shell:

tox -evenv -- python mistral/cmd/launch.py --server executor --config-file path_to_config

Note that at least one Executor instance should be running so that workflow tasks are processed by Mistral.

### Debugging To debug using a local engine and executor without dependencies such as RabbitMQ, create etc/mistral.conf with the following settings:

[DEFAULT]
rpc_backend = fake

[pecan]
auth_enable = False

and run in pdb, PyDev or PyCharm:

mistral/cmd/launch.py --server all --config-file etc/mistral.conf --use-debugger